ddapm-test-agent 1.33.1__tar.gz → 1.34.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/PKG-INFO +5 -1
  2. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/README.md +4 -0
  3. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/agent.py +9 -2
  4. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/vcr_proxy.py +13 -8
  5. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/PKG-INFO +5 -1
  6. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/SOURCES.txt +2 -0
  7. ddapm_test_agent-1.34.0/releasenotes/notes/remove-agent-state-header-from-info-87f920bf4ce5785c.yaml +4 -0
  8. ddapm_test_agent-1.34.0/releasenotes/notes/vcr-ci-mode-99dbd2940fff8d7a.yaml +4 -0
  9. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/conftest.py +7 -0
  10. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.dockerignore +0 -0
  11. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/docker.yml +0 -0
  12. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/main.yml +0 -0
  13. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/publish_pypi.yml +0 -0
  14. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/releasenote.yml +0 -0
  15. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.gitignore +0 -0
  16. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/Dockerfile +0 -0
  17. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/Dockerfile.windows +0 -0
  18. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/LICENSE.BSD3 +0 -0
  19. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/LICENSE.apache2 +0 -0
  20. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/__init__.py +0 -0
  21. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/apmtelemetry.py +0 -0
  22. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/checks.py +0 -0
  23. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/client.py +0 -0
  24. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/cmd.py +0 -0
  25. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/context.py +0 -0
  26. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/fmt.py +0 -0
  27. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/integration.py +0 -0
  28. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/logs.py +0 -0
  29. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/metrics.py +0 -0
  30. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/remoteconfig.py +0 -0
  31. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace.py +0 -0
  32. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace_checks.py +0 -0
  33. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace_snapshot.py +0 -0
  34. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracerflare.py +0 -0
  35. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracestats.py +0 -0
  36. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracestats_snapshot.py +0 -0
  37. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/dependency_links.txt +0 -0
  38. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/entry_points.txt +0 -0
  39. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/not-zip-safe +0 -0
  40. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/requires.txt +0 -0
  41. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/top_level.txt +0 -0
  42. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/pyproject.toml +0 -0
  43. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/check-releasenotes +0 -0
  44. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/config.yaml +0 -0
  45. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/1.0-e192f5064e917083.yaml +0 -0
  46. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Add-metrics.process_id-to-ignored-attributes-62b264f0ea591326.yaml +0 -0
  47. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Add-values-handling-to-span_event-array_value-to-mirror-agent-ee7483c90c263ff4.yaml +0 -0
  48. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Checks-changed-to-opt-in-8716cac4ecdbb1c2.yaml +0 -0
  49. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/SNAPSHOT_REGEX_PLACEHOLDERS-1d2c5e2711d1953b.yaml +0 -0
  50. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/SNAPSHOT_REGEX_PLACEHOLDERS-compare-c829e7a4df4fa1f4.yaml +0 -0
  51. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Settings-endpoint-928ae5b6e8ddc625.yaml +0 -0
  52. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Telemetry-requests-delay-2586180b286ce393.yaml +0 -0
  53. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Use-default-value-for-null-fields-in-tracestats-55d465f489efb2ba.yaml +0 -0
  54. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/acceptV1TracePayloads-5435cff37cfb6a85.yaml +0 -0
  55. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-datadog-proxy-7e2e608c101a564b.yaml +0 -0
  56. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-distributed-trace-c35a314698a3b966.yaml +0 -0
  57. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-fmt-command-cc31769942a5fec3.yaml +0 -0
  58. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-nix-build-support-29dc8a347e3bd7c1.yaml +0 -0
  59. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-optional-json-parser-10aac54bd1cbe322.yaml +0 -0
  60. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-otel-metrics-support-a2ebeb28cae2f0ba.yaml +0 -0
  61. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-python-3.13-support-ae7b96f4a10f20f4.yaml +0 -0
  62. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-rcm-endpoints-7e1f949e83e21039.yaml +0 -0
  63. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-request-forwarding-middleware-d3f325166b0f8e9e.yaml +0 -0
  64. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-service-naming-checks-2b68ff51d1b5496d.yaml +0 -0
  65. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-session-to-rcm-endpoints-d97e925a04a99a65.yaml +0 -0
  66. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-span-events-306e697168373899.yaml +0 -0
  67. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-support-for-plain-text-responses-00d20bf7b335e75b.yaml +0 -0
  68. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-support-telemetry-requests-10737cd3da802ca6.yaml +0 -0
  69. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-tracer_flare-endpoint-b2c81510920974d7.yaml +0 -0
  70. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/addAgentStateToInfo-f9a179ce88f2ab9e.yaml +0 -0
  71. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/addPeerTagsToInfo-4ccc2539d22c2993.yaml +0 -0
  72. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/allow-attribute-removal-snapshots-314b744b043b97c5.yaml +0 -0
  73. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/args-88f664c83a96075d.yaml +0 -0
  74. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/change-trace-proxy-headers-f9fcbb4efc4fcb95.yaml +0 -0
  75. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/check-http-header-sensitivity-daaa9d9595ae86d6.yaml +0 -0
  76. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/clearing-sessions-now-only-removes-6b0311673d8b37aa.yaml +0 -0
  77. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/client-173dbc6655e42337.yaml +0 -0
  78. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/content_length-e1bab75580aa1dcb.yaml +0 -0
  79. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/disable-error-responses-and-collect-trace-failures-in-memory-4a199bc7be416709.yaml +0 -0
  80. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/docker-arm64-images-a4b6b2cc527327d6.yaml +0 -0
  81. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/evp-proxy-on-info-d65cd077575306ca.yaml +0 -0
  82. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/exception-messages-21ee64461020edd1.yaml +0 -0
  83. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-docker-image-tags-785d40f5bfdb8003.yaml +0 -0
  84. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-fmt-logging-6a323fd8d5d4eb28.yaml +0 -0
  85. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-getting-tested-integrations-multiple-session-tokens-4ee41d545754f87f.yaml +0 -0
  86. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-matching-319744b82d2514c1.yaml +0 -0
  87. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-missing-slim-deps-fa3b0fc0292a09b3.yaml +0 -0
  88. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-partial-chunks-0db14ce3017e6173.yaml +0 -0
  89. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-racecondition-9bd0ef15b7da60fa.yaml +0 -0
  90. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-tracerflare-request-parsing-fae18ff9997c216d.yaml +0 -0
  91. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/genai-vcr-support-b499ec54df84eaa3.yaml +0 -0
  92. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/ignore-dsm-pathway-hash-during-trace-snapshots-f0b99ea267fbad48.yaml +0 -0
  93. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/image-optimization-d614eccb59441217.yaml +0 -0
  94. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-test-agent-debugging-5759413f1fc5f7fa.yaml +0 -0
  95. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-test-agent-proxying-a207f0fc81b3ab2d.yaml +0 -0
  96. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-trace-check-results-endpoints-6ab4132628520793.yaml +0 -0
  97. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/info-34dcd9cbcc382487.yaml +0 -0
  98. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/info-drop-p0s-c207889f590340fb.yaml +0 -0
  99. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/llmobs-eval-metric-endpoint-8b5222491969ab4f.yaml +0 -0
  100. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/llmobs-evp-proxy-1383f4b4962ac7c9.yaml +0 -0
  101. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/meta-struct-2cce08475cb05470.yaml +0 -0
  102. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/more-oai-cass-908eb5ea46bd2985.yaml +0 -0
  103. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/new-process-id-tag-f0ab0daf652e05cc.yaml +0 -0
  104. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/oai-incomplete-cass-795ad19b6a226c1f.yaml +0 -0
  105. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/otlp-logs-grpc-45365879c22969aa.yaml +0 -0
  106. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/otlp-logs-support-d5a150d9f5304d7c.yaml +0 -0
  107. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/pipeline_stats_endpoint-e8ad6da735dc2647.yaml +0 -0
  108. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/profiling-endpoint-0cd209e4e5b6cfc0.yaml +0 -0
  109. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/provider-snapshot-server-f6a307acbf11d214.yaml +0 -0
  110. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/proxy-37c94e2fb428c6fc.yaml +0 -0
  111. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python-3.12-952e06c6158af67d.yaml +0 -0
  112. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python-support-1c447acc4607abc7.yaml +0 -0
  113. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python310-025fbc190363de98.yaml +0 -0
  114. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python310-docker-image-d4e329cfecf6510e.yaml +0 -0
  115. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/rc-encoding-length-fix-cc011edea7f8f5b2.yaml +0 -0
  116. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/rc-get-endpoint-e502f55b7df544e2.yaml +0 -0
  117. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remoteconfig-requests-1af7abb99c61c069.yaml +0 -0
  118. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remove-nix-ec1c4aca7dc002c4.yaml +0 -0
  119. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remove-old-pythons-4667b182aacf0ce6.yaml +0 -0
  120. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/reuse-session-1670aa569907cf68.yaml +0 -0
  121. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/sample-rate-1e06ae4cdc933b14.yaml +0 -0
  122. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/session-requests-b8057811f976220e.yaml +0 -0
  123. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/session-tracerflares-400ce9b3d3838b40.yaml +0 -0
  124. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-cmds-de4a561911afee11.yaml +0 -0
  125. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-empty-maps-2cbe8cea3e7112fa.yaml +0 -0
  126. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-error-messages-de41d9e3207fa30a.yaml +0 -0
  127. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-filename-c068de1bc3e50c04.yaml +0 -0
  128. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-order-type-2d6424e380b2c88f.yaml +0 -0
  129. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-parent-id-7abb860008702e70.yaml +0 -0
  130. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-links-1ec76bd2b47a3880.yaml +0 -0
  131. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-ordering-1a7b383aa015bddc.yaml +0 -0
  132. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-parent-id-a4d7d63fa623361c.yaml +0 -0
  133. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/support-ant-vcr-1eff9a40caa0aba0.yaml +0 -0
  134. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/support-tracking-of-tested-integrations-ac19ccd1f8333c00.yaml +0 -0
  135. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/throttling-590bf58ecb3cc4a5.yaml +0 -0
  136. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/trace-stats-97da3a478dabfa99.yaml +0 -0
  137. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/trace-stats-snapshot-718ca37385c93e1e.yaml +0 -0
  138. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/traces-endpoint-f4f9c1d94d6ceda2.yaml +0 -0
  139. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-fixes-07152c708e73ef96.yaml +0 -0
  140. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-post-65ce788f81862532.yaml +0 -0
  141. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-service-2a0a178cbd21b07d.yaml +0 -0
  142. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-64b11960931d8b77.yaml +0 -0
  143. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-c99ea5d099e67156.yaml +0 -0
  144. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-container-8138f8b1438b1a0a.yaml +0 -0
  145. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-permissions-903266ac6445b873.yaml +0 -0
  146. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/v0.5-traces-cf469b0b71398d97.yaml +0 -0
  147. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/v0.7-traces-7ea3ebbed7502d01.yaml +0 -0
  148. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-aws-bedrock-proxy-3bf018b1712d5105.yaml +0 -0
  149. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassette-name-middleware-fix-9e47c395892a9fe7.yaml +0 -0
  150. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassettes-for-openai-v5-6e9d78091de1f0c2.yaml +0 -0
  151. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassettes-for-vercel-ai-7a8275f9c2b48bc7.yaml +0 -0
  152. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-prefix-instead-of-suffix-4c56dcb5038d222e.yaml +0 -0
  153. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-aws-recalculation-fix-2184c10270a7bca5.yaml +0 -0
  154. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-use-test-name-bugfix-be758294ba30ac78.yaml +0 -0
  155. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-use-test-name-e47891994c961c52.yaml +0 -0
  156. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-support-querystring-b06555fb9a7c90ae.yaml +0 -0
  157. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/version-0c32d2752f154eb9.yaml +0 -0
  158. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/wheels-68a7dc2f4b00e0c4.yaml +0 -0
  159. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/windows-docker-image-1f5d5e894558bb4b.yaml +0 -0
  160. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/riotfile.py +0 -0
  161. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/setup.cfg +0 -0
  162. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/setup.py +0 -0
  163. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/test_deps.txt +0 -0
  164. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/__init__.py +0 -0
  165. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_multi_trace.json +0 -0
  166. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_single_trace.json +0 -0
  167. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_distributed_propagated.json +0 -0
  168. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_distributed_same_payload.json +0 -0
  169. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_missing_received.json +0 -0
  170. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_stats_tracestats.json +0 -0
  171. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_agent.py +0 -0
  172. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_apmtelemetry.py +0 -0
  173. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_checks.py +0 -0
  174. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_client.py +0 -0
  175. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_container.py +0 -0
  176. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_logs.py +0 -0
  177. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_metrics.py +0 -0
  178. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_remoteconfig.py +0 -0
  179. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_session.py +0 -0
  180. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_snapshot.py +0 -0
  181. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_snapshot_integration.py +0 -0
  182. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_trace.py +0 -0
  183. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_tracerflare.py +0 -0
  184. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_tracestats.py +0 -0
  185. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/trace_utils.py +0 -0
  186. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_26d618ee.yaml +0 -0
  187. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_595f439c.yaml +0 -0
  188. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_717ba0b4.yaml +0 -0
  189. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_a1af2c12.yaml +0 -0
  190. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/deepseek/deepseek_chat_completions_post_afb6ccab.yaml +0 -0
  191. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_transcriptions_post_173af3e5.yaml +0 -0
  192. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_transcriptions_post_71305a25.yaml +0 -0
  193. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_translations_post_d5b5b8d6.yaml +0 -0
  194. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_translations_post_dd92a18a.yaml +0 -0
  195. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_0f1514e1.yaml +0 -0
  196. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_172294b4.yaml +0 -0
  197. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_193ae44a.yaml +0 -0
  198. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_23558eed.yaml +0 -0
  199. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_2edb59ae.yaml +0 -0
  200. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_3517e44e.yaml +0 -0
  201. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_36bdc0cb.yaml +0 -0
  202. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_3c045664.yaml +0 -0
  203. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_432a8e46.yaml +0 -0
  204. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_4749eff9.yaml +0 -0
  205. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_4dce8db6.yaml +0 -0
  206. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_57612363.yaml +0 -0
  207. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_649d8162.yaml +0 -0
  208. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_655a8ef2.yaml +0 -0
  209. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_66dfc80e.yaml +0 -0
  210. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_67e8e833.yaml +0 -0
  211. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_6df851cc.yaml +0 -0
  212. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_7c2d1ac5.yaml +0 -0
  213. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_82a4bb3c.yaml +0 -0
  214. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_9122b1ae.yaml +0 -0
  215. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_917478d0.yaml +0 -0
  216. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_a73ecd7a.yaml +0 -0
  217. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_a925b737.yaml +0 -0
  218. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ae4728c2.yaml +0 -0
  219. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_b29f1a87.yaml +0 -0
  220. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ce69ed91.yaml +0 -0
  221. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d8fb132a.yaml +0 -0
  222. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d94d5844.yaml +0 -0
  223. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d98ce00d.yaml +0 -0
  224. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ebff79da.yaml +0 -0
  225. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_33681ea4.yaml +0 -0
  226. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_5d2418d4.yaml +0 -0
  227. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_619dee1c.yaml +0 -0
  228. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_6224acff.yaml +0 -0
  229. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_87f617af.yaml +0 -0
  230. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_98c30019.yaml +0 -0
  231. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_9bb49464.yaml +0 -0
  232. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_b24dbf7d.yaml +0 -0
  233. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_0381abe4.yaml +0 -0
  234. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_48694087.yaml +0 -0
  235. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_541bd4d0.yaml +0 -0
  236. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_file-RpTpuvRVtnKpdKZb7DDGto_content_get_60bd10ef.yaml +0 -0
  237. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_file-RpTpuvRVtnKpdKZb7DDGto_delete_3ee48409.yaml +0 -0
  238. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_file-RpTpuvRVtnKpdKZb7DDGto_get_1afefb93.yaml +0 -0
  239. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_get_68efa25d.yaml +0 -0
  240. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_post_2fcf9545.yaml +0 -0
  241. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_post_957d63ba.yaml +0 -0
  242. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_ftjob-q9CUUUsHJemGUVQ1Ecc01zcf_cancel_post_d7c16b38.yaml +0 -0
  243. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_ftjob-q9CUUUsHJemGUVQ1Ecc01zcf_events_get_557d820e.yaml +0 -0
  244. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_ftjob-q9CUUUsHJemGUVQ1Ecc01zcf_get_265489e7.yaml +0 -0
  245. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_get_ebc57c6f.yaml +0 -0
  246. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_post_c3b6e4a9.yaml +0 -0
  247. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_075386c4.yaml +0 -0
  248. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_57b4f4da.yaml +0 -0
  249. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_660e9dd7.yaml +0 -0
  250. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_993e0192.yaml +0 -0
  251. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_a2f1eb43.yaml +0 -0
  252. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_ae72c45f.yaml +0 -0
  253. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_cf5af376.yaml +0 -0
  254. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_dbefb624.yaml +0 -0
  255. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_generations_post_48272841.yaml +0 -0
  256. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_generations_post_736070ea.yaml +0 -0
  257. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_variations_post_5971e285.yaml +0 -0
  258. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_variations_post_f2f62f6c.yaml +0 -0
  259. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_models_ft_gpt-4.1-mini-2025-04-14_datadog-staging__BkaILRSh_delete_c70f2992.yaml +0 -0
  260. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_models_get_e04cf04b.yaml +0 -0
  261. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_models_gpt-4_get_b13c5b23.yaml +0 -0
  262. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_moderations_post_532b3315.yaml +0 -0
  263. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_33fb1f66.yaml +0 -0
  264. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_5ca556ec.yaml +0 -0
  265. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_c05c936e.yaml +0 -0
  266. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_c61e3067.yaml +0 -0
  267. {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_ee2423e6.yaml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddapm-test-agent
3
- Version: 1.33.1
3
+ Version: 1.34.0
4
4
  Summary: Test agent for Datadog APM client libraries
5
5
  Home-page: https://github.com/Datadog/dd-apm-test-agent
6
6
  Author: Kyle Verhoog
@@ -240,6 +240,10 @@ And pass in a valid API key (if needed) in the way that provider expects.
240
240
 
241
241
  To redact api keys, modify the `filter_headers` list in the `get_vcr` function in `ddapm_test_agent/vcr_proxy.py`. This can be confirmed by viewing cassettes in the `vcr-cassettes` directory (or the otherwise specified directory), and verifying that any new cassettes do not contain the api key.
242
242
 
243
+ #### Running in CI
244
+
245
+ To have the vcr proxy throw a 404 error if a cassette is not found in CI mode to ensure that all cassettes are generated locally and committed, set the `VCR_CI_MODE` environment variable or the `--vcr-ci-mode` flag in the cli tool to `true` (this value defaults to `false`).
246
+
243
247
  ## Configuration
244
248
 
245
249
  The test agent can be configured via command-line options or via environment variables.
@@ -196,6 +196,10 @@ And pass in a valid API key (if needed) in the way that provider expects.
196
196
 
197
197
  To redact api keys, modify the `filter_headers` list in the `get_vcr` function in `ddapm_test_agent/vcr_proxy.py`. This can be confirmed by viewing cassettes in the `vcr-cassettes` directory (or the otherwise specified directory), and verifying that any new cassettes do not contain the api key.
198
198
 
199
+ #### Running in CI
200
+
201
+ To have the vcr proxy throw a 404 error if a cassette is not found in CI mode to ensure that all cassettes are generated locally and committed, set the `VCR_CI_MODE` environment variable or the `--vcr-ci-mode` flag in the cli tool to `true` (this value defaults to `false`).
202
+
199
203
  ## Configuration
200
204
 
201
205
  The test agent can be configured via command-line options or via environment variables.
@@ -831,7 +831,6 @@ class Agent:
831
831
  "peer_tags": ["db.name", "mongodb.db", "messaging.system"],
832
832
  "span_events": True, # Advertise support for the top-level Span field for Span Events
833
833
  },
834
- headers={"Datadog-Agent-State": "03e868b3ecdd62a91423cc4c3917d0d151fb9fa486736911ab7f5a0750c63824"},
835
834
  )
836
835
 
837
836
  async def _handle_traces(self, request: Request, version: Literal["v0.4", "v0.5", "v0.7", "v1"]) -> web.Response:
@@ -1356,6 +1355,7 @@ def make_app(
1356
1355
  snapshot_removed_attrs: List[str],
1357
1356
  snapshot_regex_placeholders: Dict[str, str],
1358
1357
  vcr_cassettes_directory: str,
1358
+ vcr_ci_mode: bool,
1359
1359
  ) -> web.Application:
1360
1360
  agent = Agent()
1361
1361
  app = web.Application(
@@ -1417,7 +1417,7 @@ def make_app(
1417
1417
  web.route(
1418
1418
  "*",
1419
1419
  "/vcr/{path:.*}",
1420
- lambda request: proxy_request(request, vcr_cassettes_directory),
1420
+ lambda request: proxy_request(request, vcr_cassettes_directory, vcr_ci_mode),
1421
1421
  ),
1422
1422
  ]
1423
1423
  )
@@ -1582,6 +1582,12 @@ def main(args: Optional[List[str]] = None) -> None:
1582
1582
  default=os.environ.get("VCR_CASSETTES_DIRECTORY", os.path.join(os.getcwd(), "vcr-cassettes")),
1583
1583
  help="Directory to read and store third party API cassettes.",
1584
1584
  )
1585
+ parser.add_argument(
1586
+ "--vcr-ci-mode",
1587
+ type=bool,
1588
+ default=os.environ.get("VCR_CI_MODE", False),
1589
+ help="Will change the test agent to record VCR cassettes in CI mode, throwing an error if a cassette is not found on /vcr/{provider}",
1590
+ )
1585
1591
  parsed_args = parser.parse_args(args=args)
1586
1592
  logging.basicConfig(level=parsed_args.log_level)
1587
1593
 
@@ -1625,6 +1631,7 @@ def main(args: Optional[List[str]] = None) -> None:
1625
1631
  snapshot_removed_attrs=parsed_args.snapshot_removed_attrs,
1626
1632
  snapshot_regex_placeholders=parsed_args.snapshot_regex_placeholders,
1627
1633
  vcr_cassettes_directory=parsed_args.vcr_cassettes_directory,
1634
+ vcr_ci_mode=parsed_args.vcr_ci_mode,
1628
1635
  )
1629
1636
 
1630
1637
  # Validate port configuration
@@ -146,7 +146,7 @@ def generate_cassette_name(path: str, method: str, body: bytes, vcr_cassette_pre
146
146
  )
147
147
 
148
148
 
149
- async def proxy_request(request: Request, vcr_cassettes_directory: str) -> Response:
149
+ async def proxy_request(request: Request, vcr_cassettes_directory: str, vcr_ci_mode: bool) -> Response:
150
150
  path = request.match_info["path"]
151
151
  if request.query_string:
152
152
  path = path + "?" + request.query_string
@@ -159,15 +159,22 @@ async def proxy_request(request: Request, vcr_cassettes_directory: str) -> Respo
159
159
  if provider not in PROVIDER_BASE_URLS:
160
160
  return Response(body=f"Unsupported provider: {provider}", status=400)
161
161
 
162
- target_url = url_path_join(PROVIDER_BASE_URLS[provider], remaining_path)
163
-
164
- headers = {key: value for key, value in request.headers.items() if key != "Host"}
165
-
166
162
  body_bytes = await request.read()
167
163
 
168
164
  vcr_cassette_prefix = request.pop("vcr_cassette_prefix", None)
169
165
  cassette_name = generate_cassette_name(path, request.method, body_bytes, vcr_cassette_prefix)
170
166
  cassette_file_name = f"{cassette_name}.yaml"
167
+ cassette_file_path = os.path.join(vcr_cassettes_directory, provider, cassette_file_name)
168
+ cassette_exists = os.path.exists(cassette_file_path)
169
+
170
+ if vcr_ci_mode and not cassette_exists:
171
+ return Response(
172
+ body=f"Cassette {cassette_file_name} not found while running in CI mode. Please generate the cassette locally and commit it.",
173
+ status=500,
174
+ )
175
+
176
+ target_url = url_path_join(PROVIDER_BASE_URLS[provider], remaining_path)
177
+ headers = {key: value for key, value in request.headers.items() if key != "Host"}
171
178
 
172
179
  request_kwargs: Dict[str, Any] = {
173
180
  "method": request.method,
@@ -179,9 +186,7 @@ async def proxy_request(request: Request, vcr_cassettes_directory: str) -> Respo
179
186
  "stream": True,
180
187
  }
181
188
 
182
- if provider in AWS_SERVICES and not os.path.exists(
183
- os.path.join(vcr_cassettes_directory, provider, cassette_file_name)
184
- ):
189
+ if provider in AWS_SERVICES and not cassette_exists:
185
190
  if not AWS_SECRET_ACCESS_KEY:
186
191
  return Response(
187
192
  body="AWS_SECRET_ACCESS_KEY environment variable not set for aws signature recalculation",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddapm-test-agent
3
- Version: 1.33.1
3
+ Version: 1.34.0
4
4
  Summary: Test agent for Datadog APM client libraries
5
5
  Home-page: https://github.com/Datadog/dd-apm-test-agent
6
6
  Author: Kyle Verhoog
@@ -240,6 +240,10 @@ And pass in a valid API key (if needed) in the way that provider expects.
240
240
 
241
241
  To redact api keys, modify the `filter_headers` list in the `get_vcr` function in `ddapm_test_agent/vcr_proxy.py`. This can be confirmed by viewing cassettes in the `vcr-cassettes` directory (or the otherwise specified directory), and verifying that any new cassettes do not contain the api key.
242
242
 
243
+ #### Running in CI
244
+
245
+ To have the vcr proxy throw a 404 error if a cassette is not found in CI mode to ensure that all cassettes are generated locally and committed, set the `VCR_CI_MODE` environment variable or the `--vcr-ci-mode` flag in the cli tool to `true` (this value defaults to `false`).
246
+
243
247
  ## Configuration
244
248
 
245
249
  The test agent can be configured via command-line options or via environment variables.
@@ -115,6 +115,7 @@ releasenotes/notes/python310-docker-image-d4e329cfecf6510e.yaml
115
115
  releasenotes/notes/rc-encoding-length-fix-cc011edea7f8f5b2.yaml
116
116
  releasenotes/notes/rc-get-endpoint-e502f55b7df544e2.yaml
117
117
  releasenotes/notes/remoteconfig-requests-1af7abb99c61c069.yaml
118
+ releasenotes/notes/remove-agent-state-header-from-info-87f920bf4ce5785c.yaml
118
119
  releasenotes/notes/remove-nix-ec1c4aca7dc002c4.yaml
119
120
  releasenotes/notes/remove-old-pythons-4667b182aacf0ce6.yaml
120
121
  releasenotes/notes/reuse-session-1670aa569907cf68.yaml
@@ -149,6 +150,7 @@ releasenotes/notes/vcr-aws-bedrock-proxy-3bf018b1712d5105.yaml
149
150
  releasenotes/notes/vcr-cassette-name-middleware-fix-9e47c395892a9fe7.yaml
150
151
  releasenotes/notes/vcr-cassettes-for-openai-v5-6e9d78091de1f0c2.yaml
151
152
  releasenotes/notes/vcr-cassettes-for-vercel-ai-7a8275f9c2b48bc7.yaml
153
+ releasenotes/notes/vcr-ci-mode-99dbd2940fff8d7a.yaml
152
154
  releasenotes/notes/vcr-prefix-instead-of-suffix-4c56dcb5038d222e.yaml
153
155
  releasenotes/notes/vcr-proxy-aws-recalculation-fix-2184c10270a7bca5.yaml
154
156
  releasenotes/notes/vcr-proxy-use-test-name-bugfix-be758294ba30ac78.yaml
@@ -0,0 +1,4 @@
1
+ ---
2
+ fixes:
3
+ - |
4
+ Remove `Datadog-Agent-State` header from `/info` endpoint response to match actual Datadog agent behavior.
@@ -0,0 +1,4 @@
1
+ ---
2
+ features:
3
+ - |
4
+ vcr: adds a new ``--vcr-ci-mode`` flag and accompanying ``VCR_CI_MODE`` environment variable that, when set to ``true`` (defaults to ``false``), will throw a 404 error if a cassette is not found in CI mode to ensure that all cassettes are generated locally and committed.
@@ -110,6 +110,11 @@ def snapshot_server_cassettes_directory() -> Generator[str, None, None]:
110
110
  yield "/snapshot-server-cassettes"
111
111
 
112
112
 
113
+ @pytest.fixture
114
+ def vcr_ci_mode() -> Generator[bool, None, None]:
115
+ yield False
116
+
117
+
113
118
  @pytest.fixture
114
119
  async def agent_app(
115
120
  aiohttp_server,
@@ -126,6 +131,7 @@ async def agent_app(
126
131
  snapshot_removed_attrs,
127
132
  snapshot_regex_placeholders,
128
133
  snapshot_server_cassettes_directory,
134
+ vcr_ci_mode,
129
135
  ):
130
136
  app = await aiohttp_server(
131
137
  make_app(
@@ -142,6 +148,7 @@ async def agent_app(
142
148
  snapshot_removed_attrs,
143
149
  snapshot_regex_placeholders,
144
150
  snapshot_server_cassettes_directory,
151
+ vcr_ci_mode,
145
152
  )
146
153
  )
147
154
  yield app