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.
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/PKG-INFO +5 -1
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/README.md +4 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/agent.py +9 -2
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/vcr_proxy.py +13 -8
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/PKG-INFO +5 -1
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/SOURCES.txt +2 -0
- ddapm_test_agent-1.34.0/releasenotes/notes/remove-agent-state-header-from-info-87f920bf4ce5785c.yaml +4 -0
- ddapm_test_agent-1.34.0/releasenotes/notes/vcr-ci-mode-99dbd2940fff8d7a.yaml +4 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/conftest.py +7 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.dockerignore +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/docker.yml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/main.yml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/publish_pypi.yml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.github/workflows/releasenote.yml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/.gitignore +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/Dockerfile +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/Dockerfile.windows +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/LICENSE.BSD3 +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/LICENSE.apache2 +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/__init__.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/apmtelemetry.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/checks.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/client.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/cmd.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/context.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/fmt.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/integration.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/logs.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/metrics.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/remoteconfig.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace_checks.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/trace_snapshot.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracerflare.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracestats.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent/tracestats_snapshot.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/dependency_links.txt +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/entry_points.txt +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/not-zip-safe +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/requires.txt +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/top_level.txt +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/pyproject.toml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/check-releasenotes +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/config.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/1.0-e192f5064e917083.yaml +0 -0
- {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
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Checks-changed-to-opt-in-8716cac4ecdbb1c2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/SNAPSHOT_REGEX_PLACEHOLDERS-1d2c5e2711d1953b.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/SNAPSHOT_REGEX_PLACEHOLDERS-compare-c829e7a4df4fa1f4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Settings-endpoint-928ae5b6e8ddc625.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/Telemetry-requests-delay-2586180b286ce393.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/acceptV1TracePayloads-5435cff37cfb6a85.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-datadog-proxy-7e2e608c101a564b.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-distributed-trace-c35a314698a3b966.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-fmt-command-cc31769942a5fec3.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-nix-build-support-29dc8a347e3bd7c1.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-optional-json-parser-10aac54bd1cbe322.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-otel-metrics-support-a2ebeb28cae2f0ba.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-python-3.13-support-ae7b96f4a10f20f4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-rcm-endpoints-7e1f949e83e21039.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-request-forwarding-middleware-d3f325166b0f8e9e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-service-naming-checks-2b68ff51d1b5496d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-session-to-rcm-endpoints-d97e925a04a99a65.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-span-events-306e697168373899.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-support-for-plain-text-responses-00d20bf7b335e75b.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-support-telemetry-requests-10737cd3da802ca6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/add-tracer_flare-endpoint-b2c81510920974d7.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/addAgentStateToInfo-f9a179ce88f2ab9e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/addPeerTagsToInfo-4ccc2539d22c2993.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/allow-attribute-removal-snapshots-314b744b043b97c5.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/args-88f664c83a96075d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/change-trace-proxy-headers-f9fcbb4efc4fcb95.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/check-http-header-sensitivity-daaa9d9595ae86d6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/clearing-sessions-now-only-removes-6b0311673d8b37aa.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/client-173dbc6655e42337.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/content_length-e1bab75580aa1dcb.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/docker-arm64-images-a4b6b2cc527327d6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/evp-proxy-on-info-d65cd077575306ca.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/exception-messages-21ee64461020edd1.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-docker-image-tags-785d40f5bfdb8003.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-fmt-logging-6a323fd8d5d4eb28.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-matching-319744b82d2514c1.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-missing-slim-deps-fa3b0fc0292a09b3.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-partial-chunks-0db14ce3017e6173.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-racecondition-9bd0ef15b7da60fa.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/fix-tracerflare-request-parsing-fae18ff9997c216d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/genai-vcr-support-b499ec54df84eaa3.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/image-optimization-d614eccb59441217.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-test-agent-debugging-5759413f1fc5f7fa.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-test-agent-proxying-a207f0fc81b3ab2d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/improve-trace-check-results-endpoints-6ab4132628520793.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/info-34dcd9cbcc382487.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/info-drop-p0s-c207889f590340fb.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/llmobs-eval-metric-endpoint-8b5222491969ab4f.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/llmobs-evp-proxy-1383f4b4962ac7c9.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/meta-struct-2cce08475cb05470.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/more-oai-cass-908eb5ea46bd2985.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/new-process-id-tag-f0ab0daf652e05cc.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/oai-incomplete-cass-795ad19b6a226c1f.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/otlp-logs-grpc-45365879c22969aa.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/otlp-logs-support-d5a150d9f5304d7c.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/pipeline_stats_endpoint-e8ad6da735dc2647.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/profiling-endpoint-0cd209e4e5b6cfc0.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/provider-snapshot-server-f6a307acbf11d214.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/proxy-37c94e2fb428c6fc.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python-3.12-952e06c6158af67d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python-support-1c447acc4607abc7.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python310-025fbc190363de98.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/python310-docker-image-d4e329cfecf6510e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/rc-encoding-length-fix-cc011edea7f8f5b2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/rc-get-endpoint-e502f55b7df544e2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remoteconfig-requests-1af7abb99c61c069.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remove-nix-ec1c4aca7dc002c4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/remove-old-pythons-4667b182aacf0ce6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/reuse-session-1670aa569907cf68.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/sample-rate-1e06ae4cdc933b14.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/session-requests-b8057811f976220e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/session-tracerflares-400ce9b3d3838b40.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-cmds-de4a561911afee11.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-empty-maps-2cbe8cea3e7112fa.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-error-messages-de41d9e3207fa30a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-filename-c068de1bc3e50c04.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-order-type-2d6424e380b2c88f.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/snapshot-parent-id-7abb860008702e70.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-links-1ec76bd2b47a3880.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-ordering-1a7b383aa015bddc.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/span-parent-id-a4d7d63fa623361c.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/support-ant-vcr-1eff9a40caa0aba0.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/support-tracking-of-tested-integrations-ac19ccd1f8333c00.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/throttling-590bf58ecb3cc4a5.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/trace-stats-97da3a478dabfa99.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/trace-stats-snapshot-718ca37385c93e1e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/traces-endpoint-f4f9c1d94d6ceda2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-fixes-07152c708e73ef96.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-post-65ce788f81862532.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/tracestats-service-2a0a178cbd21b07d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-64b11960931d8b77.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-c99ea5d099e67156.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-container-8138f8b1438b1a0a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-permissions-903266ac6445b873.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/v0.5-traces-cf469b0b71398d97.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/v0.7-traces-7ea3ebbed7502d01.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-aws-bedrock-proxy-3bf018b1712d5105.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassette-name-middleware-fix-9e47c395892a9fe7.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassettes-for-openai-v5-6e9d78091de1f0c2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-cassettes-for-vercel-ai-7a8275f9c2b48bc7.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-prefix-instead-of-suffix-4c56dcb5038d222e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-aws-recalculation-fix-2184c10270a7bca5.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-use-test-name-bugfix-be758294ba30ac78.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-proxy-use-test-name-e47891994c961c52.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/vcr-support-querystring-b06555fb9a7c90ae.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/version-0c32d2752f154eb9.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/wheels-68a7dc2f4b00e0c4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/windows-docker-image-1f5d5e894558bb4b.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/riotfile.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/setup.cfg +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/setup.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/test_deps.txt +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/__init__.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_multi_trace.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_single_trace.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_distributed_propagated.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_distributed_same_payload.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_missing_received.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/integration_snapshots/test_trace_stats_tracestats.json +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_agent.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_apmtelemetry.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_checks.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_client.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_container.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_logs.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_metrics.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_remoteconfig.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_session.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_snapshot.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_snapshot_integration.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_trace.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_tracerflare.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/test_tracestats.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/tests/trace_utils.py +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_26d618ee.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_595f439c.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_717ba0b4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/anthropic/anthropic_v1_messages_post_a1af2c12.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/deepseek/deepseek_chat_completions_post_afb6ccab.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_transcriptions_post_173af3e5.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_transcriptions_post_71305a25.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_translations_post_d5b5b8d6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_audio_translations_post_dd92a18a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_0f1514e1.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_172294b4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_193ae44a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_23558eed.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_2edb59ae.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_3517e44e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_36bdc0cb.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_3c045664.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_432a8e46.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_4749eff9.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_4dce8db6.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_57612363.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_649d8162.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_655a8ef2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_66dfc80e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_67e8e833.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_6df851cc.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_7c2d1ac5.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_82a4bb3c.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_9122b1ae.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_917478d0.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_a73ecd7a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_a925b737.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ae4728c2.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_b29f1a87.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ce69ed91.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d8fb132a.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d94d5844.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_d98ce00d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_chat_completions_post_ebff79da.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_33681ea4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_5d2418d4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_619dee1c.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_6224acff.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_87f617af.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_98c30019.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_9bb49464.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_completions_post_b24dbf7d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_0381abe4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_48694087.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_embeddings_post_541bd4d0.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_file-RpTpuvRVtnKpdKZb7DDGto_delete_3ee48409.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_file-RpTpuvRVtnKpdKZb7DDGto_get_1afefb93.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_get_68efa25d.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_post_2fcf9545.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_files_post_957d63ba.yaml +0 -0
- {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
- {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
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_get_ebc57c6f.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_fine_tuning_jobs_post_c3b6e4a9.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_075386c4.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_57b4f4da.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_660e9dd7.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_993e0192.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_a2f1eb43.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_ae72c45f.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_cf5af376.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_edits_post_dbefb624.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_generations_post_48272841.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_generations_post_736070ea.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_variations_post_5971e285.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_images_variations_post_f2f62f6c.yaml +0 -0
- {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
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_models_get_e04cf04b.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_models_gpt-4_get_b13c5b23.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_moderations_post_532b3315.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_33fb1f66.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_5ca556ec.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_c05c936e.yaml +0 -0
- {ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/vcr-cassettes/openai/openai_responses_post_c61e3067.yaml +0 -0
- {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.
|
|
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
|
|
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.
|
|
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
|
+
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/ddapm_test_agent.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/1.0-e192f5064e917083.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/args-88f664c83a96075d.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/client-173dbc6655e42337.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/info-34dcd9cbcc382487.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/proxy-37c94e2fb428c6fc.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-64b11960931d8b77.yaml
RENAMED
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/uds-c99ea5d099e67156.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/version-0c32d2752f154eb9.yaml
RENAMED
|
File without changes
|
{ddapm_test_agent-1.33.1 → ddapm_test_agent-1.34.0}/releasenotes/notes/wheels-68a7dc2f4b00e0c4.yaml
RENAMED
|
File without changes
|
|
File without changes
|