From 0452d0da03b2b468cbd8ae0696e8f5f1551b847d Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 30 Nov 2026 13:03:30 -0500 Subject: [PATCH 01/13] Restructuring integration tests --- .gitignore | 4 + .gitlab-ci.yml | 3 + CONTRIBUTING.md | 5 + ci/input_files/build.yaml.tpl | 32 ++ scripts/run_integration_pytest.sh | 45 +++ tests/conftest.py | 4 + tests/integration/__init__.py | 0 tests/integration/conftest.py | 92 ++++++ tests/integration/functions/baseline.py | 38 +++ tests/integration/functions/mock_intake.py | 76 +++++ tests/integration/harness/__init__.py | 0 tests/integration/harness/aws.py | 339 +++++++++++++++++++++ tests/integration/harness/intake.py | 104 +++++++ tests/integration/harness/logs.py | 261 ++++++++++++++++ tests/integration/harness/settings.py | 103 +++++++ tests/integration/pytest.ini | 8 + tests/integration/requirements-test.txt | 5 + tests/integration/template.yaml | 181 +++++++++++ tests/integration/test_baseline.py | 259 ++++++++++++++++ tests/integration/test_extension_intake.py | 75 +++++ tests/test_integration_harness.py | 167 ++++++++++ 21 files changed, 1801 insertions(+) create mode 100755 scripts/run_integration_pytest.sh create mode 100644 tests/integration/__init__.py create mode 100644 tests/integration/conftest.py create mode 100644 tests/integration/functions/baseline.py create mode 100644 tests/integration/functions/mock_intake.py create mode 100644 tests/integration/harness/__init__.py create mode 100644 tests/integration/harness/aws.py create mode 100644 tests/integration/harness/intake.py create mode 100644 tests/integration/harness/logs.py create mode 100644 tests/integration/harness/settings.py create mode 100644 tests/integration/pytest.ini create mode 100644 tests/integration/requirements-test.txt create mode 100644 tests/integration/template.yaml create mode 100644 tests/integration/test_baseline.py create mode 100644 tests/integration/test_extension_intake.py create mode 100644 tests/test_integration_harness.py diff --git a/.gitignore b/.gitignore index ff0272ba6..92eec8cda 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,7 @@ node_modules yarn-lock.json .benchmarks + +# Integration test build artifacts +tests/integration/.build/ +tests/integration/.aws-sam/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 417398ec4..419cbc821 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,8 @@ variables: SKIP_E2E_TESTS: "false" + # Opt-in pytest integration suite (integration-test-pytest jobs). + # TODO(APMSVLS-728): set back to "false" before merging. + RUN_PYTEST_INTEGRATION_TESTS: "true" stages: - pre diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d632d1513..6352b91e3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,6 +40,11 @@ We love pull requests. For new features, consider opening an issue to discuss th ```bash UPDATE_SNAPSHOTS=true DD_API_KEY= ./scripts/run_integration_tests.sh ``` +1. The pytest integration suite in `tests/integration` (replacing the snapshot suite) deploys a SAM stack, so it needs the [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html) (`pip install -r tests/integration/requirements-test.txt`): + ```bash + BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh + ``` + The tests that use the Datadog Extension (with a mock intake) use the latest Extension layer; set `DD_EXTENSION_LAYER_VERSION` to pin a version, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`. While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. 1. Push to your fork and [submit a pull request][pr]. [pr]: https://github.com/your-username/datadog-lambda-python/compare/DataDog:main...main diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index b014ba1d7..ab74a4f21 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -134,6 +134,38 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}): - RUNTIME_PARAM={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_tests.sh retry: 2 +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +integration-test-pytest ({{ $runtime.name }}-{{ $runtime.arch }}): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) + dependencies: + - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - pip install -r tests/integration/requirements-test.txt + script: + # Uses the latest Datadog Extension unless DD_EXTENSION_LAYER_VERSION pins one. + - PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}): stage: sign tags: ["arch:amd64"] diff --git a/scripts/run_integration_pytest.sh b/scripts/run_integration_pytest.sh new file mode 100755 index 000000000..47b78b31f --- /dev/null +++ b/scripts/run_integration_pytest.sh @@ -0,0 +1,45 @@ +#!/bin/bash + +# Unless explicitly stated otherwise all files in this repository are licensed +# under the Apache License Version 2.0. +# This product includes software developed at Datadog (https://www.datadoghq.com/). +# Copyright 2026 Datadog, Inc. + +# Runs the pytest integration suite in tests/integration (SAM-deployed stack). +# +# Usage, from the repo root: +# PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY=XXXX \ +# aws-vault exec sso-serverless-sandbox-account-admin -- ./scripts/run_integration_pytest.sh +# +# Optional: +# BUILD_LAYERS=true build the layer first +# DD_EXTENSION_LAYER_VERSION=N pin the Datadog Extension version (default: latest; +# "none" skips the extension / mock intake tests) +# INTEGRATION_STACK_NAME=... reuse a deployed stack (kept afterwards) +# KEEP_STACK=true keep the stack for debugging +# Extra arguments are passed to pytest, e.g. -k sqs + +set -e + +scripts_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +repo_dir=$(dirname "$scripts_dir") + +for var in PYTHON_VERSION ARCH DD_API_KEY; do + if [ -z "${!var}" ]; then + echo "$var must be set" + exit 1 + fi +done + +if [ -n "$BUILD_LAYERS" ]; then + PYTHON_VERSION=$PYTHON_VERSION ARCH=$ARCH "$scripts_dir/build_layers.sh" +fi + +marker_args=() +if [ "$DD_EXTENSION_LAYER_VERSION" = "none" ]; then + echo "DD_EXTENSION_LAYER_VERSION=none, skipping extension tests" + marker_args=(-m "not extension") +fi + +cd "$repo_dir/tests/integration" +python -m pytest "${marker_args[@]}" "$@" diff --git a/tests/conftest.py b/tests/conftest.py index 338698025..caafbb474 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,10 @@ from datadog_lambda.config import config +# tests/integration deploys AWS resources; it runs from its own directory +# (cd tests/integration && pytest), never as part of the unit tests. +collect_ignore = ["integration"] + @pytest.fixture(autouse=True) def reset_config(): diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py new file mode 100644 index 000000000..2238cd000 --- /dev/null +++ b/tests/integration/conftest.py @@ -0,0 +1,92 @@ +"""Session fixtures: deploy the stack once, run the baseline invocations once. + +Environment: + PYTHON_VERSION, ARCH, DD_API_KEY required + DD_EXTENSION_LAYER_VERSION Datadog Extension layer version: a number, "latest" + (default) or "none" (no extension tests) + INTEGRATION_STACK_NAME reuse a deployed stack (it is kept afterwards) + KEEP_STACK=true don't delete the stack at the end + INTEGRATION_REGION default eu-west-1 +""" + +from __future__ import annotations + +import json +import secrets +from pathlib import Path +from typing import Dict, List, Tuple + +import pytest + +from .harness import aws +from .harness import settings as settings_mod + +INPUT_EVENTS_DIR = Path(__file__).parent / "input_events" +# Sorted, so the first invocation of each function (the cold start) is always +# the same event. +EVENT_NAMES: List[str] = sorted(p.stem for p in INPUT_EVENTS_DIR.glob("*.json")) +BASELINE_FUNCTIONS = { + "async-metrics": "AsyncMetricsFunctionName", + "sync-metrics": "SyncMetricsFunctionName", +} + + +def load_event(name: str): + return json.loads((INPUT_EVENTS_DIR / (name + ".json")).read_text()) + + +@pytest.fixture(scope="session") +def run_settings() -> settings_mod.Settings: + return settings_mod.load() + + +@pytest.fixture(scope="session") +def stack(run_settings) -> Dict[str, str]: + """Deploy the stack and return its outputs.""" + s = run_settings + print("Integration test stack: %s" % s.stack_name) + if not s.existing_stack: + try: + aws.deploy(s, mock_intake_api_key=secrets.token_hex(16)) + except Exception: + if not s.keep_stack: + aws.delete(s) + raise + try: + yield aws.stack_outputs(s) + finally: + if not s.keep_stack: + aws.delete(s) + + +@pytest.fixture(scope="session") +def baseline_invocations(run_settings, stack) -> Dict[Tuple[str, str], aws.Invocation]: + """Invoke each baseline function once per input event, in sorted order, + and attach the parsed logs. Keyed by (function key, event name).""" + results: Dict[Tuple[str, str], aws.Invocation] = {} + for key, output in BASELINE_FUNCTIONS.items(): + function_name = stack[output] + if run_settings.existing_stack: + # A reused stack may be warm; the first invocation must be a cold start. + aws.force_cold_start(run_settings.region, function_name) + invocations = [ + aws.invoke(run_settings.region, function_name, load_event(name)) + for name in EVENT_NAMES + ] + logs = aws.wait_for_logs( + run_settings.region, function_name, [i.request_id for i in invocations] + ) + for name, inv in zip(EVENT_NAMES, invocations): + inv.logs = logs[inv.request_id] + results[(key, name)] = inv + return results + + +@pytest.fixture(scope="session") +def extension_function(run_settings, stack) -> str: + if "ExtensionFunctionName" not in stack: + pytest.fail( + "Stack has no extension function (DD_EXTENSION_LAYER_VERSION=none); " + 'deselect these tests with -m "not extension"' + ) + return stack["ExtensionFunctionName"] diff --git a/tests/integration/functions/baseline.py b/tests/integration/functions/baseline.py new file mode 100644 index 000000000..3590cb18c --- /dev/null +++ b/tests/integration/functions/baseline.py @@ -0,0 +1,38 @@ +import requests + +from datadog_lambda.metric import lambda_metric +from datadog_lambda.wrapper import datadog_lambda_wrapper + + +@datadog_lambda_wrapper +def handle(event, context): + # Parse request ID and record IDs out of the event to include in the response + request_id = event.get("requestContext", {}).get("requestId") + event_records = event.get("Records", []) + + record_ids = [] + for record in event_records: + # SQS + if record.get("messageId"): + record_ids.append(record["messageId"]) + # SNS + if record.get("Sns", {}).get("MessageId"): + record_ids.append(record["Sns"]["MessageId"]) + + # Generate custom metrics + lambda_metric("hello.dog", 1, tags=["team:serverless", "role:hello"]) + lambda_metric( + "tests.integration.count", 21, tags=["test:integration", "role:hello"] + ) + + # Make HTTP calls to test ddtrace instrumentation + requests.get("https://datadoghq.com") + + return { + "statusCode": 200, + "body": { + "message": "hello, dog!", + "request_id": request_id, + "event_record_ids": record_ids, + }, + } diff --git a/tests/integration/functions/mock_intake.py b/tests/integration/functions/mock_intake.py new file mode 100644 index 000000000..ad3d90400 --- /dev/null +++ b/tests/integration/functions/mock_intake.py @@ -0,0 +1,76 @@ +"""Mock Datadog intake, served from a Lambda Function URL. + +It accepts every request and writes it to stdout, so the test harness can read +it back from CloudWatch. Nothing needs storage permissions beyond the shared +test role. Bodies are base64 encoded and split into chunks to stay under the +CloudWatch event size limit (256 KB). + +Requests must carry the run's random API key, because the Function URL is public. +""" + +import base64 +import json +import os +import uuid + +MARKER = "MOCK_INTAKE_REQUEST" +CHUNK_SIZE = 150_000 # base64 characters per log line + + +def _header(headers, name): + name = name.lower() + for key, value in (headers or {}).items(): + if key.lower() == name: + return value + return None + + +def handle(event, context): + headers = event.get("headers") or {} + api_key = _header(headers, "dd-api-key") or _header(headers, "x-dd-api-key") + path = event.get("rawPath", "") + + # The extension validates its API key at startup. + if path.rstrip("/").endswith("/api/v1/validate"): + if api_key != os.environ["MOCK_INTAKE_API_KEY"]: + return {"statusCode": 403, "body": json.dumps({"valid": False})} + return {"statusCode": 200, "body": json.dumps({"valid": True})} + + if api_key != os.environ["MOCK_INTAKE_API_KEY"]: + return {"statusCode": 403, "body": "forbidden"} + + body = event.get("body") or "" + if event.get("isBase64Encoded"): + body_b64 = body + else: + body_b64 = base64.b64encode(body.encode("utf-8")).decode("ascii") + + request_id = str(uuid.uuid4()) + chunks = [ + body_b64[i : i + CHUNK_SIZE] for i in range(0, len(body_b64), CHUNK_SIZE) + ] or [""] + recorded_headers = { + k.lower(): v + for k, v in headers.items() + if k.lower() not in ("dd-api-key", "x-dd-api-key", "authorization") + } + for index, chunk in enumerate(chunks): + print( + MARKER + + " " + + json.dumps( + { + "id": request_id, + "method": event.get("requestContext", {}) + .get("http", {}) + .get("method"), + "path": path, + "query": event.get("rawQueryString", ""), + "headers": recorded_headers, + "chunk": index, + "chunks": len(chunks), + "body_b64": chunk, + } + ) + ) + return {"statusCode": 202, "body": "{}"} diff --git a/tests/integration/harness/__init__.py b/tests/integration/harness/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py new file mode 100644 index 000000000..6339c799b --- /dev/null +++ b/tests/integration/harness/aws.py @@ -0,0 +1,339 @@ +"""Deploy the test stack, invoke functions, and read their logs.""" + +from __future__ import annotations + +import json +import os +import shutil +import subprocess +import sys +import time +from dataclasses import dataclass +from typing import Any, Callable, Dict, Iterable, List, Optional + +import boto3 +from botocore.config import Config +from botocore.exceptions import ClientError + +from . import settings as settings_mod +from .intake import IntakeRequest, parse_requests +from .logs import InvocationLogs, split_invocations + +BUILD_DIR = settings_mod.INTEGRATION_DIR / ".build" +_BOTO_CONFIG = Config(retries={"max_attempts": 10, "mode": "adaptive"}) + + +def _client(service: str, region: str): + return boto3.client(service, region_name=region, config=_BOTO_CONFIG) + + +# -------------------------------------------------------------------------- +# Stack lifecycle +# -------------------------------------------------------------------------- + + +def stage_artifacts(s: settings_mod.Settings) -> None: + """Put the layer zip and the requirements layer where template.yaml expects them.""" + if not s.layer_zip.exists(): + raise RuntimeError( + "Layer %s not found. Build it first: PYTHON_VERSION=%s ARCH=%s ./scripts/build_layers.sh" + % (s.layer_zip, s.python_version, s.arch) + ) + if BUILD_DIR.exists(): + shutil.rmtree(BUILD_DIR) + BUILD_DIR.mkdir(parents=True) + shutil.copy(s.layer_zip, BUILD_DIR / "datadog_layer.zip") + + platform = "manylinux2014_" + ("x86_64" if s.arch == "amd64" else "aarch64") + subprocess.run( + [ + sys.executable, + "-m", + "pip", + "install", + "--quiet", + "--no-deps", + "--only-binary=:all:", + "--platform", + platform, + "--implementation", + "cp", + "--python-version", + s.python_version, + "-r", + str(settings_mod.INTEGRATION_DIR / "requirements.txt"), + "-t", + str(BUILD_DIR / "requirements_layer" / "python"), + ], + check=True, + ) + + +def _redact(text: str, secrets: Iterable[str]) -> str: + for secret in secrets: + if secret: + text = text.replace(secret, "****") + return text + + +def _layer_version_exists(lambda_client, arn: str) -> bool: + try: + lambda_client.get_layer_version_by_arn(Arn=arn) + return True + except ClientError as e: + # A missing version of another account's layer can come back as + # AccessDenied instead of NotFound. + if e.response["Error"]["Code"] in ( + "ResourceNotFoundException", + "AccessDeniedException", + ): + return False + raise + + +def resolve_latest_layer_version(region: str, base_arn: str) -> int: + """Find the newest version of a public layer. + + ListLayerVersions is not allowed across accounts, but GetLayerVersion is, + so probe: double until a version is missing, then binary search. Assumes + versions are never deleted (true for Datadog's published layers). + """ + client = _client("lambda", region) + + def exists(n: int) -> bool: + return _layer_version_exists(client, "%s:%d" % (base_arn, n)) + + if not exists(1): + raise RuntimeError("Layer %s has no version 1, or is not readable" % base_arn) + low, high = 1, 2 + while exists(high): + low, high = high, high * 2 + # Invariant: low exists, high does not. + while high - low > 1: + mid = (low + high) // 2 + if exists(mid): + low = mid + else: + high = mid + return low + + +def extension_layer_arn(s: settings_mod.Settings) -> Optional[str]: + if not s.extension_enabled: + return None + version = s.extension_layer_version + if version == "latest": + version = str( + resolve_latest_layer_version(s.region, s.extension_layer_base_arn) + ) + print("Using latest Datadog Extension layer version: %s" % version) + return "%s:%s" % (s.extension_layer_base_arn, version) + + +def deploy(s: settings_mod.Settings, mock_intake_api_key: str) -> None: + stage_artifacts(s) + overrides = { + "RunId": s.run_id, + "Runtime": s.runtime, + "RuntimeKey": s.runtime_key, + "Architecture": s.lambda_arch, + "LambdaRoleArn": settings_mod.LAMBDA_ROLE_ARN, + "DdApiKey": s.dd_api_key, + "MockIntakeApiKey": mock_intake_api_key, + "ExtensionLayerArn": extension_layer_arn(s) or "", + } + cmd = [ + "sam", + "deploy", + "--template-file", + str(settings_mod.INTEGRATION_DIR / "template.yaml"), + "--stack-name", + s.stack_name, + "--region", + s.region, + "--s3-bucket", + settings_mod.DEPLOYMENT_BUCKET, + "--s3-prefix", + s.stack_name, + "--capabilities", + "CAPABILITY_IAM", + "--no-confirm-changeset", + "--no-fail-on-empty-changeset", + "--parameter-overrides", + ] + ["%s=%s" % (k, v) for k, v in overrides.items()] + + # sam prints parameter overrides, so never let its output through unredacted. + env = dict(os.environ, SAM_CLI_TELEMETRY="0") + proc = subprocess.Popen( + cmd, + env=env, + cwd=str(settings_mod.INTEGRATION_DIR), + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, + text=True, + ) + assert proc.stdout is not None + for line in proc.stdout: + sys.stdout.write(_redact(line, [s.dd_api_key, mock_intake_api_key])) + if proc.wait() != 0: + raise RuntimeError("sam deploy failed for stack %s" % s.stack_name) + + +def stack_outputs(s: settings_mod.Settings) -> Dict[str, str]: + cfn = _client("cloudformation", s.region) + stack = cfn.describe_stacks(StackName=s.stack_name)["Stacks"][0] + return {o["OutputKey"]: o["OutputValue"] for o in stack.get("Outputs", [])} + + +def delete(s: settings_mod.Settings) -> None: + cfn = _client("cloudformation", s.region) + print("Deleting stack %s" % s.stack_name) + cfn.delete_stack(StackName=s.stack_name) + cfn.get_waiter("stack_delete_complete").wait( + StackName=s.stack_name, WaiterConfig={"Delay": 10, "MaxAttempts": 90} + ) + # Remove the packaged artifacts sam uploaded for this stack. + s3 = _client("s3", s.region) + paginator = s3.get_paginator("list_objects_v2") + for page in paginator.paginate( + Bucket=settings_mod.DEPLOYMENT_BUCKET, Prefix=s.stack_name + "/" + ): + keys = [{"Key": o["Key"]} for o in page.get("Contents", [])] + if keys: + s3.delete_objects( + Bucket=settings_mod.DEPLOYMENT_BUCKET, Delete={"Objects": keys} + ) + + +# -------------------------------------------------------------------------- +# Invocations and logs +# -------------------------------------------------------------------------- + + +@dataclass +class Invocation: + function_name: str + request_id: str + response: Any + function_error: Optional[str] + logs: Optional[InvocationLogs] = None + + +def invoke(region: str, function_name: str, event: Any) -> Invocation: + resp = _client("lambda", region).invoke( + FunctionName=function_name, + Payload=json.dumps(event).encode("utf-8"), + ) + payload = resp["Payload"].read() + try: + response = json.loads(payload) if payload else None + except ValueError: + response = payload.decode("utf-8", "replace") + return Invocation( + function_name=function_name, + # For Invoke, the API request ID is the invocation's request ID. + request_id=resp["ResponseMetadata"]["RequestId"], + response=response, + function_error=resp.get("FunctionError"), + ) + + +def force_cold_start(region: str, function_name: str) -> None: + """Make the next invocation start a new execution environment, by changing + an environment variable (Lambda recycles environments on config changes).""" + client = _client("lambda", region) + config = client.get_function_configuration(FunctionName=function_name) + variables = dict(config.get("Environment", {}).get("Variables", {})) + variables["INTEGRATION_TEST_SANDBOX_ID"] = "%d" % time.time_ns() + client.update_function_configuration( + FunctionName=function_name, Environment={"Variables": variables} + ) + client.get_waiter("function_updated_v2").wait(FunctionName=function_name) + + +def _read_log_group(logs_client, log_group: str) -> Dict[str, List[str]]: + """Return {log_stream_name: [messages in ingestion order]}.""" + streams: Dict[str, List[str]] = {} + paginator = logs_client.get_paginator("describe_log_streams") + try: + pages = list(paginator.paginate(logGroupName=log_group)) + except logs_client.exceptions.ResourceNotFoundException: + return streams + for page in pages: + for stream in page["logStreams"]: + name = stream["logStreamName"] + messages: List[str] = [] + token = None + while True: + kwargs = { + "logGroupName": log_group, + "logStreamName": name, + "startFromHead": True, + } + if token: + kwargs["nextToken"] = token + resp = logs_client.get_log_events(**kwargs) + messages.extend(e["message"] for e in resp["events"]) + if resp.get("nextForwardToken") in (None, token): + break + token = resp["nextForwardToken"] + streams[name] = messages + return streams + + +def _poll( + fetch: Callable[[], Any], done: Callable[[Any], bool], timeout_s: float, what: str +) -> Any: + deadline = time.monotonic() + timeout_s + delay = 3.0 + while True: + result = fetch() + if done(result): + return result + if time.monotonic() > deadline: + raise TimeoutError("Timed out after %ss waiting for %s" % (timeout_s, what)) + time.sleep(delay) + delay = min(delay * 1.5, 15.0) + + +def wait_for_logs( + region: str, function_name: str, request_ids: List[str], timeout_s: float = 180 +) -> Dict[str, InvocationLogs]: + """Wait until every request ID has a REPORT line in CloudWatch, then parse.""" + logs_client = _client("logs", region) + log_group = "/aws/lambda/" + function_name + + def fetch() -> Dict[str, InvocationLogs]: + parsed: Dict[str, InvocationLogs] = {} + for lines in _read_log_group(logs_client, log_group).values(): + parsed.update(split_invocations(lines)) + return parsed + + def done(parsed: Dict[str, InvocationLogs]) -> bool: + return all(rid in parsed and parsed[rid].complete for rid in request_ids) + + return _poll( + fetch, + done, + timeout_s, + "logs of %d invocations of %s" % (len(request_ids), function_name), + ) + + +def wait_for_intake( + region: str, + mock_intake_function: str, + done: Callable[[List[IntakeRequest]], bool], + timeout_s: float = 180, +) -> List[IntakeRequest]: + """Poll the mock intake's logs until `done(requests)` holds.""" + logs_client = _client("logs", region) + log_group = "/aws/lambda/" + mock_intake_function + + def fetch() -> List[IntakeRequest]: + lines: List[str] = [] + for stream_lines in _read_log_group(logs_client, log_group).values(): + lines.extend(stream_lines) + return parse_requests(lines) + + return _poll(fetch, done, timeout_s, "mock intake requests") diff --git a/tests/integration/harness/intake.py b/tests/integration/harness/intake.py new file mode 100644 index 000000000..fdb8749cb --- /dev/null +++ b/tests/integration/harness/intake.py @@ -0,0 +1,104 @@ +"""Reassemble requests recorded by the mock intake (functions/mock_intake.py). + +Pure Python apart from the optional zstandard dependency, so it is unit tested +offline. Decoding payload formats (protobuf traces, series, sketches) is left +to the tests that need it. +""" + +from __future__ import annotations + +import base64 +import gzip +import json +import zlib +from dataclasses import dataclass +from typing import Dict, List + +MARKER = "MOCK_INTAKE_REQUEST " + + +@dataclass +class IntakeRequest: + id: str + method: str + path: str + query: str + headers: Dict[str, str] + raw_body: bytes + + @property + def normalized_path(self) -> str: + # Function URLs end in "/", so "/api/v0.2/traces" arrives as "//api/...". + return "/" + self.path.lstrip("/") + + @property + def body(self) -> bytes: + """The body with any Content-Encoding removed.""" + return decompress(self.raw_body, self.headers.get("content-encoding", "")) + + def json(self): + return json.loads(self.body) + + +def _zstd_decompress(data: bytes) -> bytes: + try: + from compression import zstd # Python 3.14+ + + return zstd.decompress(data) + except ImportError: + pass + import zstandard + + return zstandard.ZstdDecompressor().decompressobj().decompress(data) + + +def decompress(data: bytes, encoding: str) -> bytes: + encoding = (encoding or "").strip().lower() + if encoding in ("", "identity"): + return data + if encoding == "gzip": + return gzip.decompress(data) + if encoding == "deflate": + try: + return zlib.decompress(data) + except zlib.error: + return zlib.decompress(data, -zlib.MAX_WBITS) + if encoding == "zstd": + return _zstd_decompress(data) + raise ValueError("unsupported Content-Encoding %r" % encoding) + + +def parse_requests(lines: List[str]) -> List[IntakeRequest]: + """Build requests from mock intake log lines. Ignores unrelated lines and + drops requests whose chunks are not all present yet.""" + parts: Dict[str, Dict] = {} + order: List[str] = [] + for line in lines: + index = line.find(MARKER) + if index < 0: + continue + record = json.loads(line[index + len(MARKER) :]) + entry = parts.get(record["id"]) + if entry is None: + entry = parts[record["id"]] = {"record": record, "chunks": {}} + order.append(record["id"]) + entry["chunks"][record["chunk"]] = record["body_b64"] + + requests = [] + for request_id in order: + entry = parts[request_id] + record = entry["record"] + if len(entry["chunks"]) != record["chunks"]: + continue + body_b64 = "".join(entry["chunks"][i] for i in range(record["chunks"])) + requests.append( + IntakeRequest( + id=request_id, + method=record.get("method") or "", + path=record.get("path") or "", + query=record.get("query") or "", + headers=record.get("headers") or {}, + raw_body=base64.b64decode(body_b64), + ) + ) + return requests diff --git a/tests/integration/harness/logs.py b/tests/integration/harness/logs.py new file mode 100644 index 000000000..630b4c8ea --- /dev/null +++ b/tests/integration/harness/logs.py @@ -0,0 +1,261 @@ +"""Parse Lambda CloudWatch log lines into typed objects. + +Pure Python, no AWS dependencies, so it is unit tested offline in +tests/test_integration_harness.py. + +With DD_INTEGRATION_TEST=true and no extension, an invocation's logs contain: + * one JSON line per trace payload: {"traces": [[span, ...], ...]} + * one JSON line per metric when DD_FLUSH_TO_LOG=true: + {"m": name, "v": value, "e": epoch, "t": [tags]} + * one line per outgoing `requests` call (datadog_lambda/patch.py): + HTTP Headers: [<"k:v">, ...] Data: + * the Lambda runtime's START / END / REPORT lines +""" + +from __future__ import annotations + +import json +import re +from dataclasses import dataclass, field +from typing import Any, Dict, List, Optional + +_START_RE = re.compile(r"^START RequestId: (?P[0-9a-fA-F-]+)") +_END_RE = re.compile(r"^END RequestId: (?P[0-9a-fA-F-]+)") +_REPORT_RE = re.compile(r"^REPORT RequestId: (?P[0-9a-fA-F-]+)") +_REPORT_FIELD_RE = re.compile(r"(?P[A-Za-z ]+): (?P[0-9.]+) (?:ms|MB)") +_HTTP_RE = re.compile( + r"^HTTP (?P[A-Z]+) (?P\S+) Headers: (?P\[.*?\]) Data: (?P.*)$" +) + + +def parse_id(value: Any) -> int: + """Normalize a trace/span ID from the log writer (hex string) to an int.""" + if isinstance(value, int): + return value + return int(str(value), 16) + + +@dataclass +class Span: + raw: Dict[str, Any] + + @property + def name(self) -> str: + return self.raw["name"] + + @property + def service(self) -> str: + return self.raw.get("service") + + @property + def resource(self) -> str: + return self.raw.get("resource") + + @property + def type(self) -> Optional[str]: + return self.raw.get("type") + + @property + def error(self) -> int: + return self.raw.get("error", 0) + + @property + def meta(self) -> Dict[str, str]: + return self.raw.get("meta", {}) + + @property + def metrics(self) -> Dict[str, float]: + return self.raw.get("metrics", {}) + + @property + def trace_id(self) -> int: + return parse_id(self.raw["trace_id"]) + + @property + def span_id(self) -> int: + return parse_id(self.raw["span_id"]) + + @property + def parent_id(self) -> int: + return parse_id(self.raw.get("parent_id", 0)) + + def __repr__(self) -> str: + return "Span(name=%r, service=%r, resource=%r)" % ( + self.name, + self.service, + self.resource, + ) + + +@dataclass +class Metric: + name: str + value: float + tags: List[str] + timestamp: Optional[float] = None + + def tag(self, key: str) -> Optional[str]: + prefix = key + ":" + for t in self.tags: + if t.startswith(prefix): + return t[len(prefix) :] + return None + + +@dataclass +class HttpRequest: + method: str + url: str + headers: Dict[str, str] + data: Any + + +@dataclass +class Report: + duration_ms: Optional[float] = None + billed_duration_ms: Optional[float] = None + memory_size_mb: Optional[float] = None + max_memory_used_mb: Optional[float] = None + init_duration_ms: Optional[float] = None + + +@dataclass +class InvocationLogs: + request_id: str + lines: List[str] = field(default_factory=list) + # Lines logged during INIT, before this invocation's START line. Only set + # for the first invocation in an execution environment. + init_lines: List[str] = field(default_factory=list) + report: Optional[Report] = None + spans: List[Span] = field(default_factory=list) + metrics: List[Metric] = field(default_factory=list) + http_requests: List[HttpRequest] = field(default_factory=list) + + @property + def complete(self) -> bool: + return self.report is not None + + def spans_named(self, name: str) -> List[Span]: + return [s for s in self.spans if s.name == name] + + def metrics_named(self, name: str) -> List[Metric]: + return [m for m in self.metrics if m.name == name] + + def error_lines(self) -> List[str]: + """Lines that look like unexpected errors or tracebacks.""" + markers = ("Traceback (most recent call last)", "[ERROR]") + return [ + line + for line in self.init_lines + self.lines + if any(m in line for m in markers) + ] + + +def parse_report(line: str) -> Report: + fields = { + m.group("key").strip(): float(m.group("value")) + for m in _REPORT_FIELD_RE.finditer(line) + } + return Report( + duration_ms=fields.get("Duration"), + billed_duration_ms=fields.get("Billed Duration"), + memory_size_mb=fields.get("Memory Size"), + max_memory_used_mb=fields.get("Max Memory Used"), + init_duration_ms=fields.get("Init Duration"), + ) + + +def parse_http_request(line: str) -> Optional[HttpRequest]: + match = _HTTP_RE.match(line) + if not match: + return None + headers = {} + for item in json.loads(match.group("headers")): + key, _, value = item.partition(":") + headers[key] = value + try: + data = json.loads(match.group("data")) + except ValueError: + data = match.group("data") + return HttpRequest( + method=match.group("method"), + url=match.group("url"), + headers=headers, + data=data, + ) + + +def _parse_json(line: str) -> Optional[Any]: + if not line.startswith("{"): + return None + try: + return json.loads(line) + except ValueError: + return None + + +def _absorb(inv: InvocationLogs, line: str) -> None: + obj = _parse_json(line) + if isinstance(obj, dict): + if "traces" in obj: + for trace in obj["traces"]: + inv.spans.extend(Span(raw) for raw in trace) + return + if "m" in obj and "v" in obj: + inv.metrics.append( + Metric( + name=obj["m"], + value=obj["v"], + tags=obj.get("t", []), + timestamp=obj.get("e"), + ) + ) + return + request = parse_http_request(line) + if request: + inv.http_requests.append(request) + + +def split_invocations(stream_lines: List[str]) -> Dict[str, InvocationLogs]: + """Group the lines of ONE log stream (one execution environment) by request ID. + + Lines before the first START (the INIT phase) are attached to the first + invocation as `init_lines`. + """ + invocations: Dict[str, InvocationLogs] = {} + pending_init: List[str] = [] + current: Optional[InvocationLogs] = None + + for raw in stream_lines: + line = raw.rstrip("\n") + if not line: + continue + start = _START_RE.match(line) + if start: + current = invocations.setdefault( + start.group("id"), InvocationLogs(start.group("id")) + ) + current.init_lines.extend(pending_init) + pending_init = [] + continue + report = _REPORT_RE.match(line) + if report: + inv = invocations.setdefault( + report.group("id"), InvocationLogs(report.group("id")) + ) + inv.report = parse_report(line) + current = None + continue + if _END_RE.match(line): + continue + if current is None: + # INIT phase (or output between invocations, attributed to the next one) + pending_init.append(line) + continue + current.lines.append(line) + _absorb(current, line) + + for inv in invocations.values(): + for line in inv.init_lines: + _absorb(inv, line) + return invocations diff --git a/tests/integration/harness/settings.py b/tests/integration/harness/settings.py new file mode 100644 index 000000000..2b3480d1b --- /dev/null +++ b/tests/integration/harness/settings.py @@ -0,0 +1,103 @@ +"""Run settings, read from the environment.""" + +from __future__ import annotations + +import os +import secrets +from dataclasses import dataclass +from pathlib import Path +from typing import Optional + +INTEGRATION_DIR = Path(__file__).resolve().parent.parent +REPO_DIR = INTEGRATION_DIR.parent.parent + +# Names must start with "integration-tests" for the sandbox IAM policies, and +# every function must use this role. +SERVICE = "integration-tests-python" +LAMBDA_ROLE_ARN = ( + "arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role" +) +DEPLOYMENT_BUCKET = "integration-tests-serververless-deployment-bucket" +DEFAULT_REGION = "eu-west-1" +DATADOG_EXTENSION_ACCOUNT = "464622532012" + + +def _required(name: str) -> str: + value = os.environ.get(name) + if not value: + raise RuntimeError("%s must be set to run the integration tests" % name) + return value + + +@dataclass(frozen=True) +class Settings: + python_version: str # "3.13" + arch: str # "amd64" | "arm64" + region: str + run_id: str + dd_api_key: str + # A layer version number, "latest" (resolved at deploy time), or "none" to + # deploy without the extension function. + extension_layer_version: str + # Reuse an already-deployed stack instead of deploying (and keep it afterwards). + # Function names are read from the stack outputs, so run_id is unused then. + existing_stack: Optional[str] + keep_stack: bool + + @property + def runtime(self) -> str: + return "python" + self.python_version + + @property + def runtime_key(self) -> str: + # python3.13 -> python313, used in function names (matches the old suite) + return "python" + self.python_version.replace(".", "") + + @property + def lambda_arch(self) -> str: + return "x86_64" if self.arch == "amd64" else "arm64" + + @property + def stack_name(self) -> str: + return self.existing_stack or "%s-%s" % (SERVICE, self.run_id) + + @property + def layer_zip(self) -> Path: + return ( + REPO_DIR + / ".layers" + / ("datadog_lambda_py-%s-%s.zip" % (self.arch, self.python_version)) + ) + + @property + def extension_enabled(self) -> bool: + return self.extension_layer_version != "none" + + @property + def extension_layer_base_arn(self) -> str: + """The Datadog Extension layer ARN without the version suffix.""" + name = "Datadog-Extension" + ("-ARM" if self.arch == "arm64" else "") + return "arn:aws:lambda:%s:%s:layer:%s" % ( + self.region, + DATADOG_EXTENSION_ACCOUNT, + name, + ) + + +def load() -> Settings: + arch = _required("ARCH") + if arch not in ("amd64", "arm64"): + raise RuntimeError("ARCH must be amd64 or arm64, got %r" % arch) + existing_stack = os.environ.get("INTEGRATION_STACK_NAME") or None + return Settings( + python_version=_required("PYTHON_VERSION"), + arch=arch, + region=os.environ.get("INTEGRATION_REGION") or DEFAULT_REGION, + run_id=os.environ.get("INTEGRATION_RUN_ID") or secrets.token_hex(4), + dd_api_key=_required("DD_API_KEY"), + extension_layer_version=( + os.environ.get("DD_EXTENSION_LAYER_VERSION") or "latest" + ).lower(), + existing_stack=existing_stack, + keep_stack=bool(existing_stack) or os.environ.get("KEEP_STACK") == "true", + ) diff --git a/tests/integration/pytest.ini b/tests/integration/pytest.ini new file mode 100644 index 000000000..f64ba437b --- /dev/null +++ b/tests/integration/pytest.ini @@ -0,0 +1,8 @@ +# Integration tests deploy real AWS resources. Run them from this directory: +# cd tests/integration && pytest +# This file makes tests/integration the rootdir, so the unit test conftest in +# tests/ (which imports datadog_lambda) is not loaded. +[pytest] +addopts = -v -p no:cacheprovider +markers = + extension: uses the Datadog Extension layer (DD_EXTENSION_LAYER_VERSION=none deselects) diff --git a/tests/integration/requirements-test.txt b/tests/integration/requirements-test.txt new file mode 100644 index 000000000..b04f2b6ca --- /dev/null +++ b/tests/integration/requirements-test.txt @@ -0,0 +1,5 @@ +# Test-runner dependencies (not deployed). The deployed requirements layer is requirements.txt. +aws-sam-cli>=1.174 +boto3>=1.35 +pytest>=8.3 +zstandard>=0.23 diff --git a/tests/integration/template.yaml b/tests/integration/template.yaml new file mode 100644 index 000000000..8471e131c --- /dev/null +++ b/tests/integration/template.yaml @@ -0,0 +1,181 @@ +AWSTemplateFormatVersion: "2010-09-09" +Transform: AWS::Serverless-2016-10-31 +Description: datadog-lambda-python integration tests (deployed by tests/integration/harness/stack.py) + +# The harness stages build artifacts under .build/ before deploying: +# .build/datadog_layer.zip the layer built by scripts/build_layers.sh +# .build/requirements_layer/ tests/integration/requirements.txt, pip installed into python/ + +Parameters: + RunId: + Type: String + Runtime: + Type: String # e.g. python3.13 + RuntimeKey: + Type: String # e.g. python313, used in function names + Architecture: + Type: String + AllowedValues: [x86_64, arm64] + LambdaRoleArn: + Type: String + DdApiKey: + Type: String + NoEcho: true + MockIntakeApiKey: + Type: String + NoEcho: true + Description: Random per-run key. Extension functions send it, the mock intake requires it. + ExtensionLayerArn: + Type: String + Default: "" + +Conditions: + HasExtension: !Not [!Equals [!Ref ExtensionLayerArn, ""]] + +Globals: + Function: + Runtime: !Ref Runtime + Architectures: [!Ref Architecture] + Timeout: 15 + MemorySize: 1024 + Tracing: PassThrough + CodeUri: functions/ + +Resources: + DatadogLayer: + Type: AWS::Serverless::LayerVersion + Properties: + LayerName: !Sub integration-tests-python-${RunId}-datadog + ContentUri: .build/datadog_layer.zip + CompatibleRuntimes: [!Ref Runtime] + + RequirementsLayer: + Type: AWS::Serverless::LayerVersion + Properties: + LayerName: !Sub integration-tests-python-${RunId}-requirements + ContentUri: .build/requirements_layer/ + CompatibleRuntimes: [!Ref Runtime] + + # --------------------------------------------------------------------------- + # Baseline: library only, no extension. Traces and metrics go to CloudWatch. + # --------------------------------------------------------------------------- + + # Metrics flushed to logs + AsyncMetricsFunction: + Type: AWS::Serverless::Function + Properties: + Role: !Ref LambdaRoleArn + FunctionName: !Sub integration-tests-python-${RunId}-async-metrics_${RuntimeKey} + Handler: baseline.handle + Layers: [!Ref DatadogLayer, !Ref RequirementsLayer] + Environment: + Variables: + DD_INTEGRATION_TEST: "true" + DD_TRACE_ENABLED: "true" + DD_TRACE_MANAGED_SERVICES: "true" + DD_COLD_START_TRACING: "false" + DD_SERVICE: integration-tests-python + DD_API_KEY: !Ref DdApiKey + DD_FLUSH_TO_LOG: "true" + + AsyncMetricsLogGroup: + Type: AWS::Logs::LogGroup + Properties: + LogGroupName: !Sub /aws/lambda/integration-tests-python-${RunId}-async-metrics_${RuntimeKey} + RetentionInDays: 7 + + # Metrics sent to the Datadog API + SyncMetricsFunction: + Type: AWS::Serverless::Function + Properties: + Role: !Ref LambdaRoleArn + FunctionName: !Sub integration-tests-python-${RunId}-sync-metrics_${RuntimeKey} + Handler: baseline.handle + Layers: [!Ref DatadogLayer, !Ref RequirementsLayer] + Environment: + Variables: + DD_INTEGRATION_TEST: "true" + DD_TRACE_ENABLED: "true" + DD_TRACE_MANAGED_SERVICES: "true" + DD_COLD_START_TRACING: "false" + DD_SERVICE: integration-tests-python + DD_API_KEY: !Ref DdApiKey + + SyncMetricsLogGroup: + Type: AWS::Logs::LogGroup + Properties: + LogGroupName: !Sub /aws/lambda/integration-tests-python-${RunId}-sync-metrics_${RuntimeKey} + RetentionInDays: 7 + + # --------------------------------------------------------------------------- + # Mock intake: records every request the extension sends, as log lines. + # --------------------------------------------------------------------------- + + MockIntakeFunction: + Type: AWS::Serverless::Function + Properties: + Role: !Ref LambdaRoleArn + FunctionName: !Sub integration-tests-python-${RunId}-mock-intake + Handler: mock_intake.handle + MemorySize: 512 + Timeout: 10 + FunctionUrlConfig: + AuthType: NONE + Environment: + Variables: + MOCK_INTAKE_API_KEY: !Ref MockIntakeApiKey + + MockIntakeLogGroup: + Type: AWS::Logs::LogGroup + Properties: + LogGroupName: !Sub /aws/lambda/integration-tests-python-${RunId}-mock-intake + RetentionInDays: 7 + + # --------------------------------------------------------------------------- + # Extension: library + Datadog Extension, all intake traffic to the mock. + # --------------------------------------------------------------------------- + + ExtensionFunction: + Type: AWS::Serverless::Function + Condition: HasExtension + Properties: + Role: !Ref LambdaRoleArn + FunctionName: !Sub integration-tests-python-${RunId}-extension_${RuntimeKey} + Handler: baseline.handle + Layers: [!Ref DatadogLayer, !Ref RequirementsLayer, !Ref ExtensionLayerArn] + Environment: + Variables: + DD_TRACE_ENABLED: "true" + DD_TRACE_MANAGED_SERVICES: "true" + DD_COLD_START_TRACING: "false" + DD_SERVICE: integration-tests-python + # Never the real key: everything goes to the mock intake. + DD_API_KEY: !Ref MockIntakeApiKey + # Unresolvable site, so anything not redirected below fails instead of + # reaching a real Datadog intake. + DD_SITE: mock-intake.invalid + DD_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl + DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl + DD_APM_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl + DD_LOGS_CONFIG_LOGS_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl + DD_SERVERLESS_FLUSH_STRATEGY: end + + ExtensionLogGroup: + Type: AWS::Logs::LogGroup + Condition: HasExtension + Properties: + LogGroupName: !Sub /aws/lambda/integration-tests-python-${RunId}-extension_${RuntimeKey} + RetentionInDays: 7 + +Outputs: + AsyncMetricsFunctionName: + Value: !Ref AsyncMetricsFunction + SyncMetricsFunctionName: + Value: !Ref SyncMetricsFunction + MockIntakeFunctionName: + Value: !Ref MockIntakeFunction + MockIntakeUrl: + Value: !GetAtt MockIntakeFunctionUrl.FunctionUrl + ExtensionFunctionName: + Condition: HasExtension + Value: !Ref ExtensionFunction diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py new file mode 100644 index 000000000..c62f588a9 --- /dev/null +++ b/tests/integration/test_baseline.py @@ -0,0 +1,259 @@ +"""Baseline: the library on its own (no extension), invoked once per trigger type. + +These replace the log and return-value snapshots of +scripts/run_integration_tests.sh with assertions on the parsed output. +""" + +from __future__ import annotations + +import pytest + +from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES, load_event + +SERVICE = "integration-tests-python" + +# Per trigger: the function_trigger.event_source tag on aws.lambda, and the +# inferred span the library creates from the event (None if it creates none). +TRIGGERS = { + "api-gateway-get": { + "event_source": "api-gateway", + "inferred": ( + "aws.apigateway", + "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "GET /", + "sync", + ), + }, + "appsync": {"event_source": None, "inferred": None}, + "dynamodb": { + "event_source": "dynamodb", + "inferred": ( + "aws.dynamodb", + "ExampleTableWithStream", + "ExampleTableWithStream", + "async", + ), + "extra_metrics": ["datadog.serverless.dynamodb.stream.type"], + }, + "eventbridge-custom": { + "event_source": "eventbridge", + "inferred": ( + "aws.eventbridge", + "eventbridge.custom.event.sender", + "eventbridge.custom.event.sender", + "async", + ), + }, + "http-api": { + "event_source": "api-gateway", + "inferred": ( + "aws.httpapi", + "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "GET /httpapi/get", + "sync", + ), + }, + "kinesis": { + "event_source": "kinesis", + "inferred": ("aws.kinesis", "EXAMPLE", "EXAMPLE", "async"), + }, + "s3": { + "event_source": "s3", + "inferred": ("aws.s3", "example-bucket", "example-bucket", "async"), + }, + "sns": { + "event_source": "sns", + "inferred": ("aws.sns", "sns-lambda", "sns-lambda", "async"), + }, + "sqs": { + "event_source": "sqs", + "inferred": ("aws.sqs", "my-queue", "my-queue", "async"), + }, + "websocket": { + "event_source": "api-gateway", + "inferred": ( + "aws.apigateway.websocket", + "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "$default", + "sync", + ), + }, +} + +CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] +CASE_IDS = ["%s-%s" % c for c in CASES] + + +def test_every_input_event_has_expectations(): + assert sorted(TRIGGERS) == EVENT_NAMES + + +@pytest.fixture(params=CASES, ids=CASE_IDS) +def case(request, baseline_invocations): + fn, event_name = request.param + return fn, event_name, baseline_invocations[(fn, event_name)] + + +def _function_span(inv): + spans = inv.logs.spans_named("aws.lambda") + assert len(spans) == 1, "expected one aws.lambda span, got %r" % inv.logs.spans + return spans[0] + + +def _is_cold(event_name): + return event_name == EVENT_NAMES[0] + + +def test_return_value(case): + _, event_name, inv = case + event = load_event(event_name) + record_ids = [] + for record in event.get("Records", []): + if record.get("messageId"): + record_ids.append(record["messageId"]) + if record.get("Sns", {}).get("MessageId"): + record_ids.append(record["Sns"]["MessageId"]) + + assert inv.function_error is None, inv.response + assert inv.response == { + "statusCode": 200, + "body": { + "message": "hello, dog!", + "request_id": event.get("requestContext", {}).get("requestId"), + "event_record_ids": record_ids, + }, + } + + +def test_no_errors_logged(case): + _, _, inv = case + assert inv.logs.error_lines() == [] + + +def test_cold_start(case): + _, event_name, inv = case + cold = _is_cold(event_name) + assert _function_span(inv).meta.get("cold_start") == str(cold).lower() + assert (inv.logs.report.init_duration_ms is not None) == cold + + +def test_function_span(case, run_settings): + _, event_name, inv = case + span = _function_span(inv) + expected = TRIGGERS[event_name] + + assert span.service == SERVICE + assert span.resource == inv.function_name + assert span.type == "serverless" + assert span.error == 0 + assert span.meta["span.kind"] == "server" + assert span.meta["functionname"] == inv.function_name.lower() + assert span.meta["function_arn"].endswith(":function:" + inv.function_name.lower()) + assert span.meta["function_version"] == "$LATEST" + assert span.meta["request_id"] == inv.request_id + assert span.meta["language"] == "python" + assert span.meta.get("function_trigger.event_source") == expected["event_source"] + + +def test_inferred_span(case): + _, event_name, inv = case + expected = TRIGGERS[event_name]["inferred"] + function_span = _function_span(inv) + inferred = [s for s in inv.logs.spans if s.metrics.get("_dd._inferred_span") == 1] + + if expected is None: + assert inferred == [] + return + + name, service, resource, synchronicity = expected + assert len(inferred) == 1, inferred + span = inferred[0] + assert (span.name, span.service, span.resource) == (name, service, resource) + assert span.meta["_inferred_span.synchronicity"] == synchronicity + assert span.meta["_inferred_span.tag_source"] == "self" + # The inferred span is the parent of the function span, in the same trace. + assert function_span.parent_id == span.span_id + assert function_span.trace_id == span.trace_id + + +def test_http_client_spans(case): + _, _, inv = case + function_span = _function_span(inv) + gets = [ + s + for s in inv.logs.spans_named("requests.request") + if s.meta.get("http.method") == "GET" + ] + # The handler calls https://datadoghq.com, which redirects to www. + assert sorted(s.meta["http.url"] for s in gets) == [ + "https://datadoghq.com/", + "https://www.datadoghq.com/", + ] + for span in gets: + assert span.trace_id == function_span.trace_id + assert span.parent_id == function_span.span_id + assert span.meta["span.kind"] == "client" + assert span.meta["http.status_code"] == "200" + + # Trace context is propagated on the outgoing request. + first = next(r for r in inv.logs.http_requests if r.url == "https://datadoghq.com/") + trace_id_hex = first.headers["traceparent"].split("-")[1] + assert int(trace_id_hex[-16:], 16) == function_span.trace_id + + +def test_enhanced_invocations_metric(case, run_settings): + _, event_name, inv = case + metrics = inv.logs.metrics_named("aws.lambda.enhanced.invocations") + assert len(metrics) == 1 + m = metrics[0] + assert m.value == 1 + assert m.tag("functionname") == inv.function_name.lower() + assert m.tag("resource") == inv.function_name.lower() + assert m.tag("cold_start") == str(_is_cold(event_name)).lower() + assert m.tag("runtime") == run_settings.runtime + assert m.tag("memorysize") == "1024" + assert m.tag("region") == run_settings.region + assert m.tag("datadog_lambda") is not None + assert m.tag("dd_lambda_layer").startswith("datadog-%s_" % run_settings.runtime_key) + + for extra in TRIGGERS[event_name].get("extra_metrics", []): + assert len(inv.logs.metrics_named(extra)) == 1, extra + + +def _expected_custom_metrics(): + return { + "hello.dog": (1, ["team:serverless", "role:hello"]), + "tests.integration.count": (21, ["test:integration", "role:hello"]), + } + + +def test_custom_metrics(case): + fn, _, inv = case + expected = _expected_custom_metrics() + + if fn == "async-metrics": + # DD_FLUSH_TO_LOG: written to the logs, nothing sent over HTTP. + for name, (value, tags) in expected.items(): + metrics = inv.logs.metrics_named(name) + assert len(metrics) == 1, name + assert metrics[0].value == value + assert set(tags) <= set(metrics[0].tags) + assert not [r for r in inv.logs.http_requests if "api.datadoghq.com" in r.url] + return + + # Sync: not in the logs, POSTed to the distribution points API instead. + for name in expected: + assert inv.logs.metrics_named(name) == [] + posts = [ + r + for r in inv.logs.http_requests + if r.method == "POST" + and r.url == "https://api.datadoghq.com/api/v1/distribution_points" + ] + assert len(posts) == 1 + assert posts[0].headers.get("DD-API-KEY") + series = {s["metric"]: s for s in posts[0].data["series"]} + assert sorted(series) == sorted(expected) + for name, (value, tags) in expected.items(): + assert [p[1] for p in series[name]["points"]] == [[value]] + assert set(tags) <= set(series[name]["tags"]) diff --git a/tests/integration/test_extension_intake.py b/tests/integration/test_extension_intake.py new file mode 100644 index 000000000..c79fd3cdb --- /dev/null +++ b/tests/integration/test_extension_intake.py @@ -0,0 +1,75 @@ +"""Smoke test for the mock intake: the extension sends traces and metrics to it. + +Decoding payloads (protobuf traces, series, sketches) is left to the feature +tests that need it. Here we check that the right endpoints were hit and that +the payloads come from this run's function. +""" + +from __future__ import annotations + +import pytest + +from .conftest import load_event +from .harness import aws + +pytestmark = pytest.mark.extension + +TRACE_PATH_FRAGMENT = "/api/v0.2/traces" +METRIC_PATH_FRAGMENTS = ( + "/api/v2/series", + "/api/v1/series", + "/api/beta/sketches", + "/api/v1/distribution_points", +) + + +def _hit(requests, fragments): + return [r for r in requests if any(f in r.normalized_path for f in fragments)] + + +@pytest.fixture(scope="module") +def intake_requests(run_settings, stack, extension_function): + inv = aws.invoke( + run_settings.region, extension_function, load_event("api-gateway-get") + ) + assert inv.function_error is None, inv.response + aws.wait_for_logs(run_settings.region, extension_function, [inv.request_id]) + + def done(requests): + return bool(_hit(requests, [TRACE_PATH_FRAGMENT])) and bool( + _hit(requests, METRIC_PATH_FRAGMENTS) + ) + + try: + return aws.wait_for_intake( + run_settings.region, stack["MockIntakeFunctionName"], done + ) + except TimeoutError: + # Show what did arrive, to tell "no traffic" apart from "unexpected paths". + seen = aws.wait_for_intake( + run_settings.region, + stack["MockIntakeFunctionName"], + lambda r: True, + timeout_s=0, + ) + pytest.fail( + "mock intake never got traces and metrics; saw paths %r" + % sorted({r.normalized_path for r in seen}) + ) + + +def test_traces_reach_mock_intake(intake_requests, extension_function): + traces = _hit(intake_requests, [TRACE_PATH_FRAGMENT]) + assert traces + # Protobuf keeps strings as raw bytes, so the function name shows up in the body. + assert any(extension_function.lower().encode() in r.body for r in traces) + assert any(b"aws.lambda" in r.body for r in traces) + + +def test_metrics_reach_mock_intake(intake_requests): + metrics = _hit(intake_requests, METRIC_PATH_FRAGMENTS) + assert metrics + assert any( + b"aws.lambda.enhanced.invocations" in r.body or b"hello.dog" in r.body + for r in metrics + ) diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py new file mode 100644 index 000000000..6a56dc58c --- /dev/null +++ b/tests/test_integration_harness.py @@ -0,0 +1,167 @@ +"""Offline tests for the integration test harness parsers (no AWS needed).""" + +import base64 +import gzip +import json +import re +from pathlib import Path + +from tests.integration.harness.intake import MARKER, decompress, parse_requests +from tests.integration.harness.logs import parse_id, parse_report, split_invocations + +SNAPSHOTS = Path(__file__).parent / "integration" / "snapshots" / "logs" + +RID_1 = "11111111-1111-1111-1111-111111111111" +RID_2 = "22222222-2222-2222-2222-222222222222" + + +def _span(name, trace_id, span_id, parent_id, **meta): + return { + "name": name, + "service": "svc", + "resource": name, + "trace_id": "%016X" % trace_id, + "span_id": "%016X" % span_id, + "parent_id": "%016X" % parent_id, + "meta": meta, + "metrics": {}, + "error": 0, + } + + +def _stream(): + trace = {"traces": [[_span("aws.lambda", 0xAB, 0x2, 0x1, cold_start="true")]]} + return [ + "INIT_START Runtime Version: python:3.13.v20\tRuntime Version ARN: arn:aws:lambda:...\n", + "init message\n", + "START RequestId: %s Version: $LATEST\n" % RID_1, + json.dumps( + {"m": "hello.dog", "v": 1, "e": 1700000000, "t": ["team:serverless"]} + ) + + "\n", + json.dumps(trace) + "\n", + 'HTTP GET https://datadoghq.com/ Headers: ["Accept:*/*","traceparent:00-0000000000000000000000000000ab-0000000000000002-01"] Data: {}\n', + "END RequestId: %s\n" % RID_1, + "REPORT RequestId: %s\tDuration: 12.34 ms\tBilled Duration: 13 ms\tMemory Size: 1024 MB\t" + "Max Memory Used: 80 MB\tInit Duration: 456.78 ms\t\n" % RID_1, + "START RequestId: %s Version: $LATEST\n" % RID_2, + "[ERROR]\t2024-01-01T00:00:00Z\t%s\tsomething broke\n" % RID_2, + "END RequestId: %s\n" % RID_2, + ] + + +def test_split_invocations_groups_by_request_id(): + invs = split_invocations(_stream()) + assert set(invs) == {RID_1, RID_2} + + first = invs[RID_1] + assert first.complete + assert first.init_lines[0].startswith("INIT_START") + assert [s.name for s in first.spans] == ["aws.lambda"] + assert first.spans[0].trace_id == 0xAB + assert first.spans[0].parent_id == 0x1 + assert first.spans[0].meta["cold_start"] == "true" + assert [(m.name, m.value, m.tag("team")) for m in first.metrics] == [ + ("hello.dog", 1, "serverless") + ] + assert first.http_requests[0].headers["traceparent"].startswith("00-") + assert first.http_requests[0].data == {} + assert first.report.init_duration_ms == 456.78 + assert first.error_lines() == [] + + second = invs[RID_2] + assert not second.complete # no REPORT yet + assert second.init_lines == [] + assert len(second.error_lines()) == 1 + + +def test_parse_report_without_init_duration(): + report = parse_report( + "REPORT RequestId: %s\tDuration: 1.00 ms\tBilled Duration: 2 ms\t" % RID_1 + ) + assert report.duration_ms == 1.0 + assert report.init_duration_ms is None + + +def test_parse_id(): + assert parse_id("00000000000000FF") == 255 + assert parse_id(7) == 7 + + +def _snapshot_as_cloudwatch_lines(path): + """Turn a normalized, pretty-printed snapshot back into one-line-per-event + CloudWatch output, with synthetic request IDs.""" + out, buf, n = [], [], 0 + for line in path.read_text().splitlines(): + if buf: + buf.append(line) + if line == "}": + out.append(" ".join(buf)) + buf = [] + elif line == "{": + buf = [line] + elif line == "START": + n += 1 + out.append( + "START RequestId: %08d-0000-0000-0000-000000000000 Version: $LATEST" % n + ) + elif line.startswith("END "): + out.append("END RequestId: %08d-0000-0000-0000-000000000000" % n) + out.append( + "REPORT RequestId: %08d-0000-0000-0000-000000000000\tDuration: 1.00 ms" + % n + ) + else: + out.append(line) + # Normalized numbers ("e": XXXX) are not valid JSON; quote them. + return [re.sub(r'(": )XXXX(?=[ ,}\]])', r'\1"XXXX"', line) for line in out] + + +def test_parses_real_snapshot_output(): + lines = _snapshot_as_cloudwatch_lines(SNAPSHOTS / "async-metrics_python313.log") + invs = split_invocations(lines) + assert len(invs) == 10 + for inv in invs.values(): + assert len(inv.spans_named("aws.lambda")) == 1 + assert len(inv.spans_named("requests.request")) == 2 + assert inv.metrics_named("hello.dog") + # The old sed normalization truncates HTTP lines before "Data:", so they + # are not checked here; test_split_invocations_groups_by_request_id is. + + +def _intake_line(request_id, chunk, chunks, body_b64, **extra): + record = { + "id": request_id, + "method": "POST", + "path": "//api/v0.2/traces", + "query": "", + "headers": {"content-encoding": "gzip"}, + "chunk": chunk, + "chunks": chunks, + "body_b64": body_b64, + } + record.update(extra) + return "2024-01-01T00:00:00Z\trequest-id\tINFO\t" + MARKER + json.dumps(record) + + +def test_parse_intake_requests_reassembles_chunks(): + body = gzip.compress(b"payload-with-function-name") + b64 = base64.b64encode(body).decode() + half = len(b64) // 2 + lines = [ + "unrelated line", + _intake_line("a", 1, 2, b64[half:]), + _intake_line("a", 0, 2, b64[:half]), + _intake_line("b", 0, 2, b64[:half]), # incomplete, dropped + ] + requests = parse_requests(lines) + assert [r.id for r in requests] == ["a"] + assert requests[0].normalized_path == "/api/v0.2/traces" + assert requests[0].body == b"payload-with-function-name" + + +def test_decompress_identity_and_deflate(): + import zlib + + assert decompress(b"x", "") == b"x" + assert decompress(zlib.compress(b"x"), "deflate") == b"x" From faef3049d85d581e95377b9a23651437f449c66b Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 30 Nov 2026 13:43:53 -0500 Subject: [PATCH 02/13] cleaning --- tests/integration/conftest.py | 20 ++++++----- tests/integration/harness/aws.py | 10 +++++- tests/integration/harness/requirements.py | 41 +++++++++++++++++++++++ tests/integration/harness/settings.py | 5 +-- tests/integration/pytest.ini | 2 +- tests/integration/requirements-test.txt | 1 + tests/integration/test_baseline.py | 8 ++++- tests/test_integration_harness.py | 27 +++++++++++++++ 8 files changed, 101 insertions(+), 13 deletions(-) create mode 100644 tests/integration/harness/requirements.py diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 2238cd000..c9076143f 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -41,17 +41,21 @@ def run_settings() -> settings_mod.Settings: @pytest.fixture(scope="session") -def stack(run_settings) -> Dict[str, str]: +def stack(request, run_settings) -> Dict[str, str]: """Deploy the stack and return its outputs.""" s = run_settings - print("Integration test stack: %s" % s.stack_name) if not s.existing_stack: - try: - aws.deploy(s, mock_intake_api_key=secrets.token_hex(16)) - except Exception: - if not s.keep_stack: - aws.delete(s) - raise + # Stream deploy output (pip, sam) live instead of capturing it. + capture = request.config.pluginmanager.getplugin("capturemanager") + with capture.global_and_fixture_disabled(): + print("\nIntegration test stack: %s" % s.stack_name, flush=True) + try: + aws.deploy(s, mock_intake_api_key=secrets.token_hex(16)) + except Exception as e: + if not s.keep_stack: + aws.delete(s) + # Every test needs the stack; stop with one error, not one per test. + pytest.exit("Deploying %s failed: %s" % (s.stack_name, e), returncode=1) try: yield aws.stack_outputs(s) finally: diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index 6339c799b..d25e879b6 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -15,6 +15,7 @@ from botocore.config import Config from botocore.exceptions import ClientError +from . import requirements as requirements_mod from . import settings as settings_mod from .intake import IntakeRequest, parse_requests from .logs import InvocationLogs, split_invocations @@ -44,6 +45,13 @@ def stage_artifacts(s: settings_mod.Settings) -> None: BUILD_DIR.mkdir(parents=True) shutil.copy(s.layer_zip, BUILD_DIR / "datadog_layer.zip") + # pip would evaluate markers against CI's Python, not the target runtime. + requirements = BUILD_DIR / "requirements.txt" + source = (settings_mod.INTEGRATION_DIR / "requirements.txt").read_text() + resolved = requirements_mod.resolve(source.splitlines(), s.python_version, s.arch) + requirements.write_text("\n".join(resolved) + "\n") + print("Requirements layer for %s: %s" % (s.runtime, ", ".join(resolved))) + platform = "manylinux2014_" + ("x86_64" if s.arch == "amd64" else "aarch64") subprocess.run( [ @@ -61,7 +69,7 @@ def stage_artifacts(s: settings_mod.Settings) -> None: "--python-version", s.python_version, "-r", - str(settings_mod.INTEGRATION_DIR / "requirements.txt"), + str(requirements), "-t", str(BUILD_DIR / "requirements_layer" / "python"), ], diff --git a/tests/integration/harness/requirements.py b/tests/integration/harness/requirements.py new file mode 100644 index 000000000..306889837 --- /dev/null +++ b/tests/integration/harness/requirements.py @@ -0,0 +1,41 @@ +"""Resolve requirements.txt environment markers for the *target* Lambda runtime. + +pip evaluates markers such as `python_version < "3.10"` against the Python +running pip, even with --python-version, so building a 3.8 layer from CI's +3.12 picks the 3.10+ pins. We evaluate the markers ourselves instead. +""" + +from __future__ import annotations + +from typing import Iterable, List + +from packaging.requirements import Requirement + + +def marker_environment(python_version: str, arch: str) -> dict: + return { + "python_version": python_version, + "python_full_version": python_version + ".0", + "implementation_name": "cpython", + "platform_python_implementation": "CPython", + "os_name": "posix", + "sys_platform": "linux", + "platform_system": "Linux", + "platform_machine": "x86_64" if arch == "amd64" else "aarch64", + } + + +def resolve(lines: Iterable[str], python_version: str, arch: str) -> List[str]: + """Return the requirements that apply to the target, with markers removed.""" + env = marker_environment(python_version, arch) + resolved = [] + for raw in lines: + line = raw.split("#", 1)[0].strip() + if not line: + continue + req = Requirement(line) + if req.marker is not None and not req.marker.evaluate(env): + continue + req.marker = None + resolved.append(str(req)) + return resolved diff --git a/tests/integration/harness/settings.py b/tests/integration/harness/settings.py index 2b3480d1b..9adbf8334 100644 --- a/tests/integration/harness/settings.py +++ b/tests/integration/harness/settings.py @@ -4,7 +4,7 @@ import os import secrets -from dataclasses import dataclass +from dataclasses import dataclass, field from pathlib import Path from typing import Optional @@ -35,7 +35,8 @@ class Settings: arch: str # "amd64" | "arm64" region: str run_id: str - dd_api_key: str + # repr=False: pytest prints fixture values in failure tracebacks. + dd_api_key: str = field(repr=False) # A layer version number, "latest" (resolved at deploy time), or "none" to # deploy without the extension function. extension_layer_version: str diff --git a/tests/integration/pytest.ini b/tests/integration/pytest.ini index f64ba437b..3251a41dd 100644 --- a/tests/integration/pytest.ini +++ b/tests/integration/pytest.ini @@ -3,6 +3,6 @@ # This file makes tests/integration the rootdir, so the unit test conftest in # tests/ (which imports datadog_lambda) is not loaded. [pytest] -addopts = -v -p no:cacheprovider +addopts = -v --tb=short -p no:cacheprovider markers = extension: uses the Datadog Extension layer (DD_EXTENSION_LAYER_VERSION=none deselects) diff --git a/tests/integration/requirements-test.txt b/tests/integration/requirements-test.txt index b04f2b6ca..5396b408f 100644 --- a/tests/integration/requirements-test.txt +++ b/tests/integration/requirements-test.txt @@ -3,3 +3,4 @@ aws-sam-cli>=1.174 boto3>=1.35 pytest>=8.3 zstandard>=0.23 +packaging>=23 diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index c62f588a9..02a2c1760 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -6,6 +6,8 @@ from __future__ import annotations +from urllib.parse import urlparse + import pytest from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES, load_event @@ -238,7 +240,11 @@ def test_custom_metrics(case): assert len(metrics) == 1, name assert metrics[0].value == value assert set(tags) <= set(metrics[0].tags) - assert not [r for r in inv.logs.http_requests if "api.datadoghq.com" in r.url] + assert not [ + r + for r in inv.logs.http_requests + if urlparse(r.url).hostname == "api.datadoghq.com" + ] return # Sync: not in the logs, POSTed to the distribution points API instead. diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 6a56dc58c..3bcd2c4cb 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -165,3 +165,30 @@ def test_decompress_identity_and_deflate(): assert decompress(b"x", "") == b"x" assert decompress(zlib.compress(b"x"), "deflate") == b"x" + + +def test_requirements_markers_resolved_for_target_runtime(): + from tests.integration.harness.requirements import resolve + + source = (Path(__file__).parent / "integration" / "requirements.txt").read_text() + lines = source.splitlines() + assert "requests==2.32.4" in resolve(lines, "3.8", "amd64") + assert "requests==2.33.1" not in resolve(lines, "3.8", "amd64") + assert "requests==2.33.1" in resolve(lines, "3.13", "arm64") + assert all(";" not in r for r in resolve(lines, "3.13", "arm64")) + + +def test_settings_repr_hides_api_key(): + from tests.integration.harness.settings import Settings + + s = Settings( + python_version="3.13", + arch="amd64", + region="eu-west-1", + run_id="abcd", + dd_api_key="super-secret-key", + extension_layer_version="latest", + existing_stack=None, + keep_stack=False, + ) + assert "super-secret-key" not in repr(s) From 1b9463d1cd0c4787dd733f408ba8b324098c4c07 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 30 Nov 2026 14:02:53 -0500 Subject: [PATCH 03/13] change permissions used --- CONTRIBUTING.md | 2 +- tests/integration/harness/aws.py | 154 ++++++++++++++++++++++--------- tests/integration/template.yaml | 2 +- 3 files changed, 112 insertions(+), 46 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6352b91e3..268a48958 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ We love pull requests. For new features, consider opening an issue to discuss th ```bash UPDATE_SNAPSHOTS=true DD_API_KEY= ./scripts/run_integration_tests.sh ``` -1. The pytest integration suite in `tests/integration` (replacing the snapshot suite) deploys a SAM stack, so it needs the [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html) (`pip install -r tests/integration/requirements-test.txt`): +1. The pytest integration suite in `tests/integration` (replacing the snapshot suite) deploys a stack from a SAM template, so it needs the [SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html) (`pip install -r tests/integration/requirements-test.txt`): ```bash BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh ``` diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index d25e879b6..e7f5199a3 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -9,7 +9,7 @@ import sys import time from dataclasses import dataclass -from typing import Any, Callable, Dict, Iterable, List, Optional +from typing import Any, Callable, Dict, List, Optional import boto3 from botocore.config import Config @@ -77,13 +77,6 @@ def stage_artifacts(s: settings_mod.Settings) -> None: ) -def _redact(text: str, secrets: Iterable[str]) -> str: - for secret in secrets: - if secret: - text = text.replace(secret, "****") - return text - - def _layer_version_exists(lambda_client, arn: str) -> bool: try: lambda_client.get_layer_version_by_arn(Arn=arn) @@ -138,9 +131,79 @@ def extension_layer_arn(s: settings_mod.Settings) -> Optional[str]: return "%s:%s" % (s.extension_layer_base_arn, version) +# CloudFormation's TemplateBody limit; larger templates go through S3. +_MAX_TEMPLATE_BODY = 51200 + + +def package(s: settings_mod.Settings) -> dict: + """Upload code and layers to S3 and return the packaged SAM template.""" + from samtranslator.yaml_helper import yaml_parse + + packaged = BUILD_DIR / "packaged.yaml" + subprocess.run( + [ + "sam", + "package", + "--template-file", + str(settings_mod.INTEGRATION_DIR / "template.yaml"), + "--s3-bucket", + settings_mod.DEPLOYMENT_BUCKET, + "--s3-prefix", + s.stack_name, + "--region", + s.region, + "--output-template-file", + str(packaged), + ], + cwd=str(settings_mod.INTEGRATION_DIR), + env=dict(os.environ, SAM_CLI_TELEMETRY="0"), + check=True, + ) + return yaml_parse(packaged.read_text()) + + +def translate(sam_template: dict, region: str) -> dict: + """Expand the SAM transform locally into plain CloudFormation. + + The CI deployer role may not use the Serverless transform (that needs + cloudformation:CreateChangeSet on the transform), so the stack is created + from the expanded template instead. No parameter values are passed: Refs + stay in the template and CloudFormation resolves them, so secrets are never + written into it. + """ + from samtranslator.parser.parser import Parser + from samtranslator.translator.translator import Translator + + translator = Translator( + managed_policy_map={}, + sam_parser=Parser(), + boto_session=boto3.Session(region_name=region), + ) + return translator.translate( + sam_template, parameter_values={}, get_managed_policy_map=lambda: {} + ) + + +def _print_stack_failures(cfn, stack_name: str) -> None: + try: + events = cfn.describe_stack_events(StackName=stack_name)["StackEvents"] + except ClientError: + return + for e in reversed(events): + if e["ResourceStatus"].endswith("_FAILED"): + print( + " %s %s: %s" + % ( + e["LogicalResourceId"], + e["ResourceStatus"], + e.get("ResourceStatusReason", ""), + ) + ) + + def deploy(s: settings_mod.Settings, mock_intake_api_key: str) -> None: stage_artifacts(s) - overrides = { + parameters = { "RunId": s.run_id, "Runtime": s.runtime, "RuntimeKey": s.runtime_key, @@ -150,41 +213,44 @@ def deploy(s: settings_mod.Settings, mock_intake_api_key: str) -> None: "MockIntakeApiKey": mock_intake_api_key, "ExtensionLayerArn": extension_layer_arn(s) or "", } - cmd = [ - "sam", - "deploy", - "--template-file", - str(settings_mod.INTEGRATION_DIR / "template.yaml"), - "--stack-name", - s.stack_name, - "--region", - s.region, - "--s3-bucket", - settings_mod.DEPLOYMENT_BUCKET, - "--s3-prefix", - s.stack_name, - "--capabilities", - "CAPABILITY_IAM", - "--no-confirm-changeset", - "--no-fail-on-empty-changeset", - "--parameter-overrides", - ] + ["%s=%s" % (k, v) for k, v in overrides.items()] - - # sam prints parameter overrides, so never let its output through unredacted. - env = dict(os.environ, SAM_CLI_TELEMETRY="0") - proc = subprocess.Popen( - cmd, - env=env, - cwd=str(settings_mod.INTEGRATION_DIR), - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - ) - assert proc.stdout is not None - for line in proc.stdout: - sys.stdout.write(_redact(line, [s.dd_api_key, mock_intake_api_key])) - if proc.wait() != 0: - raise RuntimeError("sam deploy failed for stack %s" % s.stack_name) + template = translate(package(s), s.region) + body = json.dumps(template) + (BUILD_DIR / "cloudformation.json").write_text(json.dumps(template, indent=2)) + + cfn = _client("cloudformation", s.region) + kwargs = { + "StackName": s.stack_name, + "Parameters": [ + {"ParameterKey": k, "ParameterValue": v} for k, v in parameters.items() + ], + # Keep failed resources around long enough to report why they failed; + # the caller deletes the stack afterwards. + "OnFailure": "DO_NOTHING", + } + if len(body.encode("utf-8")) <= _MAX_TEMPLATE_BODY: + kwargs["TemplateBody"] = body + else: + key = "%s/cloudformation.json" % s.stack_name + _client("s3", s.region).put_object( + Bucket=settings_mod.DEPLOYMENT_BUCKET, Key=key, Body=body.encode("utf-8") + ) + kwargs["TemplateURL"] = "https://%s.s3.%s.amazonaws.com/%s" % ( + settings_mod.DEPLOYMENT_BUCKET, + s.region, + key, + ) + + print("Creating stack %s" % s.stack_name, flush=True) + cfn.create_stack(**kwargs) + try: + cfn.get_waiter("stack_create_complete").wait( + StackName=s.stack_name, WaiterConfig={"Delay": 10, "MaxAttempts": 90} + ) + except Exception: + print("Stack %s failed to create:" % s.stack_name) + _print_stack_failures(cfn, s.stack_name) + raise RuntimeError("creating stack %s failed" % s.stack_name) + print("Stack %s created" % s.stack_name, flush=True) def stack_outputs(s: settings_mod.Settings) -> Dict[str, str]: diff --git a/tests/integration/template.yaml b/tests/integration/template.yaml index 8471e131c..a45799c14 100644 --- a/tests/integration/template.yaml +++ b/tests/integration/template.yaml @@ -1,6 +1,6 @@ AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 -Description: datadog-lambda-python integration tests (deployed by tests/integration/harness/stack.py) +Description: datadog-lambda-python integration tests (deployed by tests/integration/harness/aws.py) # The harness stages build artifacts under .build/ before deploying: # .build/datadog_layer.zip the layer built by scripts/build_layers.sh From b9e3e75c742e1a22d87e7fd1eeb27350d62f9445 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 30 Nov 2026 14:19:34 -0500 Subject: [PATCH 04/13] reduce perms for extension --- tests/integration/functions/mock_intake.py | 76 ------------- tests/integration/harness/aws.py | 16 ++- tests/integration/harness/intake.py | 2 +- tests/integration/mock_intake/mock-intake | 122 +++++++++++++++++++++ tests/integration/template.yaml | 48 ++++---- tests/integration/test_extension_intake.py | 6 +- tests/test_integration_harness.py | 42 +++++++ 7 files changed, 199 insertions(+), 113 deletions(-) delete mode 100644 tests/integration/functions/mock_intake.py create mode 100755 tests/integration/mock_intake/mock-intake diff --git a/tests/integration/functions/mock_intake.py b/tests/integration/functions/mock_intake.py deleted file mode 100644 index ad3d90400..000000000 --- a/tests/integration/functions/mock_intake.py +++ /dev/null @@ -1,76 +0,0 @@ -"""Mock Datadog intake, served from a Lambda Function URL. - -It accepts every request and writes it to stdout, so the test harness can read -it back from CloudWatch. Nothing needs storage permissions beyond the shared -test role. Bodies are base64 encoded and split into chunks to stay under the -CloudWatch event size limit (256 KB). - -Requests must carry the run's random API key, because the Function URL is public. -""" - -import base64 -import json -import os -import uuid - -MARKER = "MOCK_INTAKE_REQUEST" -CHUNK_SIZE = 150_000 # base64 characters per log line - - -def _header(headers, name): - name = name.lower() - for key, value in (headers or {}).items(): - if key.lower() == name: - return value - return None - - -def handle(event, context): - headers = event.get("headers") or {} - api_key = _header(headers, "dd-api-key") or _header(headers, "x-dd-api-key") - path = event.get("rawPath", "") - - # The extension validates its API key at startup. - if path.rstrip("/").endswith("/api/v1/validate"): - if api_key != os.environ["MOCK_INTAKE_API_KEY"]: - return {"statusCode": 403, "body": json.dumps({"valid": False})} - return {"statusCode": 200, "body": json.dumps({"valid": True})} - - if api_key != os.environ["MOCK_INTAKE_API_KEY"]: - return {"statusCode": 403, "body": "forbidden"} - - body = event.get("body") or "" - if event.get("isBase64Encoded"): - body_b64 = body - else: - body_b64 = base64.b64encode(body.encode("utf-8")).decode("ascii") - - request_id = str(uuid.uuid4()) - chunks = [ - body_b64[i : i + CHUNK_SIZE] for i in range(0, len(body_b64), CHUNK_SIZE) - ] or [""] - recorded_headers = { - k.lower(): v - for k, v in headers.items() - if k.lower() not in ("dd-api-key", "x-dd-api-key", "authorization") - } - for index, chunk in enumerate(chunks): - print( - MARKER - + " " - + json.dumps( - { - "id": request_id, - "method": event.get("requestContext", {}) - .get("http", {}) - .get("method"), - "path": path, - "query": event.get("rawQueryString", ""), - "headers": recorded_headers, - "chunk": index, - "chunks": len(chunks), - "body_b64": chunk, - } - ) - ) - return {"statusCode": 202, "body": "{}"} diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index e7f5199a3..e6c53c187 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -8,6 +8,7 @@ import subprocess import sys import time +import zipfile from dataclasses import dataclass from typing import Any, Callable, Dict, List, Optional @@ -52,6 +53,14 @@ def stage_artifacts(s: settings_mod.Settings) -> None: requirements.write_text("\n".join(resolved) + "\n") print("Requirements layer for %s: %s" % (s.runtime, ", ".join(resolved))) + # Built here (not by sam package) so the extension keeps its executable bit. + mock_intake = settings_mod.INTEGRATION_DIR / "mock_intake" / "mock-intake" + with zipfile.ZipFile(BUILD_DIR / "mock_intake_layer.zip", "w") as zf: + info = zipfile.ZipInfo("extensions/mock-intake") + info.external_attr = 0o100755 << 16 + info.compress_type = zipfile.ZIP_DEFLATED + zf.writestr(info, mock_intake.read_bytes()) + platform = "manylinux2014_" + ("x86_64" if s.arch == "amd64" else "aarch64") subprocess.run( [ @@ -396,13 +405,14 @@ def done(parsed: Dict[str, InvocationLogs]) -> bool: def wait_for_intake( region: str, - mock_intake_function: str, + function_name: str, done: Callable[[List[IntakeRequest]], bool], timeout_s: float = 180, ) -> List[IntakeRequest]: - """Poll the mock intake's logs until `done(requests)` holds.""" + """Poll a function's logs until the requests its mock intake extension + recorded satisfy `done(requests)`.""" logs_client = _client("logs", region) - log_group = "/aws/lambda/" + mock_intake_function + log_group = "/aws/lambda/" + function_name def fetch() -> List[IntakeRequest]: lines: List[str] = [] diff --git a/tests/integration/harness/intake.py b/tests/integration/harness/intake.py index fdb8749cb..1849b76ca 100644 --- a/tests/integration/harness/intake.py +++ b/tests/integration/harness/intake.py @@ -1,4 +1,4 @@ -"""Reassemble requests recorded by the mock intake (functions/mock_intake.py). +"""Reassemble requests recorded by the mock intake extension (mock_intake/mock-intake). Pure Python apart from the optional zstandard dependency, so it is unit tested offline. Decoding payload formats (protobuf traces, series, sketches) is left diff --git a/tests/integration/mock_intake/mock-intake b/tests/integration/mock_intake/mock-intake new file mode 100755 index 000000000..e4bcbf5c3 --- /dev/null +++ b/tests/integration/mock_intake/mock-intake @@ -0,0 +1,122 @@ +#!/usr/bin/env python3 +"""Mock Datadog intake, run as a Lambda extension next to the Datadog Extension. + +It serves HTTP on 127.0.0.1 inside the execution environment, accepts every +request, and writes each one to stdout, which Lambda sends to the function's +CloudWatch log group. The harness reads them back (harness/intake.py). + +Nothing leaves the execution environment, so no public endpoint or extra IAM +permissions are needed. Standard library only; runs on every supported Python. + +Packaged by the harness as extensions/mock-intake in a layer (the file name +must match the name it registers with). +""" + +import base64 +import json +import os +import sys +import threading +import time +import urllib.request +import uuid +from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer + +NAME = "mock-intake" +MARKER = "MOCK_INTAKE_REQUEST" +CHUNK_SIZE = 150000 # base64 characters per log line (CloudWatch limit: 256 KB) +DEFAULT_PORT = 18080 +_print_lock = threading.Lock() + + +def record(method, path, headers, body, out=None): + """Write one request to stdout as MARKER lines, chunked.""" + out = out or sys.stdout + path, _, query = path.partition("?") + body_b64 = base64.b64encode(body).decode("ascii") + chunks = [body_b64[i : i + CHUNK_SIZE] for i in range(0, len(body_b64), CHUNK_SIZE)] + chunks = chunks or [""] + recorded_headers = { + k.lower(): v + for k, v in headers.items() + if k.lower() not in ("dd-api-key", "x-dd-api-key", "authorization") + } + request_id = str(uuid.uuid4()) + with _print_lock: + for index, chunk in enumerate(chunks): + line = { + "id": request_id, + "method": method, + "path": path, + "query": query, + "headers": recorded_headers, + "chunk": index, + "chunks": len(chunks), + "body_b64": chunk, + } + out.write(MARKER + " " + json.dumps(line) + "\n") + out.flush() + + +class Handler(BaseHTTPRequestHandler): + protocol_version = "HTTP/1.1" + + def _handle(self): + length = int(self.headers.get("Content-Length") or 0) + body = self.rfile.read(length) if length else b"" + if self.path.split("?", 1)[0].rstrip("/").endswith("/api/v1/validate"): + # The extension validates its API key at startup. + self._respond(200, b'{"valid": true}') + return + record(self.command, self.path, dict(self.headers.items()), body) + self._respond(202, b"{}") + + def _respond(self, status, payload): + self.send_response(status) + self.send_header("Content-Type", "application/json") + self.send_header("Content-Length", str(len(payload))) + self.end_headers() + self.wfile.write(payload) + + do_GET = do_POST = do_PUT = _handle + + def log_message(self, format, *args): # keep stdout for recorded requests only + pass + + +def serve(port): + server = ThreadingHTTPServer(("127.0.0.1", port), Handler) + thread = threading.Thread(target=server.serve_forever, daemon=True) + thread.start() + return server + + +def _extensions_api(path, data=None, headers=None): + url = "http://%s/2020-01-01/extension/%s" % (os.environ["AWS_LAMBDA_RUNTIME_API"], path) + req = urllib.request.Request(url, data=data, headers=headers or {}) + return urllib.request.urlopen(req) + + +def main(): + # Listen before registering, so the server is up before any invocation. + serve(int(os.environ.get("MOCK_INTAKE_PORT", DEFAULT_PORT))) + resp = _extensions_api( + "register", + data=json.dumps({"events": ["INVOKE", "SHUTDOWN"]}).encode(), + headers={"Lambda-Extension-Name": NAME, "Content-Type": "application/json"}, + ) + extension_id = resp.headers["Lambda-Extension-Identifier"] + while True: + event = json.loads( + _extensions_api( + "event/next", headers={"Lambda-Extension-Identifier": extension_id} + ).read() + ) + if event.get("eventType") == "SHUTDOWN": + # Give a final Datadog Extension flush a moment to arrive. + time.sleep(0.5) + return + + +if __name__ == "__main__": + main() diff --git a/tests/integration/template.yaml b/tests/integration/template.yaml index a45799c14..4c673f580 100644 --- a/tests/integration/template.yaml +++ b/tests/integration/template.yaml @@ -5,6 +5,7 @@ Description: datadog-lambda-python integration tests (deployed by tests/integrat # The harness stages build artifacts under .build/ before deploying: # .build/datadog_layer.zip the layer built by scripts/build_layers.sh # .build/requirements_layer/ tests/integration/requirements.txt, pip installed into python/ +# .build/mock_intake_layer.zip mock_intake/mock-intake as extensions/mock-intake Parameters: RunId: @@ -24,7 +25,7 @@ Parameters: MockIntakeApiKey: Type: String NoEcho: true - Description: Random per-run key. Extension functions send it, the mock intake requires it. + Description: Random per-run fake key for the extension function, so the real key is never sent to the mock intake. ExtensionLayerArn: Type: String Default: "" @@ -108,28 +109,17 @@ Resources: RetentionInDays: 7 # --------------------------------------------------------------------------- - # Mock intake: records every request the extension sends, as log lines. + # Mock intake: a Lambda extension (mock_intake/mock-intake) serving HTTP on + # 127.0.0.1 next to the Datadog Extension, recording requests to the logs. # --------------------------------------------------------------------------- - MockIntakeFunction: - Type: AWS::Serverless::Function - Properties: - Role: !Ref LambdaRoleArn - FunctionName: !Sub integration-tests-python-${RunId}-mock-intake - Handler: mock_intake.handle - MemorySize: 512 - Timeout: 10 - FunctionUrlConfig: - AuthType: NONE - Environment: - Variables: - MOCK_INTAKE_API_KEY: !Ref MockIntakeApiKey - - MockIntakeLogGroup: - Type: AWS::Logs::LogGroup + MockIntakeLayer: + Type: AWS::Serverless::LayerVersion + Condition: HasExtension Properties: - LogGroupName: !Sub /aws/lambda/integration-tests-python-${RunId}-mock-intake - RetentionInDays: 7 + LayerName: !Sub integration-tests-python-${RunId}-mock-intake + ContentUri: .build/mock_intake_layer.zip + CompatibleRuntimes: [!Ref Runtime] # --------------------------------------------------------------------------- # Extension: library + Datadog Extension, all intake traffic to the mock. @@ -142,7 +132,11 @@ Resources: Role: !Ref LambdaRoleArn FunctionName: !Sub integration-tests-python-${RunId}-extension_${RuntimeKey} Handler: baseline.handle - Layers: [!Ref DatadogLayer, !Ref RequirementsLayer, !Ref ExtensionLayerArn] + Layers: + - !Ref DatadogLayer + - !Ref RequirementsLayer + - !Ref ExtensionLayerArn + - !Ref MockIntakeLayer Environment: Variables: DD_TRACE_ENABLED: "true" @@ -154,10 +148,10 @@ Resources: # Unresolvable site, so anything not redirected below fails instead of # reaching a real Datadog intake. DD_SITE: mock-intake.invalid - DD_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl - DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl - DD_APM_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl - DD_LOGS_CONFIG_LOGS_DD_URL: !GetAtt MockIntakeFunctionUrl.FunctionUrl + DD_DD_URL: http://127.0.0.1:18080 + DD_URL: http://127.0.0.1:18080 + DD_APM_DD_URL: http://127.0.0.1:18080 + DD_LOGS_CONFIG_LOGS_DD_URL: http://127.0.0.1:18080 DD_SERVERLESS_FLUSH_STRATEGY: end ExtensionLogGroup: @@ -172,10 +166,6 @@ Outputs: Value: !Ref AsyncMetricsFunction SyncMetricsFunctionName: Value: !Ref SyncMetricsFunction - MockIntakeFunctionName: - Value: !Ref MockIntakeFunction - MockIntakeUrl: - Value: !GetAtt MockIntakeFunctionUrl.FunctionUrl ExtensionFunctionName: Condition: HasExtension Value: !Ref ExtensionFunction diff --git a/tests/integration/test_extension_intake.py b/tests/integration/test_extension_intake.py index c79fd3cdb..0be5059c4 100644 --- a/tests/integration/test_extension_intake.py +++ b/tests/integration/test_extension_intake.py @@ -41,14 +41,12 @@ def done(requests): ) try: - return aws.wait_for_intake( - run_settings.region, stack["MockIntakeFunctionName"], done - ) + return aws.wait_for_intake(run_settings.region, extension_function, done) except TimeoutError: # Show what did arrive, to tell "no traffic" apart from "unexpected paths". seen = aws.wait_for_intake( run_settings.region, - stack["MockIntakeFunctionName"], + extension_function, lambda r: True, timeout_s=0, ) diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 3bcd2c4cb..03f8baba6 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -192,3 +192,45 @@ def test_settings_repr_hides_api_key(): keep_stack=False, ) assert "super-secret-key" not in repr(s) + + +def _load_mock_intake(): + import importlib.machinery + import importlib.util + + path = Path(__file__).parent / "integration" / "mock_intake" / "mock-intake" + loader = importlib.machinery.SourceFileLoader("mock_intake_extension", str(path)) + spec = importlib.util.spec_from_loader(loader.name, loader) + module = importlib.util.module_from_spec(spec) + loader.exec_module(module) + return module + + +def test_mock_intake_extension_records_requests(capsys): + import urllib.request + + mock_intake = _load_mock_intake() + server = mock_intake.serve(0) + try: + port = server.server_address[1] + body = gzip.compress(b"x" * 400000) # several log-line chunks + req = urllib.request.Request( + "http://127.0.0.1:%d/api/v0.2/traces?a=b" % port, + data=body, + headers={"Content-Encoding": "gzip", "DD-API-KEY": "secret"}, + ) + assert urllib.request.urlopen(req, timeout=5).status == 202 + validate = "http://127.0.0.1:%d/api/v1/validate" % port + assert json.loads(urllib.request.urlopen(validate, timeout=5).read()) == { + "valid": True + } + finally: + server.shutdown() + + out = capsys.readouterr().out + assert "secret" not in out + requests = parse_requests(out.splitlines()) + assert [(r.method, r.normalized_path, r.query) for r in requests] == [ + ("POST", "/api/v0.2/traces", "a=b") + ] + assert requests[0].body == b"x" * 400000 From 9f1f57f0cd03354221eeaae90abd115b0978179e Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Mon, 30 Nov 2026 14:46:27 -0500 Subject: [PATCH 05/13] adjust test expectations --- tests/integration/harness/aws.py | 6 +++++ tests/integration/template.yaml | 12 +++++++--- tests/integration/test_baseline.py | 28 +++++++++++++++------- tests/integration/test_extension_intake.py | 17 +++++++------ 4 files changed, 44 insertions(+), 19 deletions(-) diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index e6c53c187..bcfce064d 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -364,6 +364,12 @@ def _read_log_group(logs_client, log_group: str) -> Dict[str, List[str]]: return streams +def read_log_lines(region: str, function_name: str) -> List[str]: + """Every log line of a function, stream by stream.""" + streams = _read_log_group(_client("logs", region), "/aws/lambda/" + function_name) + return [line for lines in streams.values() for line in lines] + + def _poll( fetch: Callable[[], Any], done: Callable[[Any], bool], timeout_s: float, what: str ) -> Any: diff --git a/tests/integration/template.yaml b/tests/integration/template.yaml index 4c673f580..17b6af7a4 100644 --- a/tests/integration/template.yaml +++ b/tests/integration/template.yaml @@ -145,13 +145,19 @@ Resources: DD_SERVICE: integration-tests-python # Never the real key: everything goes to the mock intake. DD_API_KEY: !Ref MockIntakeApiKey - # Unresolvable site, so anything not redirected below fails instead of - # reaching a real Datadog intake. - DD_SITE: mock-intake.invalid + # Same base env as the extension's own fake-intake tests + # (datadog-lambda-extension bottlecap/tests/HARNESS.md): + DD_SITE: datadoghq.com DD_DD_URL: http://127.0.0.1:18080 DD_URL: http://127.0.0.1:18080 DD_APM_DD_URL: http://127.0.0.1:18080 DD_LOGS_CONFIG_LOGS_DD_URL: http://127.0.0.1:18080 + # The mock speaks HTTP/1.1; the default client uses h2 prior knowledge. + DD_HTTP_PROTOCOL: http1 + # Anything still sent over https (trace stats follow DD_SITE) goes to a + # closed port and fails at once instead of reaching a real intake. + DD_PROXY_HTTPS: http://127.0.0.1:1 + DD_LOG_LEVEL: debug DD_SERVERLESS_FLUSH_STRATEGY: end ExtensionLogGroup: diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index 02a2c1760..a57b1d8ea 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -153,7 +153,6 @@ def test_function_span(case, run_settings): assert span.meta["function_arn"].endswith(":function:" + inv.function_name.lower()) assert span.meta["function_version"] == "$LATEST" assert span.meta["request_id"] == inv.request_id - assert span.meta["language"] == "python" assert span.meta.get("function_trigger.event_source") == expected["event_source"] @@ -165,6 +164,8 @@ def test_inferred_span(case): if expected is None: assert inferred == [] + # Without an inferred span, aws.lambda is the trace's local root. + assert function_span.meta["language"] == "python" return name, service, resource, synchronicity = expected @@ -173,6 +174,8 @@ def test_inferred_span(case): assert (span.name, span.service, span.resource) == (name, service, resource) assert span.meta["_inferred_span.synchronicity"] == synchronicity assert span.meta["_inferred_span.tag_source"] == "self" + # ddtrace tags the local root span, which is the inferred span here. + assert span.meta["language"] == "python" # The inferred span is the parent of the function span, in the same trace. assert function_span.parent_id == span.span_id assert function_span.trace_id == span.trace_id @@ -187,19 +190,26 @@ def test_http_client_spans(case): if s.meta.get("http.method") == "GET" ] # The handler calls https://datadoghq.com, which redirects to www. - assert sorted(s.meta["http.url"] for s in gets) == [ - "https://datadoghq.com/", - "https://www.datadoghq.com/", - ] + by_url = {s.meta["http.url"]: s for s in gets} + assert sorted(by_url) == ["https://datadoghq.com/", "https://www.datadoghq.com/"] + first, redirect = ( + by_url["https://datadoghq.com/"], + by_url["https://www.datadoghq.com/"], + ) + # requests follows the redirect inside the first send(), so the redirected + # request's span is a child of the first request's span. + assert first.parent_id == function_span.span_id + assert redirect.parent_id == first.span_id for span in gets: assert span.trace_id == function_span.trace_id - assert span.parent_id == function_span.span_id assert span.meta["span.kind"] == "client" - assert span.meta["http.status_code"] == "200" + assert redirect.meta["http.status_code"] == "200" # Trace context is propagated on the outgoing request. - first = next(r for r in inv.logs.http_requests if r.url == "https://datadoghq.com/") - trace_id_hex = first.headers["traceparent"].split("-")[1] + request = next( + r for r in inv.logs.http_requests if r.url == "https://datadoghq.com/" + ) + trace_id_hex = request.headers["traceparent"].split("-")[1] assert int(trace_id_hex[-16:], 16) == function_span.trace_id diff --git a/tests/integration/test_extension_intake.py b/tests/integration/test_extension_intake.py index 0be5059c4..6d8daab85 100644 --- a/tests/integration/test_extension_intake.py +++ b/tests/integration/test_extension_intake.py @@ -43,16 +43,19 @@ def done(requests): try: return aws.wait_for_intake(run_settings.region, extension_function, done) except TimeoutError: - # Show what did arrive, to tell "no traffic" apart from "unexpected paths". + # Show what did arrive, and what the extension logged about it. seen = aws.wait_for_intake( - run_settings.region, - extension_function, - lambda r: True, - timeout_s=0, + run_settings.region, extension_function, lambda r: True, timeout_s=0 ) + problems = [ + line.rstrip() + for line in aws.read_log_lines(run_settings.region, extension_function) + if "DD_EXTENSION" in line and ("ERROR" in line or "WARN" in line) + ] pytest.fail( - "mock intake never got traces and metrics; saw paths %r" - % sorted({r.normalized_path for r in seen}) + "mock intake never got traces and metrics; saw paths %r\n" + "extension warnings/errors (last 30):\n%s" + % (sorted({r.normalized_path for r in seen}), "\n".join(problems[-30:])) ) From 2245f0f1c0e3b1663b88d7bab59ca9b1296632e2 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Wed, 2 Dec 2026 11:32:10 -0500 Subject: [PATCH 06/13] regenerate snapshots --- CONTRIBUTING.md | 5 + ci/input_files/build.yaml.tpl | 3 + scripts/run_integration_pytest.sh | 73 +++- .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python310-amd64/async-metrics/s3.json | 1 + .../python310-amd64/async-metrics/sns.json | 1 + .../python310-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python310-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python310-amd64/sync-metrics/kinesis.json | 1 + .../logs/python310-amd64/sync-metrics/s3.json | 1 + .../python310-amd64/sync-metrics/sns.json | 1 + .../python310-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python311-amd64/async-metrics/s3.json | 1 + .../python311-amd64/async-metrics/sns.json | 1 + .../python311-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python311-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python311-amd64/sync-metrics/kinesis.json | 1 + .../logs/python311-amd64/sync-metrics/s3.json | 1 + .../python311-amd64/sync-metrics/sns.json | 1 + .../python311-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python312-amd64/async-metrics/s3.json | 1 + .../python312-amd64/async-metrics/sns.json | 1 + .../python312-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python312-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python312-amd64/sync-metrics/kinesis.json | 1 + .../logs/python312-amd64/sync-metrics/s3.json | 1 + .../python312-amd64/sync-metrics/sns.json | 1 + .../python312-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python313-amd64/async-metrics/s3.json | 1 + .../python313-amd64/async-metrics/sns.json | 1 + .../python313-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python313-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python313-amd64/sync-metrics/kinesis.json | 1 + .../logs/python313-amd64/sync-metrics/s3.json | 1 + .../python313-amd64/sync-metrics/sns.json | 1 + .../python313-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python314-amd64/async-metrics/s3.json | 1 + .../python314-amd64/async-metrics/sns.json | 1 + .../python314-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python314-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python314-amd64/sync-metrics/kinesis.json | 1 + .../logs/python314-amd64/sync-metrics/s3.json | 1 + .../python314-amd64/sync-metrics/sns.json | 1 + .../python314-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python315-amd64/async-metrics/s3.json | 1 + .../python315-amd64/async-metrics/sns.json | 1 + .../python315-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python315-amd64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python315-amd64/sync-metrics/kinesis.json | 1 + .../logs/python315-amd64/sync-metrics/s3.json | 1 + .../python315-amd64/sync-metrics/sns.json | 1 + .../python315-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../python38-amd64/async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../python38-amd64/async-metrics/kinesis.json | 1 + .../logs/python38-amd64/async-metrics/s3.json | 1 + .../python38-amd64/async-metrics/sns.json | 1 + .../python38-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python38-amd64/sync-metrics/appsync.json | 1 + .../python38-amd64/sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../python38-amd64/sync-metrics/http-api.json | 1 + .../python38-amd64/sync-metrics/kinesis.json | 1 + .../logs/python38-amd64/sync-metrics/s3.json | 1 + .../logs/python38-amd64/sync-metrics/sns.json | 1 + .../logs/python38-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../python39-amd64/async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../python39-amd64/async-metrics/kinesis.json | 1 + .../logs/python39-amd64/async-metrics/s3.json | 1 + .../python39-amd64/async-metrics/sns.json | 1 + .../python39-amd64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python39-amd64/sync-metrics/appsync.json | 1 + .../python39-amd64/sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../python39-amd64/sync-metrics/http-api.json | 1 + .../python39-amd64/sync-metrics/kinesis.json | 1 + .../logs/python39-amd64/sync-metrics/s3.json | 1 + .../logs/python39-amd64/sync-metrics/sns.json | 1 + .../logs/python39-amd64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python310-amd64/async-metrics/s3.json | 35 ++ .../python310-amd64/async-metrics/sns.json | 35 ++ .../python310-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python310-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python310-amd64/sync-metrics/kinesis.json | 17 + .../python310-amd64/sync-metrics/s3.json | 17 + .../python310-amd64/sync-metrics/sns.json | 17 + .../python310-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python311-amd64/async-metrics/s3.json | 35 ++ .../python311-amd64/async-metrics/sns.json | 35 ++ .../python311-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python311-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python311-amd64/sync-metrics/kinesis.json | 17 + .../python311-amd64/sync-metrics/s3.json | 17 + .../python311-amd64/sync-metrics/sns.json | 17 + .../python311-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python312-amd64/async-metrics/s3.json | 35 ++ .../python312-amd64/async-metrics/sns.json | 35 ++ .../python312-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python312-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python312-amd64/sync-metrics/kinesis.json | 17 + .../python312-amd64/sync-metrics/s3.json | 17 + .../python312-amd64/sync-metrics/sns.json | 17 + .../python312-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python313-amd64/async-metrics/s3.json | 35 ++ .../python313-amd64/async-metrics/sns.json | 35 ++ .../python313-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python313-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python313-amd64/sync-metrics/kinesis.json | 17 + .../python313-amd64/sync-metrics/s3.json | 17 + .../python313-amd64/sync-metrics/sns.json | 17 + .../python313-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python314-amd64/async-metrics/s3.json | 35 ++ .../python314-amd64/async-metrics/sns.json | 35 ++ .../python314-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python314-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python314-amd64/sync-metrics/kinesis.json | 17 + .../python314-amd64/sync-metrics/s3.json | 17 + .../python314-amd64/sync-metrics/sns.json | 17 + .../python314-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../async-metrics/kinesis.json | 35 ++ .../python315-amd64/async-metrics/s3.json | 35 ++ .../python315-amd64/async-metrics/sns.json | 35 ++ .../python315-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python315-amd64/sync-metrics/appsync.json | 17 + .../sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../sync-metrics/http-api.json | 17 + .../python315-amd64/sync-metrics/kinesis.json | 17 + .../python315-amd64/sync-metrics/s3.json | 17 + .../python315-amd64/sync-metrics/sns.json | 17 + .../python315-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../python38-amd64/async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../python38-amd64/async-metrics/kinesis.json | 35 ++ .../python38-amd64/async-metrics/s3.json | 35 ++ .../python38-amd64/async-metrics/sns.json | 35 ++ .../python38-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python38-amd64/sync-metrics/appsync.json | 17 + .../python38-amd64/sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../python38-amd64/sync-metrics/http-api.json | 17 + .../python38-amd64/sync-metrics/kinesis.json | 17 + .../python38-amd64/sync-metrics/s3.json | 17 + .../python38-amd64/sync-metrics/sns.json | 17 + .../python38-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 35 ++ .../python39-amd64/async-metrics/appsync.json | 35 ++ .../async-metrics/dynamodb.json | 43 ++ .../async-metrics/eventbridge-custom.json | 35 ++ .../async-metrics/http-api.json | 35 ++ .../python39-amd64/async-metrics/kinesis.json | 35 ++ .../python39-amd64/async-metrics/s3.json | 35 ++ .../python39-amd64/async-metrics/sns.json | 35 ++ .../python39-amd64/async-metrics/sqs.json | 35 ++ .../async-metrics/websocket.json | 35 ++ .../sync-metrics/api-gateway-get.json | 17 + .../python39-amd64/sync-metrics/appsync.json | 17 + .../python39-amd64/sync-metrics/dynamodb.json | 25 ++ .../sync-metrics/eventbridge-custom.json | 17 + .../python39-amd64/sync-metrics/http-api.json | 17 + .../python39-amd64/sync-metrics/kinesis.json | 17 + .../python39-amd64/sync-metrics/s3.json | 17 + .../python39-amd64/sync-metrics/sns.json | 17 + .../python39-amd64/sync-metrics/sqs.json | 17 + .../sync-metrics/websocket.json | 17 + .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python310-amd64/async-metrics/s3.json | 36 ++ .../python310-amd64/async-metrics/sns.json | 36 ++ .../python310-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python310-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python310-amd64/sync-metrics/kinesis.json | 102 +++++ .../python310-amd64/sync-metrics/s3.json | 102 +++++ .../python310-amd64/sync-metrics/sns.json | 102 +++++ .../python310-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python311-amd64/async-metrics/s3.json | 36 ++ .../python311-amd64/async-metrics/sns.json | 36 ++ .../python311-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python311-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python311-amd64/sync-metrics/kinesis.json | 102 +++++ .../python311-amd64/sync-metrics/s3.json | 102 +++++ .../python311-amd64/sync-metrics/sns.json | 102 +++++ .../python311-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python312-amd64/async-metrics/s3.json | 36 ++ .../python312-amd64/async-metrics/sns.json | 36 ++ .../python312-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python312-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python312-amd64/sync-metrics/kinesis.json | 102 +++++ .../python312-amd64/sync-metrics/s3.json | 102 +++++ .../python312-amd64/sync-metrics/sns.json | 102 +++++ .../python312-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python313-amd64/async-metrics/s3.json | 36 ++ .../python313-amd64/async-metrics/sns.json | 36 ++ .../python313-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python313-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python313-amd64/sync-metrics/kinesis.json | 102 +++++ .../python313-amd64/sync-metrics/s3.json | 102 +++++ .../python313-amd64/sync-metrics/sns.json | 102 +++++ .../python313-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python314-amd64/async-metrics/s3.json | 36 ++ .../python314-amd64/async-metrics/sns.json | 36 ++ .../python314-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python314-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python314-amd64/sync-metrics/kinesis.json | 102 +++++ .../python314-amd64/sync-metrics/s3.json | 102 +++++ .../python314-amd64/sync-metrics/sns.json | 102 +++++ .../python314-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../async-metrics/kinesis.json | 36 ++ .../python315-amd64/async-metrics/s3.json | 36 ++ .../python315-amd64/async-metrics/sns.json | 36 ++ .../python315-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python315-amd64/sync-metrics/appsync.json | 100 +++++ .../sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../sync-metrics/http-api.json | 102 +++++ .../python315-amd64/sync-metrics/kinesis.json | 102 +++++ .../python315-amd64/sync-metrics/s3.json | 102 +++++ .../python315-amd64/sync-metrics/sns.json | 102 +++++ .../python315-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../python38-amd64/async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../python38-amd64/async-metrics/kinesis.json | 36 ++ .../python38-amd64/async-metrics/s3.json | 36 ++ .../python38-amd64/async-metrics/sns.json | 36 ++ .../python38-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python38-amd64/sync-metrics/appsync.json | 100 +++++ .../python38-amd64/sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../python38-amd64/sync-metrics/http-api.json | 102 +++++ .../python38-amd64/sync-metrics/kinesis.json | 102 +++++ .../python38-amd64/sync-metrics/s3.json | 102 +++++ .../python38-amd64/sync-metrics/sns.json | 102 +++++ .../python38-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 36 ++ .../python39-amd64/async-metrics/appsync.json | 34 ++ .../async-metrics/dynamodb.json | 36 ++ .../async-metrics/eventbridge-custom.json | 36 ++ .../async-metrics/http-api.json | 36 ++ .../python39-amd64/async-metrics/kinesis.json | 36 ++ .../python39-amd64/async-metrics/s3.json | 36 ++ .../python39-amd64/async-metrics/sns.json | 36 ++ .../python39-amd64/async-metrics/sqs.json | 36 ++ .../async-metrics/websocket.json | 36 ++ .../sync-metrics/api-gateway-get.json | 102 +++++ .../python39-amd64/sync-metrics/appsync.json | 100 +++++ .../python39-amd64/sync-metrics/dynamodb.json | 102 +++++ .../sync-metrics/eventbridge-custom.json | 102 +++++ .../python39-amd64/sync-metrics/http-api.json | 102 +++++ .../python39-amd64/sync-metrics/kinesis.json | 102 +++++ .../python39-amd64/sync-metrics/s3.json | 102 +++++ .../python39-amd64/sync-metrics/sns.json | 102 +++++ .../python39-amd64/sync-metrics/sqs.json | 102 +++++ .../sync-metrics/websocket.json | 102 +++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python310-amd64/async-metrics/s3.json | 133 ++++++ .../python310-amd64/async-metrics/sns.json | 120 ++++++ .../python310-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python310-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python310-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python310-amd64/sync-metrics/s3.json | 166 ++++++++ .../python310-amd64/sync-metrics/sns.json | 153 +++++++ .../python310-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python311-amd64/async-metrics/s3.json | 133 ++++++ .../python311-amd64/async-metrics/sns.json | 120 ++++++ .../python311-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python311-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python311-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python311-amd64/sync-metrics/s3.json | 166 ++++++++ .../python311-amd64/sync-metrics/sns.json | 153 +++++++ .../python311-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python312-amd64/async-metrics/s3.json | 133 ++++++ .../python312-amd64/async-metrics/sns.json | 120 ++++++ .../python312-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python312-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python312-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python312-amd64/sync-metrics/s3.json | 166 ++++++++ .../python312-amd64/sync-metrics/sns.json | 153 +++++++ .../python312-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python313-amd64/async-metrics/s3.json | 133 ++++++ .../python313-amd64/async-metrics/sns.json | 120 ++++++ .../python313-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python313-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python313-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python313-amd64/sync-metrics/s3.json | 166 ++++++++ .../python313-amd64/sync-metrics/sns.json | 153 +++++++ .../python313-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python314-amd64/async-metrics/s3.json | 133 ++++++ .../python314-amd64/async-metrics/sns.json | 120 ++++++ .../python314-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python314-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python314-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python314-amd64/sync-metrics/s3.json | 166 ++++++++ .../python314-amd64/sync-metrics/sns.json | 153 +++++++ .../python314-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 128 ++++++ .../async-metrics/appsync.json | 84 ++++ .../async-metrics/dynamodb.json | 154 +++++++ .../async-metrics/eventbridge-custom.json | 114 +++++ .../async-metrics/http-api.json | 129 ++++++ .../async-metrics/kinesis.json | 122 ++++++ .../python315-amd64/async-metrics/s3.json | 133 ++++++ .../python315-amd64/async-metrics/sns.json | 120 ++++++ .../python315-amd64/async-metrics/sqs.json | 119 ++++++ .../async-metrics/websocket.json | 127 ++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++ .../python315-amd64/sync-metrics/appsync.json | 117 ++++++ .../sync-metrics/dynamodb.json | 187 +++++++++ .../sync-metrics/eventbridge-custom.json | 147 +++++++ .../sync-metrics/http-api.json | 162 +++++++ .../python315-amd64/sync-metrics/kinesis.json | 155 +++++++ .../python315-amd64/sync-metrics/s3.json | 166 ++++++++ .../python315-amd64/sync-metrics/sns.json | 153 +++++++ .../python315-amd64/sync-metrics/sqs.json | 152 +++++++ .../sync-metrics/websocket.json | 160 +++++++ .../async-metrics/api-gateway-get.json | 118 ++++++ .../python38-amd64/async-metrics/appsync.json | 76 ++++ .../async-metrics/dynamodb.json | 144 +++++++ .../async-metrics/eventbridge-custom.json | 104 +++++ .../async-metrics/http-api.json | 119 ++++++ .../python38-amd64/async-metrics/kinesis.json | 112 +++++ .../python38-amd64/async-metrics/s3.json | 123 ++++++ .../python38-amd64/async-metrics/sns.json | 110 +++++ .../python38-amd64/async-metrics/sqs.json | 109 +++++ .../async-metrics/websocket.json | 117 ++++++ .../sync-metrics/api-gateway-get.json | 147 +++++++ .../python38-amd64/sync-metrics/appsync.json | 105 +++++ .../python38-amd64/sync-metrics/dynamodb.json | 173 ++++++++ .../sync-metrics/eventbridge-custom.json | 133 ++++++ .../python38-amd64/sync-metrics/http-api.json | 148 +++++++ .../python38-amd64/sync-metrics/kinesis.json | 141 +++++++ .../spans/python38-amd64/sync-metrics/s3.json | 152 +++++++ .../python38-amd64/sync-metrics/sns.json | 139 ++++++ .../python38-amd64/sync-metrics/sqs.json | 138 ++++++ .../sync-metrics/websocket.json | 146 +++++++ .../async-metrics/api-gateway-get.json | 118 ++++++ .../python39-amd64/async-metrics/appsync.json | 76 ++++ .../async-metrics/dynamodb.json | 144 +++++++ .../async-metrics/eventbridge-custom.json | 104 +++++ .../async-metrics/http-api.json | 119 ++++++ .../python39-amd64/async-metrics/kinesis.json | 112 +++++ .../python39-amd64/async-metrics/s3.json | 123 ++++++ .../python39-amd64/async-metrics/sns.json | 110 +++++ .../python39-amd64/async-metrics/sqs.json | 109 +++++ .../async-metrics/websocket.json | 117 ++++++ .../sync-metrics/api-gateway-get.json | 147 +++++++ .../python39-amd64/sync-metrics/appsync.json | 105 +++++ .../python39-amd64/sync-metrics/dynamodb.json | 173 ++++++++ .../sync-metrics/eventbridge-custom.json | 133 ++++++ .../python39-amd64/sync-metrics/http-api.json | 148 +++++++ .../python39-amd64/sync-metrics/kinesis.json | 141 +++++++ .../spans/python39-amd64/sync-metrics/s3.json | 152 +++++++ .../python39-amd64/sync-metrics/sns.json | 139 ++++++ .../python39-amd64/sync-metrics/sqs.json | 138 ++++++ .../sync-metrics/websocket.json | 146 +++++++ tests/integration/harness/logs.py | 20 +- tests/integration/harness/snapshots.py | 395 ++++++++++++++++++ tests/integration/test_baseline.py | 282 ++++--------- tests/integration/test_snapshots.py | 82 ++++ tests/test_integration_harness.py | 207 +++++++++ 648 files changed, 38154 insertions(+), 217 deletions(-) create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json create mode 100644 tests/integration/harness/snapshots.py create mode 100644 tests/integration/test_snapshots.py diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 268a48958..aa39eb76b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,12 @@ We love pull requests. For new features, consider opening an issue to discuss th ```bash BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh ``` + Leave out `PYTHON_VERSION` to run every supported version, one after another. The tests that use the Datadog Extension (with a mock intake) use the latest Extension layer; set `DD_EXTENSION_LAYER_VERSION` to pin a version, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`. While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. +1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). To update them after an intended change: + 1. Run the suite with `UPDATE_EXPECTED=true`, locally (writes files for that runtime) or in CI with `RUN_PYTEST_INTEGRATION_TESTS=true UPDATE_EXPECTED=true` (each `integration-test-pytest` job saves `tests/integration/expected/` as an artifact; extract all of them into the repo). + 1. Fold the per-run files into defaults plus overrides: `cd tests/integration && python -m harness.snapshots dedupe`. + 1. Review the diff and commit it. 1. Push to your fork and [submit a pull request][pr]. [pr]: https://github.com/your-username/datadog-lambda-python/compare/DataDog:main...main diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index ab74a4f21..65eeab91b 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -162,6 +162,9 @@ integration-test-pytest ({{ $runtime.name }}-{{ $runtime.arch }}): - PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml artifacts: when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ reports: junit: tests/integration/integration-junit.xml retry: 1 diff --git a/scripts/run_integration_pytest.sh b/scripts/run_integration_pytest.sh index 47b78b31f..9d46b64ff 100755 --- a/scripts/run_integration_pytest.sh +++ b/scripts/run_integration_pytest.sh @@ -8,31 +8,52 @@ # Runs the pytest integration suite in tests/integration (SAM-deployed stack). # # Usage, from the repo root: -# PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY=XXXX \ +# ARCH=amd64 DD_API_KEY=XXXX \ # aws-vault exec sso-serverless-sandbox-account-admin -- ./scripts/run_integration_pytest.sh # +# Runs every Python version in python_versions.yaml, one after another (each +# deploys its own stack), unless PYTHON_VERSION is set. +# # Optional: -# BUILD_LAYERS=true build the layer first +# PYTHON_VERSION=3.13 run one version only (shorthand like 13 works too) +# BUILD_LAYERS=true build the layer(s) first # DD_EXTENSION_LAYER_VERSION=N pin the Datadog Extension version (default: latest; # "none" skips the extension / mock intake tests) -# INTEGRATION_STACK_NAME=... reuse a deployed stack (kept afterwards) -# KEEP_STACK=true keep the stack for debugging -# Extra arguments are passed to pytest, e.g. -k sqs +# INTEGRATION_STACK_NAME=... reuse a deployed stack (kept afterwards); needs PYTHON_VERSION +# KEEP_STACK=true keep the stack(s) for debugging +# UPDATE_EXPECTED=true write snapshots instead of comparing (see CONTRIBUTING.md) +# Extra arguments are passed to pytest, e.g. -k sqs. With several versions, +# --junitxml=.xml writes one -.xml per version. set -e scripts_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) repo_dir=$(dirname "$scripts_dir") +source "$scripts_dir/python_versions.sh" -for var in PYTHON_VERSION ARCH DD_API_KEY; do +for var in ARCH DD_API_KEY; do if [ -z "${!var}" ]; then echo "$var must be set" exit 1 fi done -if [ -n "$BUILD_LAYERS" ]; then - PYTHON_VERSION=$PYTHON_VERSION ARCH=$ARCH "$scripts_dir/build_layers.sh" +if [ -n "$PYTHON_VERSION" ]; then + if [[ "$PYTHON_VERSION" =~ ^[0-9]+$ ]]; then + PYTHON_VERSION="3.${PYTHON_VERSION}" + fi + if [[ ! " ${SUPPORTED_PYTHON_VERSIONS[*]} " =~ " ${PYTHON_VERSION} " ]]; then + echo "Python version $PYTHON_VERSION is not supported. Choose from: ${SUPPORTED_PYTHON_VERSIONS[*]}" + exit 1 + fi + versions=("$PYTHON_VERSION") +else + if [ -n "$INTEGRATION_STACK_NAME" ]; then + echo "INTEGRATION_STACK_NAME reuses one runtime's stack; set PYTHON_VERSION too" + exit 1 + fi + versions=("${SUPPORTED_PYTHON_VERSIONS[@]}") + echo "PYTHON_VERSION not set, running all versions: ${versions[*]}" fi marker_args=() @@ -41,5 +62,37 @@ if [ "$DD_EXTENSION_LAYER_VERSION" = "none" ]; then marker_args=(-m "not extension") fi -cd "$repo_dir/tests/integration" -python -m pytest "${marker_args[@]}" "$@" +failed=() +for version in "${versions[@]}"; do + echo "=== Python $version ($ARCH) ===" + + # One JUnit file per version, so runs don't overwrite each other. + pytest_args=() + for arg in "$@"; do + if [ ${#versions[@]} -gt 1 ] && [[ "$arg" == --junitxml=*.xml ]]; then + arg="${arg%.xml}-${version}.xml" + fi + pytest_args+=("$arg") + done + + # Keep going after a failure, so one run covers every version. + set +e + ( + set -e + if [ -n "$BUILD_LAYERS" ]; then + PYTHON_VERSION=$version ARCH=$ARCH "$scripts_dir/build_layers.sh" + fi + cd "$repo_dir/tests/integration" + PYTHON_VERSION=$version python -m pytest "${marker_args[@]}" "${pytest_args[@]}" + ) + status=$? + set -e + if [ $status -ne 0 ]; then + failed+=("$version") + fi +done + +if [ ${#versions[@]} -gt 1 ]; then + echo "=== Ran ${#versions[@]} versions on $ARCH; failed: ${failed[*]:-none} ===" +fi +[ ${#failed[@]} -eq 0 ] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python310-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python310-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..e9b0c4812 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:035b0c47e4f954;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:035b0c47e4f954;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..428c0e3ed --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d47fb63ea41f56;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d47fb63ea41f56;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..db88b59f7 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0c8154ed1acffc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0c8154ed1acffc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..1d6cf6688 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4613c29aab0156;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4613c29aab0156;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a1673f78e --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9d94e90140861d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9d94e90140861d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json new file mode 100644 index 000000000..92bb25bd7 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b4cfb5e34429ef;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b4cfb5e34429ef;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json new file mode 100644 index 000000000..1b1d6f0a1 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:5c9b65acff0834;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:5c9b65acff0834;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..be212b4ea --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7110f4694b6584;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7110f4694b6584;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..41865597c --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9adc7cd13fea3d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9adc7cd13fea3d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..0636d6626 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:08ccab1a5b4a5e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:08ccab1a5b4a5e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11e1ae81401d4a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..9a785d886 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:181a3faeab94c6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..08984e3c0 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8b18caa080329b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8b18caa080329b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75721dfcf804f0;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a5897d345 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cfe415ef8515e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cfe415ef8515e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3fbcffb52c21d3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..0c86dae38 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c785997ea1d821;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c785997ea1d821;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7e1e98056afafa;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..93230065d --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0be5502d4f6453;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0be5502d4f6453;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a54dce5c4f591f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..e7958ab4f --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:03cd1492a8024c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:03cd1492a8024c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8647d1082aaf0e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..3effa1364 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfb6a49c285e65;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfb6a49c285e65;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:89e60eea2c1c1a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..c8401b3e0 --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3e3ee46a3b512;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3e3ee46a3b512;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2c8b75f30799e8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..baeac258c --- /dev/null +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:42f7ad4c4aca13;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:42f7ad4c4aca13;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4eade89673e1a8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..2ecff1d97 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:254718d268555c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:254718d268555c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..0cf3d0014 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8d06f781d75ab1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8d06f781d75ab1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0040119d7 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:010ec20b2d7f6f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:010ec20b2d7f6f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..1e4dd898e --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:09edaa65dff3b5;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:09edaa65dff3b5;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..49fe06f7f --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75f12e09bc0d74;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75f12e09bc0d74;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json new file mode 100644 index 000000000..98093d1d7 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1060ce849bad64;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1060ce849bad64;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json new file mode 100644 index 000000000..da64f6461 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:dc22f557141091;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:dc22f557141091;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..bfeb95463 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67bedc60e83a19;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67bedc60e83a19;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..bb7d864cf --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4c57f789910a4a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4c57f789910a4a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..8a53ee29e --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c65fadb25d4840;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c65fadb25d4840;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1273670c441238;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..c1bfa5289 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:34b4416468b911;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..ea290efed --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e5fe78a9729419;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e5fe78a9729419;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:267eb68bfed91e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..8246e8e75 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e6d0ef4bac6c45;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e6d0ef4bac6c45;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b71d8ff1f376d4;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..d9730e7f7 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a220ea2c8a01e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a220ea2c8a01e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:22d3eb8d398752;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a29f652a7 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db8a69af47a07f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db8a69af47a07f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:63a42b0cdbb0d1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..5cb52c272 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0b6f76b8c77ddd;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0b6f76b8c77ddd;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c30c87f7306b82;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..8b06e76cf --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:69f34d8f2719df;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:69f34d8f2719df;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:594f59023555bc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..78bd570c0 --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a272c473890d4b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a272c473890d4b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e77dc2d16021e8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..e248dfd6c --- /dev/null +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a48bf43f098357;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a48bf43f098357;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:020bd211bcbea6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..8a5a45ee6 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3cabce076fd012;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3cabce076fd012;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..8d1f6dcd6 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8ec738a6ec2eb1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8ec738a6ec2eb1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0594c2fa1 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e396650695a951;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e396650695a951;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..a82a39451 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1f0b472ed56d92;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1f0b472ed56d92;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..b0fc3ec47 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0cfaab8ab7a39c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0cfaab8ab7a39c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json new file mode 100644 index 000000000..78b77e1b5 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4a8d634940578;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4a8d634940578;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json new file mode 100644 index 000000000..8daaa2c34 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bb8ae1192b85ad;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bb8ae1192b85ad;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..35a10e94d --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e43383feab2f30;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e43383feab2f30;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..b3dac4328 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7f65f5eb34e944;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7f65f5eb34e944;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..03f12e3c7 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c711436fc51703;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c711436fc51703;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a97bdb3c1e5d50;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..4e41f4331 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff2953cb2e936c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..5e1c9ce34 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bae5d61acefa1d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bae5d61acefa1d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d2e3922d8c6942;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda65b988 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3ac71846c9ffa;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3ac71846c9ffa;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6bc9e6b1606723;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..43e81a30c --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d4c76e53aac675;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d4c76e53aac675;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:70dfd7fd8d9e20;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..d113dd1f1 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f5b400a2d4fbd6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f5b400a2d4fbd6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:32389109793652;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..e0c4a28b9 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d811980ea84349;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d811980ea84349;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c8e84f67a615d3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..7efb35312 --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:fc727245ebca0f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:fc727245ebca0f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:86ddca881047a5;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..d66dda23f --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a0956dd2a4ea6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a0956dd2a4ea6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d27a09d7d9c516;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..320617b3e --- /dev/null +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:001430c3b22d4c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:001430c3b22d4c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d9ea9cfc2ca9fe;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..b0aca7732 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bef0988d612d7a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bef0988d612d7a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..6c4eec6ae --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:af4721e0c86913;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:af4721e0c86913;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..4382585bc --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e12fd1cc67c985;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e12fd1cc67c985;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..72fd57ae6 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db1089aa829e84;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db1089aa829e84;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..7634a1461 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:389a780ec4a97d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:389a780ec4a97d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dff3199a9 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6cd42824954c77;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6cd42824954c77;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json new file mode 100644 index 000000000..4a0e85c15 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b6f37ccb5dd47;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b6f37ccb5dd47;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..94c316718 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8111ef8b38b832;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8111ef8b38b832;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..d9e072696 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e067fcd07b8d4f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e067fcd07b8d4f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..337ce0d42 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4f6c19097932a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4f6c19097932a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:576585d0475f41;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..77dfd658c --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:cdf742f0ab8468;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..781aa87f2 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9c476916b0fd37;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9c476916b0fd37;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1a3985e18c92a1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..d5b8ebf60 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:917de58689e062;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:917de58689e062;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75e6112c752b78;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..337e8ff13 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0f7d870bc9fec3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0f7d870bc9fec3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff21c37d300a41;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..01db00b97 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ddfbdc5051f534;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ddfbdc5051f534;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e2bc7322461741;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..93f1db403 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9f581aaa17de;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9f581aaa17de;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e0f2f5c6831fb3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..145df2036 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:430e6efe382025;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:430e6efe382025;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:28bc66d41a3c23;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..9d2177f89 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c3fce776e0eb44;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c3fce776e0eb44;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:33855ca25053fc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..1dda32465 --- /dev/null +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:203b447dd21f10;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:203b447dd21f10;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:216764e9bd740b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..87b110fef --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:52e15b7eef8d2d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:52e15b7eef8d2d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..a197577d9 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..4bac29039 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2794134dc253db;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2794134dc253db;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..e0a89e518 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:926b41226f6278;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:926b41226f6278;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..51ed5e3cc --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff6e4f641eefb4;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff6e4f641eefb4;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..cecc3482b --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:60c5fd5e0737ab;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:60c5fd5e0737ab;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json new file mode 100644 index 000000000..1e3c440e7 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed467d6ff67139;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed467d6ff67139;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json new file mode 100644 index 000000000..4943b43b9 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ef89e31b738bbc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ef89e31b738bbc;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..914333996 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d7d2f0a493e7d6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d7d2f0a493e7d6;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..c2fdc72b5 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:445e4150ad29f2;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:445e4150ad29f2;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..4b54269b4 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:834f0a6b78f623;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:834f0a6b78f623;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9dd84789d34c;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..7ce8f48e5 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e7c25b8a3e97fa;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..e7392d712 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d8a8e3ecce8014;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d8a8e3ecce8014;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2700756b206269;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..da374ed9d --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8605dd358c3d9b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8605dd358c3d9b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:991567364ff8ae;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..2e347ae3d --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c0af2d0238c40d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c0af2d0238c40d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:afdbf2c1dee299;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..b68440a80 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:715cc5c40a536a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:715cc5c40a536a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:518e36a3c3a16e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..a82770d32 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d724e1d8834ed2;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d724e1d8834ed2;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:761d6e29ca4b3e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..fe9fe2099 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:74bf57e6053b62;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:74bf57e6053b62;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f246190eab5c16;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..224d0df64 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:00a42d53ae71a3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:00a42d53ae71a3;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c348b01b0cdc63;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..67ef7f8a1 --- /dev/null +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11949694567180;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11949694567180;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ecee043e92d4e1;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..d9ae8ec17 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1b0dcdc4578ed4;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1b0dcdc4578ed4;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..a197577d9 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..8de20bc19 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:77df9897ef7e64;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:77df9897ef7e64;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..5271bcf6d --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1d933c25395b7a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1d933c25395b7a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..9f0efe3fe --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b4c342556670d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b4c342556670d;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..340ef9e98 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1ac3d371e9ea1b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1ac3d371e9ea1b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json new file mode 100644 index 000000000..51e17e707 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67cd81798f31a5;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67cd81798f31a5;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json new file mode 100644 index 000000000..a7d94f0a0 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:372d06603fb5c7;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:372d06603fb5c7;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..ba7f473de --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7d542bde27958b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7d542bde27958b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..598679ea6 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a3fafae8ef0d02;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a3fafae8ef0d02;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..e426aefd8 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a0fb6805b9909e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a0fb6805b9909e;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:636d46fdeeff33;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..3e57f50fd --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d9d9a8cf7229fe;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..2640a898a --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a50fa81ff21d67;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a50fa81ff21d67;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6bae8574c7e77f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a686e31d6 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ba35beeba206a8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ba35beeba206a8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:63c19f8c07ae24;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..446d0056c --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:94b2ee461b719a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:94b2ee461b719a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e79aa2645c0272;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..968886bfc --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9b3205d6b970df;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9b3205d6b970df;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cbb1897deb131;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..8f5b45a62 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:abc2250802c24f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:abc2250802c24f;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d748384c9e0f6a;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..30c558bfd --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3e6a36123c2ee8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3e6a36123c2ee8;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfa21e06f24286;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..cbfddb80d --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:46c9f66b150e6b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:46c9f66b150e6b;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:022b04988600a2;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..918372372 --- /dev/null +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:35c5cb49137e33;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:35c5cb49137e33;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9056f416988080;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python38-amd64/async-metrics/s3.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python38-amd64/async-metrics/sns.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..75dc98b46 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..75dc98b46 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python310-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python310-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..8df0c4976 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,118 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..7cc408074 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json @@ -0,0 +1,76 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..9da2ed692 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json @@ -0,0 +1,144 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..c3063bda7 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,104 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..db5b7ac25 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..ba7edd1eb --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json @@ -0,0 +1,112 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python38-amd64/async-metrics/s3.json new file mode 100644 index 000000000..ab6b746b0 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/s3.json @@ -0,0 +1,123 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python38-amd64/async-metrics/sns.json new file mode 100644 index 000000000..16de9a831 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/sns.json @@ -0,0 +1,110 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fc5c4f8d9 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json @@ -0,0 +1,109 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..b4073f119 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..bea165742 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..18a6db545 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json @@ -0,0 +1,105 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..610c3b5fb --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,173 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..6d1b12625 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..711fe6bcb --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json @@ -0,0 +1,148 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..24eb6dc78 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json @@ -0,0 +1,141 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..b94621902 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..a67fb4ac5 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json @@ -0,0 +1,139 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..8aeb5c344 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json @@ -0,0 +1,138 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..3fdef7d50 --- /dev/null +++ b/tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json @@ -0,0 +1,146 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..8df0c4976 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json @@ -0,0 +1,118 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json new file mode 100644 index 000000000..7cc408074 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json @@ -0,0 +1,76 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json new file mode 100644 index 000000000..9da2ed692 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json @@ -0,0 +1,144 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..c3063bda7 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json @@ -0,0 +1,104 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json new file mode 100644 index 000000000..db5b7ac25 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json new file mode 100644 index 000000000..ba7edd1eb --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json @@ -0,0 +1,112 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json new file mode 100644 index 000000000..ab6b746b0 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json @@ -0,0 +1,123 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json new file mode 100644 index 000000000..16de9a831 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json @@ -0,0 +1,110 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json new file mode 100644 index 000000000..fc5c4f8d9 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json @@ -0,0 +1,109 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json new file mode 100644 index 000000000..b4073f119 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..bea165742 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json new file mode 100644 index 000000000..18a6db545 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json @@ -0,0 +1,105 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..610c3b5fb --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json @@ -0,0 +1,173 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..6d1b12625 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json new file mode 100644 index 000000000..711fe6bcb --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json @@ -0,0 +1,148 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json new file mode 100644 index 000000000..24eb6dc78 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json @@ -0,0 +1,141 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json new file mode 100644 index 000000000..b94621902 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json new file mode 100644 index 000000000..a67fb4ac5 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json @@ -0,0 +1,139 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json new file mode 100644 index 000000000..8aeb5c344 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json @@ -0,0 +1,138 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json new file mode 100644 index 000000000..3fdef7d50 --- /dev/null +++ b/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json @@ -0,0 +1,146 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/harness/logs.py b/tests/integration/harness/logs.py index 630b4c8ea..f68196dec 100644 --- a/tests/integration/harness/logs.py +++ b/tests/integration/harness/logs.py @@ -93,6 +93,8 @@ class Metric: value: float tags: List[str] timestamp: Optional[float] = None + # The whole logged object, so snapshots also see fields not modeled here. + raw: Dict[str, Any] = field(default_factory=dict) def tag(self, key: str) -> Optional[str]: prefix = key + ":" @@ -130,6 +132,9 @@ class InvocationLogs: spans: List[Span] = field(default_factory=list) metrics: List[Metric] = field(default_factory=list) http_requests: List[HttpRequest] = field(default_factory=list) + # Lines that are none of the above, nor the runtime's START/END/REPORT + # (warnings, prints, unparseable output...), in order. + other_lines: List[str] = field(default_factory=list) @property def complete(self) -> bool: @@ -208,23 +213,28 @@ def _absorb(inv: InvocationLogs, line: str) -> None: value=obj["v"], tags=obj.get("t", []), timestamp=obj.get("e"), + raw=obj, ) ) return request = parse_http_request(line) if request: inv.http_requests.append(request) + return + inv.other_lines.append(line) def split_invocations(stream_lines: List[str]) -> Dict[str, InvocationLogs]: """Group the lines of ONE log stream (one execution environment) by request ID. Lines before the first START (the INIT phase) are attached to the first - invocation as `init_lines`. + invocation as `init_lines`; lines between invocations go to the next one's + `init_lines`, and lines after the last REPORT to the last invocation. """ invocations: Dict[str, InvocationLogs] = {} pending_init: List[str] = [] current: Optional[InvocationLogs] = None + last: Optional[InvocationLogs] = None for raw in stream_lines: line = raw.rstrip("\n") @@ -245,6 +255,7 @@ def split_invocations(stream_lines: List[str]) -> Dict[str, InvocationLogs]: ) inv.report = parse_report(line) current = None + last = inv continue if _END_RE.match(line): continue @@ -255,6 +266,13 @@ def split_invocations(stream_lines: List[str]) -> Dict[str, InvocationLogs]: current.lines.append(line) _absorb(current, line) + # Output after the stream's last REPORT (e.g. at shutdown) belongs to the + # last invocation; nothing else could have produced it. + if pending_init and last is not None: + last.lines.extend(pending_init) + for line in pending_init: + _absorb(last, line) + for inv in invocations.values(): for line in inv.init_lines: _absorb(inv, line) diff --git a/tests/integration/harness/snapshots.py b/tests/integration/harness/snapshots.py new file mode 100644 index 000000000..6f238b7d6 --- /dev/null +++ b/tests/integration/harness/snapshots.py @@ -0,0 +1,395 @@ +"""Structured snapshots of spans, outgoing requests, metrics, and other log lines. + +Each invocation's output is normalized (only values that legitimately change +between runs are replaced with placeholders), then compared with a checked-in +JSON file. Unlike the old line-sorted text snapshots, span parent links are +kept (as labels), and every tag and header is compared. + +Layout: expected////.json, where variant is +the most specific of "-", "", "default" that +exists. `UPDATE_EXPECTED=true` writes "-" files for the +current run; `python -m harness.snapshots dedupe` (from tests/integration) +folds them into "default" plus overrides only where output really differs. + +Pure Python, no AWS dependencies; unit tested in tests/test_integration_harness.py. +""" + +from __future__ import annotations + +import difflib +import json +import re +import shutil +import sys +from collections import Counter +from dataclasses import dataclass +from pathlib import Path +from typing import Any, Dict, Iterable, List, Optional, Tuple + +EXPECTED_DIR = Path(__file__).resolve().parent.parent / "expected" +CATEGORIES = ("spans", "requests", "metrics", "logs") +ARCHES = ("amd64", "arm64") + +_MIN_LITERAL_LEN = 8 +_VERSION_RE = re.compile(r"\d+(?:\.\d+)+(?:\.?(?:dev|rc|a|b)\d+)?") +_ARCH_RE = re.compile(r"\b(?:x86_64|aarch64)\b") +_TRACEPARENT_RE = re.compile(r"^00-[0-9a-f]{32}-[0-9a-f]{16}-([0-9a-f]{2})$") + + +@dataclass(frozen=True) +class Context: + """Run-specific literals to replace, so snapshots are stable across runs.""" + + function_name: str + request_id: str + account_id: str + runtime: str # python3.13 + runtime_key: str # python313 + + def substitutions(self) -> List[Tuple[str, str]]: + # Longest first: the function name contains the runtime key. + return [ + (self.function_name, ""), + (self.function_name.lower(), ""), + (self.request_id, ""), + (self.account_id, ""), + (self.runtime, ""), + (self.runtime_key, ""), + ] + + +def _sub_literals(value: Any, ctx: Context) -> Any: + if isinstance(value, str): + for literal, placeholder in ctx.substitutions(): + # Short literals would match inside unrelated text. + if len(literal) >= _MIN_LITERAL_LEN: + value = value.replace(literal, placeholder) + return value + if isinstance(value, list): + return [_sub_literals(v, ctx) for v in value] + if isinstance(value, dict): + return {k: _sub_literals(v, ctx) for k, v in value.items()} + return value + + +def _versions(value: str) -> str: + return _ARCH_RE.sub("", _VERSION_RE.sub("X", value)) + + +# -------------------------------------------------------------------------- +# Spans +# -------------------------------------------------------------------------- + +# Values that change on every run. Keys not listed are compared exactly. +_SPAN_META_RULES = { + "runtime-id": lambda v: "", + "_dd.p.tid": lambda v: "" if re.fullmatch(r"[0-9a-f]{16}", v) else v, + "datadog_lambda": lambda v: "", + "dd_trace": lambda v: "", + "http.useragent": _versions, +} +_SPAN_METRIC_RULES = { + "process_id": lambda v: "", +} + + +def span_label(raw: Dict[str, Any]) -> str: + meta = raw.get("meta", {}) + label = "%s %s" % (raw.get("name"), raw.get("resource")) + if meta.get("http.url"): + label += " " + meta["http.url"] + return label + + +# Per-span fields that change on every run; links between spans are checked by +# ID in test_baseline.py and recorded here as parent labels. +_SPAN_DROPPED_FIELDS = ("trace_id", "span_id", "parent_id", "start", "duration") + + +def _link_id(value: Any) -> Any: + # Span pointer links carry zero IDs; anything else is run-specific. + try: + return value if int(str(value), 16) == 0 else "" + except ValueError: + return value + + +def _normalize_span_link(link: Dict[str, Any]) -> Dict[str, Any]: + link = dict(link) + for key in ("trace_id", "span_id", "trace_id_high"): + if key in link: + link[key] = _link_id(link[key]) + return link + + +def normalize_spans(raw_spans: Iterable[Dict[str, Any]], ctx: Context) -> List[Dict]: + """Every span field except IDs and timings; each span records its parent's label.""" + raw_spans = list(raw_spans) + by_id = {str(s.get("span_id")): s for s in raw_spans} + out = [] + for raw in raw_spans: + parent = by_id.get(str(raw.get("parent_id"))) + span = {k: v for k, v in raw.items() if k not in _SPAN_DROPPED_FIELDS} + span["meta"] = { + k: _SPAN_META_RULES[k](v) if k in _SPAN_META_RULES else v + for k, v in raw.get("meta", {}).items() + } + span["metrics"] = { + k: _SPAN_METRIC_RULES[k](v) if k in _SPAN_METRIC_RULES else v + for k, v in raw.get("metrics", {}).items() + } + if "span_links" in raw: + span["span_links"] = [ + _normalize_span_link(link) for link in raw["span_links"] + ] + span["label"] = span_label(raw) + span["parent"] = span_label(parent) if parent else None + out.append(_sub_literals(span, ctx)) + return sorted(out, key=lambda s: (s["label"], s["parent"] or "")) + + +# -------------------------------------------------------------------------- +# Outgoing HTTP requests (logged by DD_INTEGRATION_TEST) +# -------------------------------------------------------------------------- + + +def _traceparent(v: str) -> str: + m = _TRACEPARENT_RE.match(v) + return "00---%s" % m.group(1) if m else v + + +def _tracestate(v: str) -> str: + v = re.sub(r"\bp:[0-9a-f]{16}\b", "p:", v) + return re.sub(r"\bt\.tid:[0-9a-f]{16}\b", "t.tid:", v) + + +def _digits(placeholder: str): + return lambda v: placeholder if re.fullmatch(r"\d+", v) else v + + +_HEADER_RULES = { + "traceparent": _traceparent, + "tracestate": _tracestate, + "x-datadog-trace-id": _digits(""), + "x-datadog-parent-id": _digits(""), + "x-datadog-tags": lambda v: re.sub( + r"_dd\.p\.tid=[0-9a-f]{16}", "_dd.p.tid=", v + ), + "content-length": _digits(""), + "dd-api-key": lambda v: "", + "user-agent": _versions, +} + + +def _metric_tag(tag: str) -> str: + key, _, value = tag.partition(":") + if key == "datadog_lambda": + return "datadog_lambda:" + if key == "dd_lambda_layer": + return "dd_lambda_layer:" + _VERSION_RE.sub("", value) + return tag + + +def _normalize_request_data(data: Any) -> Any: + if isinstance(data, dict) and isinstance(data.get("series"), list): + series = [] + for s in data["series"]: + s = dict(s) + s["points"] = [["", p[1]] for p in s.get("points", [])] + s["tags"] = sorted(_metric_tag(t) for t in s.get("tags") or []) + series.append(s) + data = dict(data, series=sorted(series, key=lambda s: s.get("metric", ""))) + return data + + +def normalize_requests(requests: Iterable[Any], ctx: Context) -> List[Dict]: + out = [] + for r in requests: + headers = {} + for key, value in r.headers.items(): + rule = _HEADER_RULES.get(key.lower()) + headers[key] = rule(value) if rule else value + out.append( + _sub_literals( + { + "method": r.method, + "url": r.url, + "headers": headers, + "data": _normalize_request_data(r.data), + }, + ctx, + ) + ) + return sorted(out, key=lambda r: (r["method"], r["url"])) + + +# -------------------------------------------------------------------------- +# Metrics (written to logs: enhanced metrics, and custom ones with DD_FLUSH_TO_LOG) +# -------------------------------------------------------------------------- + + +def normalize_metrics(metrics: Iterable[Any], ctx: Context) -> List[Dict]: + """Every logged metric field except the timestamp ("e").""" + out = [] + for m in metrics: + raw = dict(m.raw) if m.raw else {"m": m.name, "v": m.value, "t": m.tags} + raw.pop("e", None) + raw["t"] = sorted(_metric_tag(t) for t in raw.get("t") or []) + out.append(_sub_literals(raw, ctx)) + return sorted(out, key=lambda m: (m.get("m", ""), m["t"])) + + +# -------------------------------------------------------------------------- +# Other log lines +# -------------------------------------------------------------------------- + +# Lines written by the Lambda platform, not by the library or the function. +_PLATFORM_LINE_RES = [ + re.compile(p) + for p in ( + r"^INIT_START ", + r"^INIT_REPORT ", + r"^EXTENSION\s", + r"^TELEMETRY\s", + r"init complete at epoch", # preview runtimes + r"main started at epoch", # preview runtimes + r"\[tls-profile\]", # preview runtimes + ) +] +_ISO_TS_RE = re.compile(r"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?") +_HEX_ADDR_RE = re.compile(r"\b0x[0-9a-f]{6,}\b") + + +def normalize_log_lines(lines: Iterable[str], ctx: Context) -> List[str]: + """Lines the parser did not recognize (warnings, prints, unparseable output), + minus platform lines, with timestamps and memory addresses replaced.""" + out = [] + for line in lines: + if any(r.search(line) for r in _PLATFORM_LINE_RES): + continue + line = _HEX_ADDR_RE.sub("", _ISO_TS_RE.sub("", line)) + out.append(_sub_literals(line.rstrip(), ctx)) + return sorted(out) + + +# -------------------------------------------------------------------------- +# Files +# -------------------------------------------------------------------------- + + +def variants(runtime_key: str, arch: str) -> List[str]: + """Lookup order, most specific first.""" + return ["%s-%s" % (runtime_key, arch), runtime_key, "default"] + + +def _path(root: Path, category: str, variant: str, function: str, event: str) -> Path: + return root / category / variant / function / (event + ".json") + + +def resolve( + category: str, + runtime_key: str, + arch: str, + function: str, + event: str, + root: Path = EXPECTED_DIR, +) -> Optional[Path]: + for variant in variants(runtime_key, arch): + path = _path(root, category, variant, function, event) + if path.exists(): + return path + return None + + +def dumps(value: Any) -> str: + return json.dumps(value, indent=2, sort_keys=True) + "\n" + + +def write_current( + category: str, + runtime_key: str, + arch: str, + function: str, + event: str, + value: Any, + root: Path = EXPECTED_DIR, +) -> Path: + path = _path(root, category, "%s-%s" % (runtime_key, arch), function, event) + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(dumps(value)) + return path + + +def diff(expected_text: str, actual: Any, expected_name: str) -> str: + return "".join( + difflib.unified_diff( + expected_text.splitlines(True), + dumps(actual).splitlines(True), + fromfile=expected_name, + tofile="actual", + n=4, + ) + ) + + +def dedupe(runtime_keys: List[str], root: Path = EXPECTED_DIR) -> None: + """Fold per-run files into 'default' plus overrides that really differ. + + For every runtime/arch combination, the effective snapshot is whatever + resolve() finds today (fresh "-" files win). The most + common one becomes "default"; a runtime gets a "" file when + both arches agree on something else, or "-" files when + the arches differ. + """ + for category in CATEGORIES: + cat_dir = root / category + if not cat_dir.exists(): + continue + cases = sorted({(p.parent.name, p.stem) for p in cat_dir.glob("*/*/*.json")}) + plans = {} + for function, event in cases: + effective = {} + for rk in runtime_keys: + for arch in ARCHES: + path = resolve(category, rk, arch, function, event, root) + if path: + effective[(rk, arch)] = path.read_text() + if not effective: + continue + default = Counter(effective.values()).most_common(1)[0][0] + files = {"default": default} + for rk in runtime_keys: + per_arch = { + a: effective[(rk, a)] for a in ARCHES if (rk, a) in effective + } + if not per_arch: + continue + if len(set(per_arch.values())) == 1: + content = next(iter(per_arch.values())) + if content != default: + files[rk] = content + else: + for arch, content in per_arch.items(): + if content != default: + files["%s-%s" % (rk, arch)] = content + plans[(function, event)] = files + + shutil.rmtree(cat_dir) + for (function, event), files in plans.items(): + for variant, content in files.items(): + path = _path(root, category, variant, function, event) + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(content) + + +def _supported_runtime_keys() -> List[str]: + text = (EXPECTED_DIR.parent.parent.parent / "python_versions.yaml").read_text() + versions = re.findall(r'^\s*- version:\s*"?(\d+\.\d+)"?', text, re.M) + return ["python" + v.replace(".", "") for v in versions] + + +if __name__ == "__main__": + if sys.argv[1:] != ["dedupe"]: + sys.exit("usage: python -m harness.snapshots dedupe") + dedupe(_supported_runtime_keys()) + print("Deduplicated snapshots in %s" % EXPECTED_DIR) diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index a57b1d8ea..cf511433a 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -1,93 +1,24 @@ """Baseline: the library on its own (no extension), invoked once per trigger type. -These replace the log and return-value snapshots of -scripts/run_integration_tests.sh with assertions on the parsed output. +Field values (every span tag, request header, and metric tag) are covered by +the structured snapshots in test_snapshots.py. The tests here check what a +snapshot cannot, because it drops IDs and run-specific values, plus a few +invariants that must hold however the snapshots are regenerated. """ from __future__ import annotations -from urllib.parse import urlparse - import pytest from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES, load_event -SERVICE = "integration-tests-python" - -# Per trigger: the function_trigger.event_source tag on aws.lambda, and the -# inferred span the library creates from the event (None if it creates none). -TRIGGERS = { - "api-gateway-get": { - "event_source": "api-gateway", - "inferred": ( - "aws.apigateway", - "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "GET /", - "sync", - ), - }, - "appsync": {"event_source": None, "inferred": None}, - "dynamodb": { - "event_source": "dynamodb", - "inferred": ( - "aws.dynamodb", - "ExampleTableWithStream", - "ExampleTableWithStream", - "async", - ), - "extra_metrics": ["datadog.serverless.dynamodb.stream.type"], - }, - "eventbridge-custom": { - "event_source": "eventbridge", - "inferred": ( - "aws.eventbridge", - "eventbridge.custom.event.sender", - "eventbridge.custom.event.sender", - "async", - ), - }, - "http-api": { - "event_source": "api-gateway", - "inferred": ( - "aws.httpapi", - "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "GET /httpapi/get", - "sync", - ), - }, - "kinesis": { - "event_source": "kinesis", - "inferred": ("aws.kinesis", "EXAMPLE", "EXAMPLE", "async"), - }, - "s3": { - "event_source": "s3", - "inferred": ("aws.s3", "example-bucket", "example-bucket", "async"), - }, - "sns": { - "event_source": "sns", - "inferred": ("aws.sns", "sns-lambda", "sns-lambda", "async"), - }, - "sqs": { - "event_source": "sqs", - "inferred": ("aws.sqs", "my-queue", "my-queue", "async"), - }, - "websocket": { - "event_source": "api-gateway", - "inferred": ( - "aws.apigateway.websocket", - "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "$default", - "sync", - ), - }, -} - CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] CASE_IDS = ["%s-%s" % c for c in CASES] - - -def test_every_input_event_has_expectations(): - assert sorted(TRIGGERS) == EVENT_NAMES +# The handler calls https://datadoghq.com, which redirects to www. +FIRST_URL = "https://datadoghq.com/" +REDIRECT_URL = "https://www.datadoghq.com/" +# Where sync custom metrics are sent (datadogpy), traced as its own root span. +METRICS_FLUSH_PATH = "/api/v1/distribution_points" @pytest.fixture(params=CASES, ids=CASE_IDS) @@ -102,8 +33,21 @@ def _function_span(inv): return spans[0] -def _is_cold(event_name): - return event_name == EVENT_NAMES[0] +def _request_span(inv, url): + spans = [ + s + for s in inv.logs.spans_named("requests.request") + if s.meta.get("http.url") == url + ] + assert len(spans) == 1, "expected one requests.request span for %s" % url + return spans[0] + + +def _describe_span_id(inv, span_id): + for s in inv.logs.spans: + if s.span_id == span_id: + return "%s (%s)" % (s.name, s.meta.get("http.url") or s.resource) + return "no span in this invocation" def test_return_value(case): @@ -132,144 +76,70 @@ def test_no_errors_logged(case): assert inv.logs.error_lines() == [] -def test_cold_start(case): +def test_init_duration_only_on_cold_start(case): + # The cold_start tag itself is in the snapshots; this ties it to what the + # Lambda runtime reports. _, event_name, inv = case - cold = _is_cold(event_name) - assert _function_span(inv).meta.get("cold_start") == str(cold).lower() + cold = event_name == EVENT_NAMES[0] assert (inv.logs.report.init_duration_ms is not None) == cold + assert _function_span(inv).meta.get("cold_start") == str(cold).lower() -def test_function_span(case, run_settings): - _, event_name, inv = case - span = _function_span(inv) - expected = TRIGGERS[event_name] - - assert span.service == SERVICE - assert span.resource == inv.function_name - assert span.type == "serverless" - assert span.error == 0 - assert span.meta["span.kind"] == "server" - assert span.meta["functionname"] == inv.function_name.lower() - assert span.meta["function_arn"].endswith(":function:" + inv.function_name.lower()) - assert span.meta["function_version"] == "$LATEST" - assert span.meta["request_id"] == inv.request_id - assert span.meta.get("function_trigger.event_source") == expected["event_source"] +def test_single_trace(case): + _, _, inv = case + # Without the extension, custom metrics are POSTed to the Datadog API after + # the function and inferred spans have finished (sync-metrics), so ddtrace + # traces that call as its own root span. It is not part of the invocation's + # trace, so leave it out. The snapshots record it as a root span. + spans = [ + s + for s in inv.logs.spans + if not s.meta.get("http.url", "").endswith(METRICS_FLUSH_PATH) + ] + trace_ids = {s.trace_id for s in spans} + assert len(trace_ids) == 1, "spans span %d traces: %r" % ( + len(trace_ids), + spans, + ) -def test_inferred_span(case): - _, event_name, inv = case - expected = TRIGGERS[event_name]["inferred"] +def test_span_links_by_id(case): + """Parent links by actual span ID (snapshots only record parent labels).""" + _, _, inv = case function_span = _function_span(inv) inferred = [s for s in inv.logs.spans if s.metrics.get("_dd._inferred_span") == 1] - if expected is None: - assert inferred == [] - # Without an inferred span, aws.lambda is the trace's local root. - assert function_span.meta["language"] == "python" - return - - name, service, resource, synchronicity = expected - assert len(inferred) == 1, inferred - span = inferred[0] - assert (span.name, span.service, span.resource) == (name, service, resource) - assert span.meta["_inferred_span.synchronicity"] == synchronicity - assert span.meta["_inferred_span.tag_source"] == "self" - # ddtrace tags the local root span, which is the inferred span here. - assert span.meta["language"] == "python" - # The inferred span is the parent of the function span, in the same trace. - assert function_span.parent_id == span.span_id - assert function_span.trace_id == span.trace_id - - -def test_http_client_spans(case): - _, _, inv = case - function_span = _function_span(inv) - gets = [ - s - for s in inv.logs.spans_named("requests.request") - if s.meta.get("http.method") == "GET" - ] - # The handler calls https://datadoghq.com, which redirects to www. - by_url = {s.meta["http.url"]: s for s in gets} - assert sorted(by_url) == ["https://datadoghq.com/", "https://www.datadoghq.com/"] - first, redirect = ( - by_url["https://datadoghq.com/"], - by_url["https://www.datadoghq.com/"], - ) + if inferred: + assert len(inferred) == 1, inferred + assert function_span.parent_id == inferred[0].span_id + first = _request_span(inv, FIRST_URL) + redirect = _request_span(inv, REDIRECT_URL) + assert first.parent_id == function_span.span_id # requests follows the redirect inside the first send(), so the redirected # request's span is a child of the first request's span. - assert first.parent_id == function_span.span_id assert redirect.parent_id == first.span_id - for span in gets: - assert span.trace_id == function_span.trace_id - assert span.meta["span.kind"] == "client" - assert redirect.meta["http.status_code"] == "200" - - # Trace context is propagated on the outgoing request. - request = next( - r for r in inv.logs.http_requests if r.url == "https://datadoghq.com/" - ) - trace_id_hex = request.headers["traceparent"].split("-")[1] - assert int(trace_id_hex[-16:], 16) == function_span.trace_id -def test_enhanced_invocations_metric(case, run_settings): - _, event_name, inv = case - metrics = inv.logs.metrics_named("aws.lambda.enhanced.invocations") - assert len(metrics) == 1 - m = metrics[0] - assert m.value == 1 - assert m.tag("functionname") == inv.function_name.lower() - assert m.tag("resource") == inv.function_name.lower() - assert m.tag("cold_start") == str(_is_cold(event_name)).lower() - assert m.tag("runtime") == run_settings.runtime - assert m.tag("memorysize") == "1024" - assert m.tag("region") == run_settings.region - assert m.tag("datadog_lambda") is not None - assert m.tag("dd_lambda_layer").startswith("datadog-%s_" % run_settings.runtime_key) - - for extra in TRIGGERS[event_name].get("extra_metrics", []): - assert len(inv.logs.metrics_named(extra)) == 1, extra - - -def _expected_custom_metrics(): - return { - "hello.dog": (1, ["team:serverless", "role:hello"]), - "tests.integration.count": (21, ["test:integration", "role:hello"]), - } - +@pytest.mark.parametrize("url", [FIRST_URL, REDIRECT_URL]) +def test_trace_context_propagated(case, url): + """Each outgoing request carries the context of its own requests.request span. -def test_custom_metrics(case): - fn, _, inv = case - expected = _expected_custom_metrics() - - if fn == "async-metrics": - # DD_FLUSH_TO_LOG: written to the logs, nothing sent over HTTP. - for name, (value, tags) in expected.items(): - metrics = inv.logs.metrics_named(name) - assert len(metrics) == 1, name - assert metrics[0].value == value - assert set(tags) <= set(metrics[0].tags) - assert not [ - r - for r in inv.logs.http_requests - if urlparse(r.url).hostname == "api.datadoghq.com" - ] - return - - # Sync: not in the logs, POSTed to the distribution points API instead. - for name in expected: - assert inv.logs.metrics_named(name) == [] - posts = [ - r - for r in inv.logs.http_requests - if r.method == "POST" - and r.url == "https://api.datadoghq.com/api/v1/distribution_points" - ] - assert len(posts) == 1 - assert posts[0].headers.get("DD-API-KEY") - series = {s["metric"]: s for s in posts[0].data["series"]} - assert sorted(series) == sorted(expected) - for name, (value, tags) in expected.items(): - assert [p[1] for p in series[name]["points"]] == [[value]] - assert set(tags) <= set(series[name]["tags"]) + ddtrace's Session.send wrapper is outermost, so the logged headers are the + ones it injected (for the redirect hop too).""" + _, _, inv = case + span = _request_span(inv, url) + requests = [r for r in inv.logs.http_requests if r.url == url] + assert len(requests) == 1, "expected one logged request to %s" % url + headers = requests[0].headers + + version, trace_id_hex, parent_id_hex, flags = headers["traceparent"].split("-") + assert version == "00" + assert int(trace_id_hex[-16:], 16) == span.trace_id + parent_id = int(parent_id_hex, 16) + assert parent_id == span.span_id, "traceparent parent is %s, not %s" % ( + _describe_span_id(inv, parent_id), + _describe_span_id(inv, span.span_id), + ) + # Sampled, as the trace is kept. + assert flags == "01" + assert "p:%s" % parent_id_hex in headers["tracestate"] diff --git a/tests/integration/test_snapshots.py b/tests/integration/test_snapshots.py new file mode 100644 index 000000000..20b3815cf --- /dev/null +++ b/tests/integration/test_snapshots.py @@ -0,0 +1,82 @@ +"""Structured snapshots of every span field, outgoing request header, metric +field, and any other log line for the baseline invocations (see +harness/snapshots.py). + +To create or update the expected files, see "Snapshots" in CONTRIBUTING.md. +""" + +from __future__ import annotations + +import os + +import pytest + +from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES +from .harness import settings as settings_mod +from .harness import snapshots + +UPDATE = os.environ.get("UPDATE_EXPECTED") == "true" +ACCOUNT_ID = settings_mod.LAMBDA_ROLE_ARN.split(":")[4] + +CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] + + +@pytest.fixture(params=CASES, ids=["%s-%s" % c for c in CASES]) +def case(request, baseline_invocations, run_settings): + fn, event_name = request.param + inv = baseline_invocations[(fn, event_name)] + ctx = snapshots.Context( + function_name=inv.function_name, + request_id=inv.request_id, + account_id=ACCOUNT_ID, + runtime=run_settings.runtime, + runtime_key=run_settings.runtime_key, + ) + return fn, event_name, inv, ctx + + +def _check(category, actual, fn, event_name, run_settings): + rk, arch = run_settings.runtime_key, run_settings.arch + if UPDATE: + path = snapshots.write_current(category, rk, arch, fn, event_name, actual) + print("wrote %s" % path) + return + path = snapshots.resolve(category, rk, arch, fn, event_name) + if path is None: + pytest.fail( + "No %s snapshot for %s/%s on %s-%s. Generate one with UPDATE_EXPECTED=true " + "(see CONTRIBUTING.md)." % (category, fn, event_name, rk, arch) + ) + expected = path.read_text() + if expected != snapshots.dumps(actual): + name = str(path.relative_to(snapshots.EXPECTED_DIR)) + pytest.fail( + "%s differ from %s:\n%s" + % (category, name, snapshots.diff(expected, actual, name)), + pytrace=False, + ) + + +def test_span_snapshot(case, run_settings): + fn, event_name, inv, ctx = case + raw = [s.raw for s in inv.logs.spans] + _check("spans", snapshots.normalize_spans(raw, ctx), fn, event_name, run_settings) + + +def test_request_snapshot(case, run_settings): + fn, event_name, inv, ctx = case + actual = snapshots.normalize_requests(inv.logs.http_requests, ctx) + _check("requests", actual, fn, event_name, run_settings) + + +def test_metric_snapshot(case, run_settings): + fn, event_name, inv, ctx = case + actual = snapshots.normalize_metrics(inv.logs.metrics, ctx) + _check("metrics", actual, fn, event_name, run_settings) + + +def test_log_snapshot(case, run_settings): + """Warnings, prints, and anything else unexpected in the logs.""" + fn, event_name, inv, ctx = case + actual = snapshots.normalize_log_lines(inv.logs.other_lines, ctx) + _check("logs", actual, fn, event_name, run_settings) diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 03f8baba6..fc502e581 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -234,3 +234,210 @@ def test_mock_intake_extension_records_requests(capsys): ("POST", "/api/v0.2/traces", "a=b") ] assert requests[0].body == b"x" * 400000 + + +def _ctx(): + from tests.integration.harness.snapshots import Context + + return Context( + function_name="integration-tests-python-ab12cd34-sync-metrics_python313", + request_id=RID_1, + account_id="123456789012", + runtime="python3.13", + runtime_key="python313", + ) + + +def test_normalize_spans_keeps_structure_and_hides_run_values(): + from tests.integration.harness.snapshots import normalize_spans + + fn = _ctx().function_name + root = _span("aws.apigateway", 1, 10, 0) + root["resource"] = "GET /" + lam = _span( + "aws.lambda", + 1, + 11, + 10, + request_id=RID_1, + function_arn="arn:aws:lambda:eu-west-1:123456789012:function:" + fn, + **{"runtime-id": "c0ffee", "datadog_lambda": "8.130.0", "cold_start": "true"} + ) + lam["resource"] = fn + lam["metrics"] = {"process_id": 42, "_dd.top_level": 1} + req = _span("requests.request", 1, 12, 11, **{"http.url": "https://x/"}) + req["meta"]["http.useragent"] = "python-requests/2.33.1" + + spans = normalize_spans([req, lam, root], _ctx()) + by_name = {s["name"]: s for s in spans} + assert by_name["aws.apigateway"]["parent"] is None + assert by_name["aws.lambda"]["parent"] == "aws.apigateway GET /" + assert by_name["requests.request"]["parent"] == "aws.lambda " + meta = by_name["aws.lambda"]["meta"] + assert meta["request_id"] == "" + assert meta["function_arn"] == ( + "arn:aws:lambda:eu-west-1::function:" + ) + assert meta["runtime-id"] == "" + assert meta["datadog_lambda"] == "" + assert meta["cold_start"] == "true" # compared exactly + assert by_name["aws.lambda"]["metrics"] == { + "process_id": "", + "_dd.top_level": 1, + } + assert by_name["requests.request"]["meta"]["http.useragent"] == ( + "python-requests/X" + ) + assert ( + "span_id" not in by_name["aws.lambda"] and "start" not in by_name["aws.lambda"] + ) + + +def test_normalize_requests_checks_header_formats(): + from tests.integration.harness.logs import HttpRequest + from tests.integration.harness.snapshots import normalize_requests + + good = HttpRequest( + method="GET", + url="https://datadoghq.com/", + headers={ + "traceparent": "00-" + "a" * 32 + "-" + "b" * 16 + "-01", + "tracestate": "dd=p:" + "b" * 16 + ";s:1;t.dm:-0;t.tid:" + "c" * 16, + "User-Agent": "datadogpy/0.52.0 (python 3.13.1; os linux; arch x86_64)", + "DD-API-KEY": "secret", + "Content-Length": "123", + }, + data={ + "series": [ + { + "metric": "hello.dog", + "points": [[1700000000, [1]]], + "tags": ["dd_lambda_layer:datadog-python313_8.130.0.dev0"], + } + ] + }, + ) + bad = HttpRequest("GET", "https://x/", {"traceparent": "garbage"}, {}) + out = {r["url"]: r for r in normalize_requests([good, bad], _ctx())} + headers = out["https://datadoghq.com/"]["headers"] + assert headers["traceparent"] == "00---01" + assert headers["tracestate"] == "dd=p:;s:1;t.dm:-0;t.tid:" + assert headers["User-Agent"] == "datadogpy/X (python X; os linux; arch )" + assert headers["DD-API-KEY"] == "" + assert headers["Content-Length"] == "" + series = out["https://datadoghq.com/"]["data"]["series"][0] + assert series["points"] == [["", [1]]] + assert series["tags"] == ["dd_lambda_layer:datadog-_"] + # A malformed header is kept as-is, so it shows up in the diff. + assert out["https://x/"]["headers"]["traceparent"] == "garbage" + + +def test_snapshot_resolve_and_dedupe(tmp_path): + from tests.integration.harness import snapshots as snap + + keys = ["python38", "python313", "python314"] + common, old, zstd_amd = '{"a": 1}\n', '{"a": 0}\n', '{"a": 2}\n' + for rk in keys: + for arch in snap.ARCHES: + content = common + if rk == "python38": + content = old + if rk == "python314" and arch == "amd64": + content = zstd_amd + path = snap.write_current("spans", rk, arch, "fn", "ev", {}, root=tmp_path) + path.write_text(content) + + snap.dedupe(keys, root=tmp_path) + files = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) + assert files == [ + "spans/default/fn/ev.json", + "spans/python314-amd64/fn/ev.json", + "spans/python38/fn/ev.json", + ] + read = lambda rk, arch: snap.resolve( + "spans", rk, arch, "fn", "ev", tmp_path + ).read_text() + assert read("python313", "arm64") == common + assert read("python38", "amd64") == old + assert read("python314", "amd64") == zstd_amd + assert read("python314", "arm64") == common + + # A later update for one runtime only keeps everything else as it was. + path = snap.write_current( + "spans", "python313", "amd64", "fn", "ev", {}, root=tmp_path + ) + path.write_text(common) + snap.dedupe(keys, root=tmp_path) + assert read("python38", "arm64") == old and read("python314", "amd64") == zstd_amd + + +def test_parser_keeps_unrecognized_and_trailing_lines(): + stream = _stream() + [ + "REPORT RequestId: %s\tDuration: 1.00 ms\t" % RID_2, + "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tshutting down" % RID_2, + ] + invs = split_invocations(stream) + # INIT output is attributed to the first invocation. + assert "init message" in invs[RID_1].other_lines + assert any("something broke" in line for line in invs[RID_2].other_lines) + # Output after the stream's last REPORT goes to the last invocation. + assert any("shutting down" in line for line in invs[RID_2].other_lines) + # Recognized lines are not repeated as "other". + assert not any(line.startswith(("{", "HTTP ")) for line in invs[RID_1].other_lines) + + +def test_span_snapshot_keeps_unmodeled_fields_and_span_pointers(): + from tests.integration.harness.snapshots import normalize_spans + + raw = _span("aws.s3", 1, 10, 0) + raw["span_links"] = [ + { + "trace_id": "0" * 32, + "span_id": "0" * 16, + "attributes": {"ptr.kind": "aws.s3.object", "ptr.hash": "1dc3"}, + }, + {"trace_id": "a" * 32, "span_id": "b" * 16, "attributes": {}}, + ] + raw["span_events"] = [{"name": "exception"}] # a field the harness doesn't model + (span,) = normalize_spans([raw], _ctx()) + assert span["span_links"][0]["attributes"]["ptr.kind"] == "aws.s3.object" + assert span["span_links"][0]["span_id"] == "0" * 16 + assert span["span_links"][1]["span_id"] == "" + assert span["span_events"] == [{"name": "exception"}] + assert not {"trace_id", "span_id", "parent_id", "start", "duration"} & set(span) + + +def test_metric_snapshot_keeps_unmodeled_fields(): + from tests.integration.harness.snapshots import normalize_metrics + + line = json.dumps( + { + "m": "aws.lambda.enhanced.invocations", + "v": 1, + "e": 1700000000, + "t": ["runtime:python3.13", "datadog_lambda:v8.130.0"], + "type": "distribution", + } + ) + invs = split_invocations(["START RequestId: %s Version: $LATEST" % RID_1, line]) + (metric,) = normalize_metrics(invs[RID_1].metrics, _ctx()) + assert metric == { + "m": "aws.lambda.enhanced.invocations", + "v": 1, + "t": ["datadog_lambda:", "runtime:"], + "type": "distribution", + } + + +def test_normalize_log_lines(): + from tests.integration.harness.snapshots import normalize_log_lines + + lines = [ + "INIT_START Runtime Version: python:3.13.v20", + "EXTENSION\tName: datadog-agent\tState: Ready", + "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tobject at 0xdeadbeef1234 leaked" + % RID_1, + ] + assert normalize_log_lines(lines, _ctx()) == [ + "[WARNING]\t\t\tobject at leaked" + ] From 2f2a29d20bee573377fd74e4ad61442d508f1711 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Wed, 2 Dec 2026 13:50:07 -0500 Subject: [PATCH 07/13] all snapshots --- .gitlab-ci.yml | 3 + CONTRIBUTING.md | 2 +- ci/input_files/build.yaml.tpl | 48 ++++- tests/integration/conftest.py | 11 +- .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python310-arm64/async-metrics/s3.json | 1 + .../python310-arm64/async-metrics/sns.json | 1 + .../python310-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python310-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python310-arm64/sync-metrics/kinesis.json | 1 + .../logs/python310-arm64/sync-metrics/s3.json | 1 + .../python310-arm64/sync-metrics/sns.json | 1 + .../python310-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python311-arm64/async-metrics/s3.json | 1 + .../python311-arm64/async-metrics/sns.json | 1 + .../python311-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python311-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python311-arm64/sync-metrics/kinesis.json | 1 + .../logs/python311-arm64/sync-metrics/s3.json | 1 + .../python311-arm64/sync-metrics/sns.json | 1 + .../python311-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python312-arm64/async-metrics/s3.json | 1 + .../python312-arm64/async-metrics/sns.json | 1 + .../python312-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python312-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python312-arm64/sync-metrics/kinesis.json | 1 + .../logs/python312-arm64/sync-metrics/s3.json | 1 + .../python312-arm64/sync-metrics/sns.json | 1 + .../python312-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python313-arm64/async-metrics/s3.json | 1 + .../python313-arm64/async-metrics/sns.json | 1 + .../python313-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python313-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python313-arm64/sync-metrics/kinesis.json | 1 + .../logs/python313-arm64/sync-metrics/s3.json | 1 + .../python313-arm64/sync-metrics/sns.json | 1 + .../python313-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python314-arm64/async-metrics/s3.json | 1 + .../python314-arm64/async-metrics/sns.json | 1 + .../python314-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python314-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python314-arm64/sync-metrics/kinesis.json | 1 + .../logs/python314-arm64/sync-metrics/s3.json | 1 + .../python314-arm64/sync-metrics/sns.json | 1 + .../python314-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../async-metrics/kinesis.json | 1 + .../python315-arm64/async-metrics/s3.json | 1 + .../python315-arm64/async-metrics/sns.json | 1 + .../python315-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python315-arm64/sync-metrics/appsync.json | 1 + .../sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../sync-metrics/http-api.json | 1 + .../python315-arm64/sync-metrics/kinesis.json | 1 + .../logs/python315-arm64/sync-metrics/s3.json | 1 + .../python315-arm64/sync-metrics/sns.json | 1 + .../python315-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../python38-arm64/async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../python38-arm64/async-metrics/kinesis.json | 1 + .../logs/python38-arm64/async-metrics/s3.json | 1 + .../python38-arm64/async-metrics/sns.json | 1 + .../python38-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python38-arm64/sync-metrics/appsync.json | 1 + .../python38-arm64/sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../python38-arm64/sync-metrics/http-api.json | 1 + .../python38-arm64/sync-metrics/kinesis.json | 1 + .../logs/python38-arm64/sync-metrics/s3.json | 1 + .../logs/python38-arm64/sync-metrics/sns.json | 1 + .../logs/python38-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 1 + .../python39-arm64/async-metrics/appsync.json | 1 + .../async-metrics/dynamodb.json | 1 + .../async-metrics/eventbridge-custom.json | 1 + .../async-metrics/http-api.json | 1 + .../python39-arm64/async-metrics/kinesis.json | 1 + .../logs/python39-arm64/async-metrics/s3.json | 1 + .../python39-arm64/async-metrics/sns.json | 1 + .../python39-arm64/async-metrics/sqs.json | 1 + .../async-metrics/websocket.json | 1 + .../sync-metrics/api-gateway-get.json | 1 + .../python39-arm64/sync-metrics/appsync.json | 1 + .../python39-arm64/sync-metrics/dynamodb.json | 1 + .../sync-metrics/eventbridge-custom.json | 1 + .../python39-arm64/sync-metrics/http-api.json | 1 + .../python39-arm64/sync-metrics/kinesis.json | 1 + .../logs/python39-arm64/sync-metrics/s3.json | 1 + .../logs/python39-arm64/sync-metrics/sns.json | 1 + .../logs/python39-arm64/sync-metrics/sqs.json | 1 + .../sync-metrics/websocket.json | 1 + .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python310-arm64/async-metrics/s3.json | 35 ++++ .../python310-arm64/async-metrics/sns.json | 35 ++++ .../python310-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python310-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python310-arm64/sync-metrics/kinesis.json | 17 ++ .../python310-arm64/sync-metrics/s3.json | 17 ++ .../python310-arm64/sync-metrics/sns.json | 17 ++ .../python310-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python311-arm64/async-metrics/s3.json | 35 ++++ .../python311-arm64/async-metrics/sns.json | 35 ++++ .../python311-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python311-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python311-arm64/sync-metrics/kinesis.json | 17 ++ .../python311-arm64/sync-metrics/s3.json | 17 ++ .../python311-arm64/sync-metrics/sns.json | 17 ++ .../python311-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python312-arm64/async-metrics/s3.json | 35 ++++ .../python312-arm64/async-metrics/sns.json | 35 ++++ .../python312-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python312-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python312-arm64/sync-metrics/kinesis.json | 17 ++ .../python312-arm64/sync-metrics/s3.json | 17 ++ .../python312-arm64/sync-metrics/sns.json | 17 ++ .../python312-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python313-arm64/async-metrics/s3.json | 35 ++++ .../python313-arm64/async-metrics/sns.json | 35 ++++ .../python313-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python313-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python313-arm64/sync-metrics/kinesis.json | 17 ++ .../python313-arm64/sync-metrics/s3.json | 17 ++ .../python313-arm64/sync-metrics/sns.json | 17 ++ .../python313-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python314-arm64/async-metrics/s3.json | 35 ++++ .../python314-arm64/async-metrics/sns.json | 35 ++++ .../python314-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python314-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python314-arm64/sync-metrics/kinesis.json | 17 ++ .../python314-arm64/sync-metrics/s3.json | 17 ++ .../python314-arm64/sync-metrics/sns.json | 17 ++ .../python314-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../async-metrics/kinesis.json | 35 ++++ .../python315-arm64/async-metrics/s3.json | 35 ++++ .../python315-arm64/async-metrics/sns.json | 35 ++++ .../python315-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python315-arm64/sync-metrics/appsync.json | 17 ++ .../sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../sync-metrics/http-api.json | 17 ++ .../python315-arm64/sync-metrics/kinesis.json | 17 ++ .../python315-arm64/sync-metrics/s3.json | 17 ++ .../python315-arm64/sync-metrics/sns.json | 17 ++ .../python315-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../python38-arm64/async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../python38-arm64/async-metrics/kinesis.json | 35 ++++ .../python38-arm64/async-metrics/s3.json | 35 ++++ .../python38-arm64/async-metrics/sns.json | 35 ++++ .../python38-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python38-arm64/sync-metrics/appsync.json | 17 ++ .../python38-arm64/sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../python38-arm64/sync-metrics/http-api.json | 17 ++ .../python38-arm64/sync-metrics/kinesis.json | 17 ++ .../python38-arm64/sync-metrics/s3.json | 17 ++ .../python38-arm64/sync-metrics/sns.json | 17 ++ .../python38-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 35 ++++ .../python39-arm64/async-metrics/appsync.json | 35 ++++ .../async-metrics/dynamodb.json | 43 ++++ .../async-metrics/eventbridge-custom.json | 35 ++++ .../async-metrics/http-api.json | 35 ++++ .../python39-arm64/async-metrics/kinesis.json | 35 ++++ .../python39-arm64/async-metrics/s3.json | 35 ++++ .../python39-arm64/async-metrics/sns.json | 35 ++++ .../python39-arm64/async-metrics/sqs.json | 35 ++++ .../async-metrics/websocket.json | 35 ++++ .../sync-metrics/api-gateway-get.json | 17 ++ .../python39-arm64/sync-metrics/appsync.json | 17 ++ .../python39-arm64/sync-metrics/dynamodb.json | 25 +++ .../sync-metrics/eventbridge-custom.json | 17 ++ .../python39-arm64/sync-metrics/http-api.json | 17 ++ .../python39-arm64/sync-metrics/kinesis.json | 17 ++ .../python39-arm64/sync-metrics/s3.json | 17 ++ .../python39-arm64/sync-metrics/sns.json | 17 ++ .../python39-arm64/sync-metrics/sqs.json | 17 ++ .../sync-metrics/websocket.json | 17 ++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python310-amd64/async-metrics/s3.json | 4 +- .../python310-amd64/async-metrics/sns.json | 4 +- .../python310-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python310-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python310-amd64/sync-metrics/kinesis.json | 6 +- .../python310-amd64/sync-metrics/s3.json | 6 +- .../python310-amd64/sync-metrics/sns.json | 6 +- .../python310-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python310-arm64/async-metrics/s3.json | 36 ++++ .../python310-arm64/async-metrics/sns.json | 36 ++++ .../python310-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python310-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python310-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python310-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python310-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python310-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python311-amd64/async-metrics/s3.json | 4 +- .../python311-amd64/async-metrics/sns.json | 4 +- .../python311-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python311-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python311-amd64/sync-metrics/kinesis.json | 6 +- .../python311-amd64/sync-metrics/s3.json | 6 +- .../python311-amd64/sync-metrics/sns.json | 6 +- .../python311-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python311-arm64/async-metrics/s3.json | 36 ++++ .../python311-arm64/async-metrics/sns.json | 36 ++++ .../python311-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python311-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python311-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python311-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python311-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python311-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python312-amd64/async-metrics/s3.json | 4 +- .../python312-amd64/async-metrics/sns.json | 4 +- .../python312-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python312-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python312-amd64/sync-metrics/kinesis.json | 6 +- .../python312-amd64/sync-metrics/s3.json | 6 +- .../python312-amd64/sync-metrics/sns.json | 6 +- .../python312-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python312-arm64/async-metrics/s3.json | 36 ++++ .../python312-arm64/async-metrics/sns.json | 36 ++++ .../python312-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python312-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python312-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python312-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python312-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python312-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python313-amd64/async-metrics/s3.json | 4 +- .../python313-amd64/async-metrics/sns.json | 4 +- .../python313-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python313-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python313-amd64/sync-metrics/kinesis.json | 6 +- .../python313-amd64/sync-metrics/s3.json | 6 +- .../python313-amd64/sync-metrics/sns.json | 6 +- .../python313-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python313-arm64/async-metrics/s3.json | 36 ++++ .../python313-arm64/async-metrics/sns.json | 36 ++++ .../python313-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python313-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python313-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python313-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python313-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python313-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python314-amd64/async-metrics/s3.json | 4 +- .../python314-amd64/async-metrics/sns.json | 4 +- .../python314-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python314-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python314-amd64/sync-metrics/kinesis.json | 6 +- .../python314-amd64/sync-metrics/s3.json | 6 +- .../python314-amd64/sync-metrics/sns.json | 6 +- .../python314-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python314-arm64/async-metrics/s3.json | 36 ++++ .../python314-arm64/async-metrics/sns.json | 36 ++++ .../python314-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python314-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python314-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python314-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python314-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python314-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 4 +- .../async-metrics/dynamodb.json | 4 +- .../async-metrics/eventbridge-custom.json | 4 +- .../async-metrics/http-api.json | 4 +- .../async-metrics/kinesis.json | 4 +- .../python315-amd64/async-metrics/s3.json | 4 +- .../python315-amd64/async-metrics/sns.json | 4 +- .../python315-amd64/async-metrics/sqs.json | 4 +- .../async-metrics/websocket.json | 4 +- .../sync-metrics/api-gateway-get.json | 6 +- .../python315-amd64/sync-metrics/appsync.json | 2 +- .../sync-metrics/dynamodb.json | 6 +- .../sync-metrics/eventbridge-custom.json | 6 +- .../sync-metrics/http-api.json | 6 +- .../python315-amd64/sync-metrics/kinesis.json | 6 +- .../python315-amd64/sync-metrics/s3.json | 6 +- .../python315-amd64/sync-metrics/sns.json | 6 +- .../python315-amd64/sync-metrics/sqs.json | 6 +- .../sync-metrics/websocket.json | 6 +- .../async-metrics/api-gateway-get.json | 36 ++++ .../async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../async-metrics/kinesis.json | 36 ++++ .../python315-arm64/async-metrics/s3.json | 36 ++++ .../python315-arm64/async-metrics/sns.json | 36 ++++ .../python315-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python315-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../sync-metrics/http-api.json | 102 ++++++++++ .../python315-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python315-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python315-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python315-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 36 ++++ .../python38-arm64/async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../python38-arm64/async-metrics/kinesis.json | 36 ++++ .../python38-arm64/async-metrics/s3.json | 36 ++++ .../python38-arm64/async-metrics/sns.json | 36 ++++ .../python38-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python38-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../python38-arm64/sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../python38-arm64/sync-metrics/http-api.json | 102 ++++++++++ .../python38-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python38-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python38-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python38-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 36 ++++ .../python39-arm64/async-metrics/appsync.json | 34 ++++ .../async-metrics/dynamodb.json | 36 ++++ .../async-metrics/eventbridge-custom.json | 36 ++++ .../async-metrics/http-api.json | 36 ++++ .../python39-arm64/async-metrics/kinesis.json | 36 ++++ .../python39-arm64/async-metrics/s3.json | 36 ++++ .../python39-arm64/async-metrics/sns.json | 36 ++++ .../python39-arm64/async-metrics/sqs.json | 36 ++++ .../async-metrics/websocket.json | 36 ++++ .../sync-metrics/api-gateway-get.json | 102 ++++++++++ .../python39-arm64/sync-metrics/appsync.json | 100 ++++++++++ .../python39-arm64/sync-metrics/dynamodb.json | 102 ++++++++++ .../sync-metrics/eventbridge-custom.json | 102 ++++++++++ .../python39-arm64/sync-metrics/http-api.json | 102 ++++++++++ .../python39-arm64/sync-metrics/kinesis.json | 102 ++++++++++ .../python39-arm64/sync-metrics/s3.json | 102 ++++++++++ .../python39-arm64/sync-metrics/sns.json | 102 ++++++++++ .../python39-arm64/sync-metrics/sqs.json | 102 ++++++++++ .../sync-metrics/websocket.json | 102 ++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python310-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python310-arm64/async-metrics/sns.json | 120 +++++++++++ .../python310-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python310-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python310-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python310-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python310-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python310-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python311-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python311-arm64/async-metrics/sns.json | 120 +++++++++++ .../python311-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python311-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python311-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python311-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python311-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python311-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python312-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python312-arm64/async-metrics/sns.json | 120 +++++++++++ .../python312-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python312-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python312-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python312-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python312-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python312-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python313-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python313-arm64/async-metrics/sns.json | 120 +++++++++++ .../python313-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python313-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python313-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python313-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python313-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python313-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python314-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python314-arm64/async-metrics/sns.json | 120 +++++++++++ .../python314-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python314-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python314-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python314-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python314-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python314-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 128 ++++++++++++ .../async-metrics/appsync.json | 84 ++++++++ .../async-metrics/dynamodb.json | 154 +++++++++++++++ .../async-metrics/eventbridge-custom.json | 114 +++++++++++ .../async-metrics/http-api.json | 129 ++++++++++++ .../async-metrics/kinesis.json | 122 ++++++++++++ .../python315-arm64/async-metrics/s3.json | 133 +++++++++++++ .../python315-arm64/async-metrics/sns.json | 120 +++++++++++ .../python315-arm64/async-metrics/sqs.json | 119 +++++++++++ .../async-metrics/websocket.json | 127 ++++++++++++ .../sync-metrics/api-gateway-get.json | 161 +++++++++++++++ .../python315-arm64/sync-metrics/appsync.json | 117 +++++++++++ .../sync-metrics/dynamodb.json | 187 ++++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 147 ++++++++++++++ .../sync-metrics/http-api.json | 162 +++++++++++++++ .../python315-arm64/sync-metrics/kinesis.json | 155 +++++++++++++++ .../python315-arm64/sync-metrics/s3.json | 166 ++++++++++++++++ .../python315-arm64/sync-metrics/sns.json | 153 ++++++++++++++ .../python315-arm64/sync-metrics/sqs.json | 152 ++++++++++++++ .../sync-metrics/websocket.json | 160 +++++++++++++++ .../async-metrics/api-gateway-get.json | 118 +++++++++++ .../python38-arm64/async-metrics/appsync.json | 76 +++++++ .../async-metrics/dynamodb.json | 144 ++++++++++++++ .../async-metrics/eventbridge-custom.json | 104 ++++++++++ .../async-metrics/http-api.json | 119 +++++++++++ .../python38-arm64/async-metrics/kinesis.json | 112 +++++++++++ .../python38-arm64/async-metrics/s3.json | 123 ++++++++++++ .../python38-arm64/async-metrics/sns.json | 110 +++++++++++ .../python38-arm64/async-metrics/sqs.json | 109 ++++++++++ .../async-metrics/websocket.json | 117 +++++++++++ .../sync-metrics/api-gateway-get.json | 147 ++++++++++++++ .../python38-arm64/sync-metrics/appsync.json | 105 ++++++++++ .../python38-arm64/sync-metrics/dynamodb.json | 173 ++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 133 +++++++++++++ .../python38-arm64/sync-metrics/http-api.json | 148 ++++++++++++++ .../python38-arm64/sync-metrics/kinesis.json | 141 +++++++++++++ .../spans/python38-arm64/sync-metrics/s3.json | 152 ++++++++++++++ .../python38-arm64/sync-metrics/sns.json | 139 +++++++++++++ .../python38-arm64/sync-metrics/sqs.json | 138 +++++++++++++ .../sync-metrics/websocket.json | 146 ++++++++++++++ .../async-metrics/api-gateway-get.json | 118 +++++++++++ .../python39-arm64/async-metrics/appsync.json | 76 +++++++ .../async-metrics/dynamodb.json | 144 ++++++++++++++ .../async-metrics/eventbridge-custom.json | 104 ++++++++++ .../async-metrics/http-api.json | 119 +++++++++++ .../python39-arm64/async-metrics/kinesis.json | 112 +++++++++++ .../python39-arm64/async-metrics/s3.json | 123 ++++++++++++ .../python39-arm64/async-metrics/sns.json | 110 +++++++++++ .../python39-arm64/async-metrics/sqs.json | 109 ++++++++++ .../async-metrics/websocket.json | 117 +++++++++++ .../sync-metrics/api-gateway-get.json | 147 ++++++++++++++ .../python39-arm64/sync-metrics/appsync.json | 105 ++++++++++ .../python39-arm64/sync-metrics/dynamodb.json | 173 ++++++++++++++++ .../sync-metrics/eventbridge-custom.json | 133 +++++++++++++ .../python39-arm64/sync-metrics/http-api.json | 148 ++++++++++++++ .../python39-arm64/sync-metrics/kinesis.json | 141 +++++++++++++ .../spans/python39-arm64/sync-metrics/s3.json | 152 ++++++++++++++ .../python39-arm64/sync-metrics/sns.json | 139 +++++++++++++ .../python39-arm64/sync-metrics/sqs.json | 138 +++++++++++++ .../sync-metrics/websocket.json | 146 ++++++++++++++ tests/integration/harness/snapshots.py | 5 +- tests/test_integration_harness.py | 15 ++ 760 files changed, 37659 insertions(+), 281 deletions(-) create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/s3.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/sns.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json create mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 419cbc821..34419c22f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,9 @@ variables: # Opt-in pytest integration suite (integration-test-pytest jobs). # TODO(APMSVLS-728): set back to "false" before merging. RUN_PYTEST_INTEGRATION_TESTS: "true" + # Datadog Extension layer version for the integration-test-pytest-extension jobs: + # a version number, or "latest". Pin a number so Extension releases cannot change results. + PYTEST_EXTENSION_LAYER_VERSION: "latest" stages: - pre diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aa39eb76b..7176ab847 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ We love pull requests. For new features, consider opening an issue to discuss th BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh ``` Leave out `PYTHON_VERSION` to run every supported version, one after another. - The tests that use the Datadog Extension (with a mock intake) use the latest Extension layer; set `DD_EXTENSION_LAYER_VERSION` to pin a version, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`. While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. + The tests that use the Datadog Extension (with a mock intake) use the latest Extension layer; set `DD_EXTENSION_LAYER_VERSION` to pin a version, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, with the layer version from `PYTEST_EXTENSION_LAYER_VERSION` in `.gitlab-ci.yml`). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. 1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). To update them after an intended change: 1. Run the suite with `UPDATE_EXPECTED=true`, locally (writes files for that runtime) or in CI with `RUN_PYTEST_INTEGRATION_TESTS=true UPDATE_EXPECTED=true` (each `integration-test-pytest` job saves `tests/integration/expected/` as an artifact; extract all of them into the repo). 1. Fold the per-run files into defaults plus overrides: `cd tests/integration && python -m harness.snapshots dedupe`. diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index 65eeab91b..bf80ff9fc 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -26,6 +26,13 @@ default: - /opt/ci-python-tools/bin/pip install awscli - export PATH="/opt/ci-python-tools/bin:$PATH" +# aws-sam-cli and awscli pin incompatible botocore versions, so the integration +# test dependencies get their own venv, ahead of the awscli one on PATH. +.install-integration-test-deps: &install-integration-test-deps + - python3 -m venv /opt/integration-test-venv + - /opt/integration-test-venv/bin/pip install -r tests/integration/requirements-test.txt + - export PATH="/opt/integration-test-venv/bin:$PATH" + # This is for serverless framework .install-node: &install-node - apt-get update @@ -138,6 +145,10 @@ integration-test ({{ $runtime.name }}-{{ $runtime.arch }}): # Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it # when running a pipeline, or as a CI/CD variable). Non-blocking until it has been # green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer integration-test-pytest ({{ $runtime.name }}-{{ $runtime.arch }}): stage: test tags: ["arch:amd64"] @@ -153,12 +164,14 @@ integration-test-pytest ({{ $runtime.name }}-{{ $runtime.arch }}): - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) dependencies: - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" before_script: - *install-python-tools - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - pip install -r tests/integration/requirements-test.txt + - *install-integration-test-deps script: - # Uses the latest Datadog Extension unless DD_EXTENSION_LAYER_VERSION pins one. - PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml artifacts: when: always @@ -169,6 +182,37 @@ integration-test-pytest ({{ $runtime.name }}-{{ $runtime.arch }}): junit: tests/integration/integration-junit.xml retry: 1 +integration-test-pytest-extension ({{ $runtime.name }}-{{ $runtime.arch }}): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) + dependencies: + - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) + variables: + # A layer version number, or "latest". Set PYTEST_EXTENSION_LAYER_VERSION in + # .gitlab-ci.yml to pin it. + DD_EXTENSION_LAYER_VERSION: $PYTEST_EXTENSION_LAYER_VERSION + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + sign-layer ({{ $runtime.name }}-{{ $runtime.arch }}): stage: sign tags: ["arch:amd64"] diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index c9076143f..41cb7f156 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -52,8 +52,17 @@ def stack(request, run_settings) -> Dict[str, str]: try: aws.deploy(s, mock_intake_api_key=secrets.token_hex(16)) except Exception as e: + # Report the deploy error first: a failing cleanup must not hide it. + print("Deploying %s failed: %s" % (s.stack_name, e), flush=True) if not s.keep_stack: - aws.delete(s) + try: + aws.delete(s) + except Exception as cleanup_error: + print( + "Deleting %s also failed, delete it manually: %s" + % (s.stack_name, cleanup_error), + flush=True, + ) # Every test needs the stack; stop with one error, not one per test. pytest.exit("Deploying %s failed: %s" % (s.stack_name, e), returncode=1) try: diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..fe51488c7 --- /dev/null +++ b/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json @@ -0,0 +1 @@ +[] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..27747ce6d --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..663fc0761 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json @@ -0,0 +1,43 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..bda7efeaa --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json @@ -0,0 +1,35 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "hello.dog", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "team:serverless" + ], + "v": 1 + }, + { + "m": "tests.integration.count", + "t": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "test:integration" + ], + "v": 21 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..3e5944f32 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:true", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..0497bcc2b --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,25 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + }, + { + "m": "datadog.serverless.dynamodb.stream.type", + "t": [ + "dd_lambda_layer:datadog-_", + "streamtype:NEW_AND_OLD_IMAGES" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..aee7448d8 --- /dev/null +++ b/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json @@ -0,0 +1,17 @@ +[ + { + "m": "aws.lambda.enhanced.invocations", + "t": [ + "account_id:", + "cold_start:false", + "datadog_lambda:", + "dd_lambda_layer:datadog-_", + "functionname:", + "memorysize:1024", + "region:eu-west-1", + "resource:", + "runtime:" + ], + "v": 1 + } +] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json index e9b0c4812..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:035b0c47e4f954;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:035b0c47e4f954;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json index 428c0e3ed..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d47fb63ea41f56;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d47fb63ea41f56;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json index db88b59f7..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0c8154ed1acffc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0c8154ed1acffc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json index 1d6cf6688..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4613c29aab0156;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4613c29aab0156;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json index a1673f78e..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9d94e90140861d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9d94e90140861d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json index 92bb25bd7..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b4cfb5e34429ef;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b4cfb5e34429ef;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json index 1b1d6f0a1..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:5c9b65acff0834;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:5c9b65acff0834;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json index be212b4ea..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7110f4694b6584;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7110f4694b6584;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json index 41865597c..a9b6bf105 100644 --- a/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9adc7cd13fea3d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9adc7cd13fea3d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json index 0636d6626..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:08ccab1a5b4a5e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:08ccab1a5b4a5e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11e1ae81401d4a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json index 9a785d886..56d559771 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:181a3faeab94c6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json index 08984e3c0..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8b18caa080329b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8b18caa080329b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75721dfcf804f0;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json index a5897d345..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cfe415ef8515e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cfe415ef8515e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3fbcffb52c21d3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json index 0c86dae38..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c785997ea1d821;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c785997ea1d821;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7e1e98056afafa;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json index 93230065d..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0be5502d4f6453;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0be5502d4f6453;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a54dce5c4f591f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json index e7958ab4f..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:03cd1492a8024c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:03cd1492a8024c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8647d1082aaf0e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json index 3effa1364..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfb6a49c285e65;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfb6a49c285e65;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:89e60eea2c1c1a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json index c8401b3e0..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3e3ee46a3b512;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3e3ee46a3b512;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2c8b75f30799e8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json index baeac258c..2425f972e 100644 --- a/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:42f7ad4c4aca13;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:42f7ad4c4aca13;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4eade89673e1a8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..56d559771 --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json index 2ecff1d97..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:254718d268555c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:254718d268555c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json index 0cf3d0014..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8d06f781d75ab1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8d06f781d75ab1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json index 0040119d7..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:010ec20b2d7f6f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:010ec20b2d7f6f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json index 1e4dd898e..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:09edaa65dff3b5;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:09edaa65dff3b5;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json index 49fe06f7f..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75f12e09bc0d74;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75f12e09bc0d74;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json index 98093d1d7..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1060ce849bad64;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1060ce849bad64;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json index da64f6461..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:dc22f557141091;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:dc22f557141091;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json index bfeb95463..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67bedc60e83a19;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67bedc60e83a19;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json index bb7d864cf..a9b6bf105 100644 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4c57f789910a4a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4c57f789910a4a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json index 8a53ee29e..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c65fadb25d4840;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c65fadb25d4840;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1273670c441238;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json index c1bfa5289..56d559771 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:34b4416468b911;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json index ea290efed..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e5fe78a9729419;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e5fe78a9729419;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:267eb68bfed91e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json index 8246e8e75..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e6d0ef4bac6c45;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e6d0ef4bac6c45;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b71d8ff1f376d4;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json index d9730e7f7..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a220ea2c8a01e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a220ea2c8a01e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:22d3eb8d398752;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json index a29f652a7..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db8a69af47a07f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db8a69af47a07f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:63a42b0cdbb0d1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json index 5cb52c272..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0b6f76b8c77ddd;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0b6f76b8c77ddd;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c30c87f7306b82;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json index 8b06e76cf..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:69f34d8f2719df;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:69f34d8f2719df;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:594f59023555bc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json index 78bd570c0..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a272c473890d4b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a272c473890d4b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e77dc2d16021e8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json index e248dfd6c..2425f972e 100644 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a48bf43f098357;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a48bf43f098357;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:020bd211bcbea6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..56d559771 --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json index 8a5a45ee6..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3cabce076fd012;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3cabce076fd012;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json index 8d1f6dcd6..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8ec738a6ec2eb1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8ec738a6ec2eb1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json index 0594c2fa1..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e396650695a951;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e396650695a951;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json index a82a39451..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1f0b472ed56d92;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1f0b472ed56d92;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json index b0fc3ec47..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0cfaab8ab7a39c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0cfaab8ab7a39c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json index 78b77e1b5..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4a8d634940578;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4a8d634940578;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json index 8daaa2c34..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bb8ae1192b85ad;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bb8ae1192b85ad;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json index 35a10e94d..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e43383feab2f30;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e43383feab2f30;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json index b3dac4328..a9b6bf105 100644 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7f65f5eb34e944;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7f65f5eb34e944;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json index 03f12e3c7..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c711436fc51703;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c711436fc51703;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a97bdb3c1e5d50;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json index 4e41f4331..56d559771 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff2953cb2e936c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json index 5e1c9ce34..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bae5d61acefa1d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bae5d61acefa1d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d2e3922d8c6942;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json index bda65b988..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3ac71846c9ffa;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:b3ac71846c9ffa;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6bc9e6b1606723;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json index 43e81a30c..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d4c76e53aac675;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d4c76e53aac675;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:70dfd7fd8d9e20;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json index d113dd1f1..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f5b400a2d4fbd6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f5b400a2d4fbd6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:32389109793652;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json index e0c4a28b9..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d811980ea84349;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d811980ea84349;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c8e84f67a615d3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json index 7efb35312..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:fc727245ebca0f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:fc727245ebca0f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:86ddca881047a5;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json index d66dda23f..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a0956dd2a4ea6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:4a0956dd2a4ea6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d27a09d7d9c516;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json index 320617b3e..2425f972e 100644 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:001430c3b22d4c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:001430c3b22d4c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d9ea9cfc2ca9fe;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..56d559771 --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json index b0aca7732..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bef0988d612d7a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bef0988d612d7a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json index 6c4eec6ae..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:af4721e0c86913;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:af4721e0c86913;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json index 4382585bc..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e12fd1cc67c985;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e12fd1cc67c985;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json index 72fd57ae6..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db1089aa829e84;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:db1089aa829e84;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json index 7634a1461..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:389a780ec4a97d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:389a780ec4a97d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json index dff3199a9..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6cd42824954c77;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6cd42824954c77;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json index 4a0e85c15..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b6f37ccb5dd47;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b6f37ccb5dd47;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json index 94c316718..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8111ef8b38b832;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8111ef8b38b832;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json index d9e072696..a9b6bf105 100644 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e067fcd07b8d4f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e067fcd07b8d4f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json index 337ce0d42..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4f6c19097932a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e4f6c19097932a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:576585d0475f41;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json index 77dfd658c..56d559771 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:cdf742f0ab8468;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json index 781aa87f2..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9c476916b0fd37;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9c476916b0fd37;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1a3985e18c92a1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json index d5b8ebf60..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:917de58689e062;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:917de58689e062;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:75e6112c752b78;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json index 337e8ff13..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0f7d870bc9fec3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:0f7d870bc9fec3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff21c37d300a41;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json index 01db00b97..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ddfbdc5051f534;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ddfbdc5051f534;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e2bc7322461741;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json index 93f1db403..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9f581aaa17de;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9f581aaa17de;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e0f2f5c6831fb3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json index 145df2036..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:430e6efe382025;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:430e6efe382025;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:28bc66d41a3c23;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json index 9d2177f89..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c3fce776e0eb44;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c3fce776e0eb44;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:33855ca25053fc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json index 1dda32465..2425f972e 100644 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:203b447dd21f10;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:203b447dd21f10;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:216764e9bd740b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..a9b6bf105 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..56d559771 --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2425f972e --- /dev/null +++ b/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json index 87b110fef..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:52e15b7eef8d2d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:52e15b7eef8d2d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json index 4bac29039..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2794134dc253db;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2794134dc253db;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json index e0a89e518..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:926b41226f6278;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:926b41226f6278;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json index 51ed5e3cc..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff6e4f641eefb4;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ff6e4f641eefb4;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json index cecc3482b..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:60c5fd5e0737ab;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:60c5fd5e0737ab;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json index 1e3c440e7..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed467d6ff67139;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed467d6ff67139;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json index 4943b43b9..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ef89e31b738bbc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ef89e31b738bbc;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json index 914333996..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d7d2f0a493e7d6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d7d2f0a493e7d6;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json index c2fdc72b5..495f10b95 100644 --- a/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:445e4150ad29f2;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:445e4150ad29f2;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json index 4b54269b4..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:834f0a6b78f623;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:834f0a6b78f623;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ed9dd84789d34c;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json index 7ce8f48e5..38c895b07 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e7c25b8a3e97fa;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json index e7392d712..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d8a8e3ecce8014;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d8a8e3ecce8014;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:2700756b206269;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json index da374ed9d..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8605dd358c3d9b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:8605dd358c3d9b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:991567364ff8ae;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json index 2e347ae3d..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c0af2d0238c40d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c0af2d0238c40d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:afdbf2c1dee299;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json index b68440a80..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:715cc5c40a536a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:715cc5c40a536a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:518e36a3c3a16e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json index a82770d32..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d724e1d8834ed2;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d724e1d8834ed2;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:761d6e29ca4b3e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json index fe9fe2099..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:74bf57e6053b62;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:74bf57e6053b62;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:f246190eab5c16;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json index 224d0df64..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:00a42d53ae71a3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:00a42d53ae71a3;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:c348b01b0cdc63;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json index 67ef7f8a1..1c12237db 100644 --- a/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11949694567180;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:11949694567180;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ecee043e92d4e1;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..a197577d9 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python314-arm64/async-metrics/s3.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python314-arm64/async-metrics/sns.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..38c895b07 --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json index d9ae8ec17..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1b0dcdc4578ed4;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1b0dcdc4578ed4;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json index 8de20bc19..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:77df9897ef7e64;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:77df9897ef7e64;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json index 5271bcf6d..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1d933c25395b7a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1d933c25395b7a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json index 9f0efe3fe..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b4c342556670d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6b4c342556670d;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json index 340ef9e98..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1ac3d371e9ea1b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1ac3d371e9ea1b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json index 51e17e707..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67cd81798f31a5;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:67cd81798f31a5;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json index a7d94f0a0..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:372d06603fb5c7;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:372d06603fb5c7;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json index ba7f473de..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7d542bde27958b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:7d542bde27958b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json index 598679ea6..495f10b95 100644 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json +++ b/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a3fafae8ef0d02;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a3fafae8ef0d02;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json index e426aefd8..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a0fb6805b9909e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a0fb6805b9909e;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:636d46fdeeff33;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json index 3e57f50fd..38c895b07 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json @@ -88,7 +88,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d9d9a8cf7229fe;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json index 2640a898a..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a50fa81ff21d67;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:a50fa81ff21d67;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:6bae8574c7e77f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json index a686e31d6..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ba35beeba206a8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:ba35beeba206a8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:63c19f8c07ae24;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json index 446d0056c..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:94b2ee461b719a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:94b2ee461b719a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:e79aa2645c0272;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json index 968886bfc..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9b3205d6b970df;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9b3205d6b970df;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:1cbb1897deb131;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json index 8f5b45a62..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:abc2250802c24f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:abc2250802c24f;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:d748384c9e0f6a;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json index 30c558bfd..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3e6a36123c2ee8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:3e6a36123c2ee8;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:bfa21e06f24286;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json index cbfddb80d..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:46c9f66b150e6b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:46c9f66b150e6b;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:022b04988600a2;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json index 918372372..1c12237db 100644 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json +++ b/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json @@ -7,7 +7,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:35c5cb49137e33;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -24,7 +24,7 @@ "Connection": "keep-alive", "User-Agent": "python-requests/X", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:35c5cb49137e33;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", @@ -90,7 +90,7 @@ "DD-API-KEY": "", "User-Agent": "datadogpy/X (python X; os linux; arch )", "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:9056f416988080;th:0", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", "x-datadog-parent-id": "", "x-datadog-sampling-priority": "1", "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..a197577d9 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..495f10b95 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..38c895b07 --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..1c12237db --- /dev/null +++ b/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate, zstd", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python38-arm64/async-metrics/s3.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python38-arm64/async-metrics/sns.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..75dc98b46 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..eff622080 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json @@ -0,0 +1,34 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..0e4d4e2b1 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json @@ -0,0 +1,36 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..75dc98b46 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json @@ -0,0 +1,100 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..a6525d914 --- /dev/null +++ b/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json @@ -0,0 +1,102 @@ +[ + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://datadoghq.com/" + }, + { + "data": {}, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "python-requests/X", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "GET", + "url": "https://www.datadoghq.com/" + }, + { + "data": { + "series": [ + { + "device": null, + "host": null, + "interval": 10, + "metric": "hello.dog", + "points": [ + [ + "", + [ + 1.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "team:serverless" + ], + "type": "distribution" + }, + { + "device": null, + "host": null, + "interval": 10, + "metric": "tests.integration.count", + "points": [ + [ + "", + [ + 21.0 + ] + ] + ], + "tags": [ + "dd_lambda_layer:datadog-_", + "role:hello", + "service:integration-tests-python", + "test:integration" + ], + "type": "distribution" + } + ] + }, + "headers": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Encoding": "deflate", + "Content-Length": "", + "Content-Type": "application/json", + "DD-API-KEY": "", + "User-Agent": "datadogpy/X (python X; os linux; arch )", + "traceparent": "00---01", + "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", + "x-datadog-parent-id": "", + "x-datadog-sampling-priority": "1", + "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", + "x-datadog-trace-id": "" + }, + "method": "POST", + "url": "https://api.datadoghq.com/api/v1/distribution_points" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..c05bc2d31 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,128 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..fe6a0878c --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json @@ -0,0 +1,84 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..1e0a9207b --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json @@ -0,0 +1,154 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..434872a6c --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,114 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..3e81364ae --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json @@ -0,0 +1,129 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..a50e0fb1e --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json @@ -0,0 +1,122 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json new file mode 100644 index 000000000..dd46eb6d5 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json new file mode 100644 index 000000000..3313f6e17 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json @@ -0,0 +1,120 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..1d8a7d70b --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..7ec6e3b23 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json @@ -0,0 +1,127 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..d19a0607e --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,161 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..812365268 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..576e7b23a --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,187 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..15ac5d79c --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..c2cbf4a19 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json @@ -0,0 +1,162 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..a50118fb9 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json @@ -0,0 +1,155 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..d19992f9d --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json @@ -0,0 +1,166 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..feb914501 --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json @@ -0,0 +1,153 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..bc0832a2f --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..2ada09ccd --- /dev/null +++ b/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json @@ -0,0 +1,160 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_dd.svc_src": "m", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "_dd.svc_src": "m", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.status_msg": "OK", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.base_service": "integration-tests-python", + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.svc_src": "requests", + "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.status_msg": "Accepted", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..8df0c4976 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,118 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..7cc408074 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json @@ -0,0 +1,76 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..9da2ed692 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json @@ -0,0 +1,144 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..c3063bda7 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,104 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..db5b7ac25 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..ba7edd1eb --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json @@ -0,0 +1,112 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python38-arm64/async-metrics/s3.json new file mode 100644 index 000000000..ab6b746b0 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/s3.json @@ -0,0 +1,123 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python38-arm64/async-metrics/sns.json new file mode 100644 index 000000000..16de9a831 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/sns.json @@ -0,0 +1,110 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fc5c4f8d9 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json @@ -0,0 +1,109 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..b4073f119 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..bea165742 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..18a6db545 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json @@ -0,0 +1,105 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..610c3b5fb --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,173 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..6d1b12625 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..711fe6bcb --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json @@ -0,0 +1,148 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..24eb6dc78 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json @@ -0,0 +1,141 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..b94621902 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..a67fb4ac5 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json @@ -0,0 +1,139 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..8aeb5c344 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json @@ -0,0 +1,138 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..3fdef7d50 --- /dev/null +++ b/tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json @@ -0,0 +1,146 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json new file mode 100644 index 000000000..8df0c4976 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json @@ -0,0 +1,118 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json new file mode 100644 index 000000000..7cc408074 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json @@ -0,0 +1,76 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json new file mode 100644 index 000000000..9da2ed692 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json @@ -0,0 +1,144 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json new file mode 100644 index 000000000..c3063bda7 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json @@ -0,0 +1,104 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json new file mode 100644 index 000000000..db5b7ac25 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json @@ -0,0 +1,119 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json new file mode 100644 index 000000000..ba7edd1eb --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json @@ -0,0 +1,112 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json new file mode 100644 index 000000000..ab6b746b0 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json @@ -0,0 +1,123 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json new file mode 100644 index 000000000..16de9a831 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json @@ -0,0 +1,110 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json new file mode 100644 index 000000000..fc5c4f8d9 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json @@ -0,0 +1,109 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json new file mode 100644 index 000000000..b4073f119 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json @@ -0,0 +1,117 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json new file mode 100644 index 000000000..bea165742 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json @@ -0,0 +1,147 @@ +[ + { + "error": 0, + "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "70ixmpl4fl", + "apiname": "70ixmpl4fl", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "endpoint": "/", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /", + "runtime-id": "", + "span.kind": "server", + "stage": "Prod" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway", + "parent": null, + "resource": "GET /", + "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "meta": { + "_dd.origin": "lambda", + "cold_start": "true", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/", + "http.status_code": "200", + "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json new file mode 100644 index 000000000..18a6db545 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json @@ -0,0 +1,105 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_version": "$LATEST", + "functionname": "", + "language": "python", + "request_id": "", + "resource_names": "", + "runtime-id": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.lambda", + "parent": null, + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json new file mode 100644 index 000000000..610c3b5fb --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json @@ -0,0 +1,173 @@ +[ + { + "error": 0, + "label": "aws.dynamodb ExampleTableWithStream", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_id": "c4ca4238a0b923820dcc509a6f75849b", + "event_name": "INSERT", + "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "event_version": "1.1", + "language": "python", + "operation_name": "aws.dynamodb", + "peer.service": "integration-tests-python", + "resource_names": "ExampleTableWithStream", + "runtime-id": "", + "size_bytes": "26", + "span.kind": "server", + "stream_view_type": "NEW_AND_OLD_IMAGES", + "tablename": "ExampleTableWithStream" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.dynamodb", + "parent": null, + "resource": "ExampleTableWithStream", + "service": "ExampleTableWithStream", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + }, + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "e2af34d333891f765c7f02d2da80895e", + "ptr.kind": "aws.dynamodb.item" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "dynamodb", + "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.dynamodb ExampleTableWithStream", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json new file mode 100644 index 000000000..6d1b12625 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json @@ -0,0 +1,133 @@ +[ + { + "error": 0, + "label": "aws.eventbridge eventbridge.custom.event.sender", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "detail_type": "testdetail", + "language": "python", + "operation_name": "aws.eventbridge", + "peer.service": "integration-tests-python", + "resource_names": "eventbridge.custom.event.sender", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.eventbridge", + "parent": null, + "resource": "eventbridge.custom.event.sender", + "service": "eventbridge.custom.event.sender", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "eventbridge", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.eventbridge eventbridge.custom.event.sender", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json new file mode 100644 index 000000000..711fe6bcb --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json @@ -0,0 +1,148 @@ +[ + { + "error": 0, + "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "x02yirxc7a", + "apiname": "x02yirxc7a", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "endpoint": "/httpapi/get", + "http.method": "GET", + "http.protocol": "HTTP/1.1", + "http.route": "/httpapi/get", + "http.source_ip": "38.122.226.210", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "http.useragent": "curl/X", + "language": "python", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "GET /httpapi/get", + "runtime-id": "", + "stage": "$default" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.httpapi", + "parent": null, + "resource": "GET /httpapi/get", + "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", + "function_version": "$LATEST", + "functionname": "", + "http.method": "GET", + "http.route": "/httpapi/get", + "http.status_code": "200", + "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json new file mode 100644 index 000000000..24eb6dc78 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json @@ -0,0 +1,141 @@ +[ + { + "error": 0, + "label": "aws.kinesis EXAMPLE", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:kinesis:EXAMPLE", + "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", + "event_name": "aws:kinesis:record", + "event_source_arn": "arn:aws:kinesis:EXAMPLE", + "event_version": "1.0", + "language": "python", + "operation_name": "aws.kinesis", + "partition_key": "partitionKey-03", + "peer.service": "integration-tests-python", + "resource_names": "EXAMPLE", + "runtime-id": "", + "shardid": "shardId-000000000000", + "span.kind": "server", + "streamname": "EXAMPLE" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.kinesis", + "parent": null, + "resource": "EXAMPLE", + "service": "EXAMPLE", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "kinesis", + "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.kinesis EXAMPLE", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json new file mode 100644 index 000000000..b94621902 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json @@ -0,0 +1,152 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "s3", + "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.s3 example-bucket", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.s3 example-bucket", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "bucket_arn": "arn:aws:s3:::example-bucket", + "bucketname": "example-bucket", + "dd_resource_key": "arn:aws:s3:::example-bucket", + "event_name": "ObjectCreated:Put", + "language": "python", + "object_etag": "0123456789abcdef0123456789abcdef", + "object_key": "test/key", + "object_size": "1024", + "operation_name": "aws.s3", + "peer.service": "integration-tests-python", + "resource_names": "example-bucket", + "runtime-id": "", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.s3", + "parent": null, + "resource": "example-bucket", + "service": "example-bucket", + "span_links": [ + { + "attributes": { + "link.kind": "span-pointer", + "ptr.dir": "u", + "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", + "ptr.kind": "aws.s3.object" + }, + "span_id": "0000000000000000", + "trace_id": "00000000000000000000000000000000" + } + ], + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json new file mode 100644 index 000000000..a67fb4ac5 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json @@ -0,0 +1,139 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sns", + "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sns sns-lambda", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sns sns-lambda", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "language": "python", + "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", + "operation_name": "aws.sns", + "peer.service": "integration-tests-python", + "resource_names": "sns-lambda", + "runtime-id": "", + "span.kind": "server", + "subject": "TestInvoke", + "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", + "topicname": "sns-lambda", + "type": "Notification" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sns", + "parent": null, + "resource": "sns-lambda", + "service": "sns-lambda", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json new file mode 100644 index 000000000..8aeb5c344 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json @@ -0,0 +1,138 @@ +[ + { + "error": 0, + "label": "aws.lambda ", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "sqs", + "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "function_version": "$LATEST", + "functionname": "", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.sqs my-queue", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "aws.sqs my-queue", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "async", + "_inferred_span.tag_source": "self", + "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", + "language": "python", + "operation_name": "aws.sqs", + "peer.service": "integration-tests-python", + "queuename": "my-queue", + "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", + "resource_names": "my-queue", + "runtime-id": "", + "sender_id": "AIDAIENQZJOLO23YVJ4VO", + "span.kind": "server" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.sqs", + "parent": null, + "resource": "my-queue", + "service": "my-queue", + "type": "web" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda ", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json new file mode 100644 index 000000000..3fdef7d50 --- /dev/null +++ b/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json @@ -0,0 +1,146 @@ +[ + { + "error": 0, + "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "_dd.peer.service.source": "peer.service", + "_inferred_span.synchronicity": "sync", + "_inferred_span.tag_source": "self", + "apiid": "p62c47itsb", + "apiname": "p62c47itsb", + "connection_id": "Fc5SzcoYGjQCJlg=", + "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "endpoint": "$default", + "event_type": "MESSAGE", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "language": "python", + "message_direction": "IN", + "operation_name": "aws.apigateway.websocket", + "peer.service": "integration-tests-python", + "request_id": "", + "resource_names": "$default", + "runtime-id": "", + "span.kind": "server", + "stage": "dev" + }, + "metrics": { + "_dd._inferred_span": 1.0, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "aws.apigateway.websocket", + "parent": null, + "resource": "$default", + "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "type": "web" + }, + { + "error": 0, + "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "meta": { + "_dd.origin": "lambda", + "cold_start": "false", + "datadog_lambda": "", + "dd_trace": "", + "function_arn": "arn:aws:lambda:eu-west-1::function:", + "function_trigger.event_source": "api-gateway", + "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", + "function_version": "$LATEST", + "functionname": "", + "http.status_code": "200", + "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "request_id": "", + "resource_names": "", + "span.kind": "server", + "span.name": "aws.lambda" + }, + "metrics": { + "_dd.top_level": 1 + }, + "name": "aws.lambda", + "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", + "resource": "", + "service": "integration-tests-python", + "type": "serverless" + }, + { + "error": 0, + "label": "requests.request GET / https://datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1 + }, + "name": "requests.request", + "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request GET / https://www.datadoghq.com/", + "meta": { + "_dd.origin": "lambda", + "_dd.p.tid": "", + "component": "requests", + "http.method": "GET", + "http.status_code": "200", + "http.url": "https://www.datadoghq.com/", + "http.useragent": "python-requests/X", + "out.host": "www.datadoghq.com", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1 + }, + "name": "requests.request", + "parent": "requests.request GET / https://datadoghq.com/", + "resource": "GET /", + "service": "requests", + "type": "http" + }, + { + "error": 0, + "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", + "meta": { + "_dd.origin": "lambda", + "_dd.p.dm": "-0", + "_dd.p.tid": "", + "component": "requests", + "http.method": "POST", + "http.status_code": "202", + "http.url": "https://api.datadoghq.com/api/v1/distribution_points", + "http.useragent": "datadogpy/X (python X; os linux; arch )", + "language": "python", + "out.host": "api.datadoghq.com", + "runtime-id": "", + "span.kind": "client" + }, + "metrics": { + "_dd.measured": 1, + "_dd.top_level": 1, + "_sampling_priority_v1": 1, + "process_id": "" + }, + "name": "requests.request", + "parent": null, + "resource": "POST /api/v1/distribution_points", + "service": "requests", + "type": "http" + } +] diff --git a/tests/integration/harness/snapshots.py b/tests/integration/harness/snapshots.py index 6f238b7d6..aa7d9951a 100644 --- a/tests/integration/harness/snapshots.py +++ b/tests/integration/harness/snapshots.py @@ -160,7 +160,10 @@ def _traceparent(v: str) -> str: def _tracestate(v: str) -> str: v = re.sub(r"\bp:[0-9a-f]{16}\b", "p:", v) - return re.sub(r"\bt\.tid:[0-9a-f]{16}\b", "t.tid:", v) + v = re.sub(r"\bt\.tid:[0-9a-f]{16}\b", "t.tid:", v) + # OpenTelemetry random value (W3C trace context level 2), set by ddtrace on + # Python 3.10+. Random per trace; the threshold ("th") is stable, so it stays. + return re.sub(r"\bot=rv:[0-9a-f]{14}\b", "ot=rv:", v) def _digits(placeholder: str): diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index fc502e581..6dc6e708d 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -322,6 +322,21 @@ def test_normalize_requests_checks_header_formats(): headers = out["https://datadoghq.com/"]["headers"] assert headers["traceparent"] == "00---01" assert headers["tracestate"] == "dd=p:;s:1;t.dm:-0;t.tid:" + # The OpenTelemetry random value differs for every trace. + with_rv = HttpRequest( + "GET", + "https://rv/", + { + "tracestate": "dd=p:%s;s:1;t.dm:-0;t.tid:%s,ot=rv:c3fce776e0eb44;th:0" + % ("b" * 16, "c" * 16) + }, + {}, + ) + rv_headers = normalize_requests([with_rv], _ctx())[0]["headers"] + assert ( + rv_headers["tracestate"] + == "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0" + ) assert headers["User-Agent"] == "datadogpy/X (python X; os linux; arch )" assert headers["DD-API-KEY"] == "" assert headers["Content-Length"] == "" From 06c04cb0447631193bcbea1d8e3fa2664c99b23d Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Wed, 2 Dec 2026 13:51:58 -0500 Subject: [PATCH 08/13] dedup --- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python310-arm64/async-metrics/s3.json | 1 - .../python310-arm64/async-metrics/sns.json | 1 - .../python310-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python310-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python310-arm64/sync-metrics/kinesis.json | 1 - .../logs/python310-arm64/sync-metrics/s3.json | 1 - .../python310-arm64/sync-metrics/sns.json | 1 - .../python310-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python311-amd64/async-metrics/s3.json | 1 - .../python311-amd64/async-metrics/sns.json | 1 - .../python311-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python311-amd64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python311-amd64/sync-metrics/kinesis.json | 1 - .../logs/python311-amd64/sync-metrics/s3.json | 1 - .../python311-amd64/sync-metrics/sns.json | 1 - .../python311-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python311-arm64/async-metrics/s3.json | 1 - .../python311-arm64/async-metrics/sns.json | 1 - .../python311-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python311-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python311-arm64/sync-metrics/kinesis.json | 1 - .../logs/python311-arm64/sync-metrics/s3.json | 1 - .../python311-arm64/sync-metrics/sns.json | 1 - .../python311-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python312-amd64/async-metrics/s3.json | 1 - .../python312-amd64/async-metrics/sns.json | 1 - .../python312-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python312-amd64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python312-amd64/sync-metrics/kinesis.json | 1 - .../logs/python312-amd64/sync-metrics/s3.json | 1 - .../python312-amd64/sync-metrics/sns.json | 1 - .../python312-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python312-arm64/async-metrics/s3.json | 1 - .../python312-arm64/async-metrics/sns.json | 1 - .../python312-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python312-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python312-arm64/sync-metrics/kinesis.json | 1 - .../logs/python312-arm64/sync-metrics/s3.json | 1 - .../python312-arm64/sync-metrics/sns.json | 1 - .../python312-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python313-amd64/async-metrics/s3.json | 1 - .../python313-amd64/async-metrics/sns.json | 1 - .../python313-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python313-amd64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python313-amd64/sync-metrics/kinesis.json | 1 - .../logs/python313-amd64/sync-metrics/s3.json | 1 - .../python313-amd64/sync-metrics/sns.json | 1 - .../python313-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python313-arm64/async-metrics/s3.json | 1 - .../python313-arm64/async-metrics/sns.json | 1 - .../python313-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python313-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python313-arm64/sync-metrics/kinesis.json | 1 - .../logs/python313-arm64/sync-metrics/s3.json | 1 - .../python313-arm64/sync-metrics/sns.json | 1 - .../python313-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python314-amd64/async-metrics/s3.json | 1 - .../python314-amd64/async-metrics/sns.json | 1 - .../python314-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python314-amd64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python314-amd64/sync-metrics/kinesis.json | 1 - .../logs/python314-amd64/sync-metrics/s3.json | 1 - .../python314-amd64/sync-metrics/sns.json | 1 - .../python314-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python314-arm64/async-metrics/s3.json | 1 - .../python314-arm64/async-metrics/sns.json | 1 - .../python314-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python314-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python314-arm64/sync-metrics/kinesis.json | 1 - .../logs/python314-arm64/sync-metrics/s3.json | 1 - .../python314-arm64/sync-metrics/sns.json | 1 - .../python314-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python315-amd64/async-metrics/s3.json | 1 - .../python315-amd64/async-metrics/sns.json | 1 - .../python315-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python315-amd64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python315-amd64/sync-metrics/kinesis.json | 1 - .../logs/python315-amd64/sync-metrics/s3.json | 1 - .../python315-amd64/sync-metrics/sns.json | 1 - .../python315-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../async-metrics/kinesis.json | 1 - .../python315-arm64/async-metrics/s3.json | 1 - .../python315-arm64/async-metrics/sns.json | 1 - .../python315-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python315-arm64/sync-metrics/appsync.json | 1 - .../sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../sync-metrics/http-api.json | 1 - .../python315-arm64/sync-metrics/kinesis.json | 1 - .../logs/python315-arm64/sync-metrics/s3.json | 1 - .../python315-arm64/sync-metrics/sns.json | 1 - .../python315-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../python38-amd64/async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../python38-amd64/async-metrics/kinesis.json | 1 - .../logs/python38-amd64/async-metrics/s3.json | 1 - .../python38-amd64/async-metrics/sns.json | 1 - .../python38-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python38-amd64/sync-metrics/appsync.json | 1 - .../python38-amd64/sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../python38-amd64/sync-metrics/http-api.json | 1 - .../python38-amd64/sync-metrics/kinesis.json | 1 - .../logs/python38-amd64/sync-metrics/s3.json | 1 - .../logs/python38-amd64/sync-metrics/sns.json | 1 - .../logs/python38-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../python38-arm64/async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../python38-arm64/async-metrics/kinesis.json | 1 - .../logs/python38-arm64/async-metrics/s3.json | 1 - .../python38-arm64/async-metrics/sns.json | 1 - .../python38-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python38-arm64/sync-metrics/appsync.json | 1 - .../python38-arm64/sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../python38-arm64/sync-metrics/http-api.json | 1 - .../python38-arm64/sync-metrics/kinesis.json | 1 - .../logs/python38-arm64/sync-metrics/s3.json | 1 - .../logs/python38-arm64/sync-metrics/sns.json | 1 - .../logs/python38-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../python39-amd64/async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../python39-amd64/async-metrics/kinesis.json | 1 - .../logs/python39-amd64/async-metrics/s3.json | 1 - .../python39-amd64/async-metrics/sns.json | 1 - .../python39-amd64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python39-amd64/sync-metrics/appsync.json | 1 - .../python39-amd64/sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../python39-amd64/sync-metrics/http-api.json | 1 - .../python39-amd64/sync-metrics/kinesis.json | 1 - .../logs/python39-amd64/sync-metrics/s3.json | 1 - .../logs/python39-amd64/sync-metrics/sns.json | 1 - .../logs/python39-amd64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 1 - .../python39-arm64/async-metrics/appsync.json | 1 - .../async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../async-metrics/http-api.json | 1 - .../python39-arm64/async-metrics/kinesis.json | 1 - .../logs/python39-arm64/async-metrics/s3.json | 1 - .../python39-arm64/async-metrics/sns.json | 1 - .../python39-arm64/async-metrics/sqs.json | 1 - .../async-metrics/websocket.json | 1 - .../sync-metrics/api-gateway-get.json | 1 - .../python39-arm64/sync-metrics/appsync.json | 1 - .../python39-arm64/sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../python39-arm64/sync-metrics/http-api.json | 1 - .../python39-arm64/sync-metrics/kinesis.json | 1 - .../logs/python39-arm64/sync-metrics/s3.json | 1 - .../logs/python39-arm64/sync-metrics/sns.json | 1 - .../logs/python39-arm64/sync-metrics/sqs.json | 1 - .../sync-metrics/websocket.json | 1 - .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python310-arm64/async-metrics/s3.json | 35 ---- .../python310-arm64/async-metrics/sns.json | 35 ---- .../python310-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python310-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python310-arm64/sync-metrics/kinesis.json | 17 -- .../python310-arm64/sync-metrics/s3.json | 17 -- .../python310-arm64/sync-metrics/sns.json | 17 -- .../python310-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python311-amd64/async-metrics/s3.json | 35 ---- .../python311-amd64/async-metrics/sns.json | 35 ---- .../python311-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python311-amd64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python311-amd64/sync-metrics/kinesis.json | 17 -- .../python311-amd64/sync-metrics/s3.json | 17 -- .../python311-amd64/sync-metrics/sns.json | 17 -- .../python311-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python311-arm64/async-metrics/s3.json | 35 ---- .../python311-arm64/async-metrics/sns.json | 35 ---- .../python311-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python311-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python311-arm64/sync-metrics/kinesis.json | 17 -- .../python311-arm64/sync-metrics/s3.json | 17 -- .../python311-arm64/sync-metrics/sns.json | 17 -- .../python311-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python312-amd64/async-metrics/s3.json | 35 ---- .../python312-amd64/async-metrics/sns.json | 35 ---- .../python312-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python312-amd64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python312-amd64/sync-metrics/kinesis.json | 17 -- .../python312-amd64/sync-metrics/s3.json | 17 -- .../python312-amd64/sync-metrics/sns.json | 17 -- .../python312-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python312-arm64/async-metrics/s3.json | 35 ---- .../python312-arm64/async-metrics/sns.json | 35 ---- .../python312-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python312-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python312-arm64/sync-metrics/kinesis.json | 17 -- .../python312-arm64/sync-metrics/s3.json | 17 -- .../python312-arm64/sync-metrics/sns.json | 17 -- .../python312-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python313-amd64/async-metrics/s3.json | 35 ---- .../python313-amd64/async-metrics/sns.json | 35 ---- .../python313-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python313-amd64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python313-amd64/sync-metrics/kinesis.json | 17 -- .../python313-amd64/sync-metrics/s3.json | 17 -- .../python313-amd64/sync-metrics/sns.json | 17 -- .../python313-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python313-arm64/async-metrics/s3.json | 35 ---- .../python313-arm64/async-metrics/sns.json | 35 ---- .../python313-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python313-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python313-arm64/sync-metrics/kinesis.json | 17 -- .../python313-arm64/sync-metrics/s3.json | 17 -- .../python313-arm64/sync-metrics/sns.json | 17 -- .../python313-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python314-amd64/async-metrics/s3.json | 35 ---- .../python314-amd64/async-metrics/sns.json | 35 ---- .../python314-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python314-amd64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python314-amd64/sync-metrics/kinesis.json | 17 -- .../python314-amd64/sync-metrics/s3.json | 17 -- .../python314-amd64/sync-metrics/sns.json | 17 -- .../python314-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python314-arm64/async-metrics/s3.json | 35 ---- .../python314-arm64/async-metrics/sns.json | 35 ---- .../python314-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python314-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python314-arm64/sync-metrics/kinesis.json | 17 -- .../python314-arm64/sync-metrics/s3.json | 17 -- .../python314-arm64/sync-metrics/sns.json | 17 -- .../python314-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python315-amd64/async-metrics/s3.json | 35 ---- .../python315-amd64/async-metrics/sns.json | 35 ---- .../python315-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python315-amd64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python315-amd64/sync-metrics/kinesis.json | 17 -- .../python315-amd64/sync-metrics/s3.json | 17 -- .../python315-amd64/sync-metrics/sns.json | 17 -- .../python315-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../async-metrics/kinesis.json | 35 ---- .../python315-arm64/async-metrics/s3.json | 35 ---- .../python315-arm64/async-metrics/sns.json | 35 ---- .../python315-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python315-arm64/sync-metrics/appsync.json | 17 -- .../sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../sync-metrics/http-api.json | 17 -- .../python315-arm64/sync-metrics/kinesis.json | 17 -- .../python315-arm64/sync-metrics/s3.json | 17 -- .../python315-arm64/sync-metrics/sns.json | 17 -- .../python315-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../python38-amd64/async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../python38-amd64/async-metrics/kinesis.json | 35 ---- .../python38-amd64/async-metrics/s3.json | 35 ---- .../python38-amd64/async-metrics/sns.json | 35 ---- .../python38-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python38-amd64/sync-metrics/appsync.json | 17 -- .../python38-amd64/sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../python38-amd64/sync-metrics/http-api.json | 17 -- .../python38-amd64/sync-metrics/kinesis.json | 17 -- .../python38-amd64/sync-metrics/s3.json | 17 -- .../python38-amd64/sync-metrics/sns.json | 17 -- .../python38-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../python38-arm64/async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../python38-arm64/async-metrics/kinesis.json | 35 ---- .../python38-arm64/async-metrics/s3.json | 35 ---- .../python38-arm64/async-metrics/sns.json | 35 ---- .../python38-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python38-arm64/sync-metrics/appsync.json | 17 -- .../python38-arm64/sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../python38-arm64/sync-metrics/http-api.json | 17 -- .../python38-arm64/sync-metrics/kinesis.json | 17 -- .../python38-arm64/sync-metrics/s3.json | 17 -- .../python38-arm64/sync-metrics/sns.json | 17 -- .../python38-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../python39-amd64/async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../python39-amd64/async-metrics/kinesis.json | 35 ---- .../python39-amd64/async-metrics/s3.json | 35 ---- .../python39-amd64/async-metrics/sns.json | 35 ---- .../python39-amd64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python39-amd64/sync-metrics/appsync.json | 17 -- .../python39-amd64/sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../python39-amd64/sync-metrics/http-api.json | 17 -- .../python39-amd64/sync-metrics/kinesis.json | 17 -- .../python39-amd64/sync-metrics/s3.json | 17 -- .../python39-amd64/sync-metrics/sns.json | 17 -- .../python39-amd64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 35 ---- .../python39-arm64/async-metrics/appsync.json | 35 ---- .../async-metrics/dynamodb.json | 43 ---- .../async-metrics/eventbridge-custom.json | 35 ---- .../async-metrics/http-api.json | 35 ---- .../python39-arm64/async-metrics/kinesis.json | 35 ---- .../python39-arm64/async-metrics/s3.json | 35 ---- .../python39-arm64/async-metrics/sns.json | 35 ---- .../python39-arm64/async-metrics/sqs.json | 35 ---- .../async-metrics/websocket.json | 35 ---- .../sync-metrics/api-gateway-get.json | 17 -- .../python39-arm64/sync-metrics/appsync.json | 17 -- .../python39-arm64/sync-metrics/dynamodb.json | 25 --- .../sync-metrics/eventbridge-custom.json | 17 -- .../python39-arm64/sync-metrics/http-api.json | 17 -- .../python39-arm64/sync-metrics/kinesis.json | 17 -- .../python39-arm64/sync-metrics/s3.json | 17 -- .../python39-arm64/sync-metrics/sns.json | 17 -- .../python39-arm64/sync-metrics/sqs.json | 17 -- .../sync-metrics/websocket.json | 17 -- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python310-arm64/async-metrics/s3.json | 36 ---- .../python310-arm64/async-metrics/sns.json | 36 ---- .../python310-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python310-arm64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python310-arm64/sync-metrics/kinesis.json | 102 ---------- .../python310-arm64/sync-metrics/s3.json | 102 ---------- .../python310-arm64/sync-metrics/sns.json | 102 ---------- .../python310-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python311-amd64/async-metrics/s3.json | 36 ---- .../python311-amd64/async-metrics/sns.json | 36 ---- .../python311-amd64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python311-amd64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python311-amd64/sync-metrics/kinesis.json | 102 ---------- .../python311-amd64/sync-metrics/s3.json | 102 ---------- .../python311-amd64/sync-metrics/sns.json | 102 ---------- .../python311-amd64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python311-arm64/async-metrics/s3.json | 36 ---- .../python311-arm64/async-metrics/sns.json | 36 ---- .../python311-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python311-arm64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python311-arm64/sync-metrics/kinesis.json | 102 ---------- .../python311-arm64/sync-metrics/s3.json | 102 ---------- .../python311-arm64/sync-metrics/sns.json | 102 ---------- .../python311-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python312-amd64/async-metrics/s3.json | 36 ---- .../python312-amd64/async-metrics/sns.json | 36 ---- .../python312-amd64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python312-amd64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python312-amd64/sync-metrics/kinesis.json | 102 ---------- .../python312-amd64/sync-metrics/s3.json | 102 ---------- .../python312-amd64/sync-metrics/sns.json | 102 ---------- .../python312-amd64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python312-arm64/async-metrics/s3.json | 36 ---- .../python312-arm64/async-metrics/sns.json | 36 ---- .../python312-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python312-arm64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python312-arm64/sync-metrics/kinesis.json | 102 ---------- .../python312-arm64/sync-metrics/s3.json | 102 ---------- .../python312-arm64/sync-metrics/sns.json | 102 ---------- .../python312-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python313-amd64/async-metrics/s3.json | 36 ---- .../python313-amd64/async-metrics/sns.json | 36 ---- .../python313-amd64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python313-amd64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python313-amd64/sync-metrics/kinesis.json | 102 ---------- .../python313-amd64/sync-metrics/s3.json | 102 ---------- .../python313-amd64/sync-metrics/sns.json | 102 ---------- .../python313-amd64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python313-arm64/async-metrics/s3.json | 36 ---- .../python313-arm64/async-metrics/sns.json | 36 ---- .../python313-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python313-arm64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python313-arm64/sync-metrics/kinesis.json | 102 ---------- .../python313-arm64/sync-metrics/s3.json | 102 ---------- .../python313-arm64/sync-metrics/sns.json | 102 ---------- .../python313-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python315-amd64/async-metrics/s3.json | 36 ---- .../python315-amd64/async-metrics/sns.json | 36 ---- .../python315-amd64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python315-amd64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python315-amd64/sync-metrics/kinesis.json | 102 ---------- .../python315-amd64/sync-metrics/s3.json | 102 ---------- .../python315-amd64/sync-metrics/sns.json | 102 ---------- .../python315-amd64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../async-metrics/kinesis.json | 36 ---- .../python315-arm64/async-metrics/s3.json | 36 ---- .../python315-arm64/async-metrics/sns.json | 36 ---- .../python315-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python315-arm64/sync-metrics/appsync.json | 100 ---------- .../sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../sync-metrics/http-api.json | 102 ---------- .../python315-arm64/sync-metrics/kinesis.json | 102 ---------- .../python315-arm64/sync-metrics/s3.json | 102 ---------- .../python315-arm64/sync-metrics/sns.json | 102 ---------- .../python315-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../python38-amd64/async-metrics/appsync.json | 34 ---- .../python38-arm64/async-metrics/appsync.json | 34 ---- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 36 ---- .../python39-amd64/async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../python39-amd64/async-metrics/kinesis.json | 36 ---- .../python39-amd64/async-metrics/s3.json | 36 ---- .../python39-amd64/async-metrics/sns.json | 36 ---- .../python39-amd64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python39-amd64/sync-metrics/appsync.json | 100 ---------- .../python39-amd64/sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../python39-amd64/sync-metrics/http-api.json | 102 ---------- .../python39-amd64/sync-metrics/kinesis.json | 102 ---------- .../python39-amd64/sync-metrics/s3.json | 102 ---------- .../python39-amd64/sync-metrics/sns.json | 102 ---------- .../python39-amd64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 36 ---- .../python39-arm64/async-metrics/appsync.json | 34 ---- .../async-metrics/dynamodb.json | 36 ---- .../async-metrics/eventbridge-custom.json | 36 ---- .../async-metrics/http-api.json | 36 ---- .../python39-arm64/async-metrics/kinesis.json | 36 ---- .../python39-arm64/async-metrics/s3.json | 36 ---- .../python39-arm64/async-metrics/sns.json | 36 ---- .../python39-arm64/async-metrics/sqs.json | 36 ---- .../async-metrics/websocket.json | 36 ---- .../sync-metrics/api-gateway-get.json | 102 ---------- .../python39-arm64/sync-metrics/appsync.json | 100 ---------- .../python39-arm64/sync-metrics/dynamodb.json | 102 ---------- .../sync-metrics/eventbridge-custom.json | 102 ---------- .../python39-arm64/sync-metrics/http-api.json | 102 ---------- .../python39-arm64/sync-metrics/kinesis.json | 102 ---------- .../python39-arm64/sync-metrics/s3.json | 102 ---------- .../python39-arm64/sync-metrics/sns.json | 102 ---------- .../python39-arm64/sync-metrics/sqs.json | 102 ---------- .../sync-metrics/websocket.json | 102 ---------- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python310-arm64/async-metrics/s3.json | 133 ------------- .../python310-arm64/async-metrics/sns.json | 120 ----------- .../python310-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python310-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python310-arm64/sync-metrics/kinesis.json | 155 --------------- .../python310-arm64/sync-metrics/s3.json | 166 ---------------- .../python310-arm64/sync-metrics/sns.json | 153 -------------- .../python310-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python311-amd64/async-metrics/s3.json | 133 ------------- .../python311-amd64/async-metrics/sns.json | 120 ----------- .../python311-amd64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python311-amd64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python311-amd64/sync-metrics/kinesis.json | 155 --------------- .../python311-amd64/sync-metrics/s3.json | 166 ---------------- .../python311-amd64/sync-metrics/sns.json | 153 -------------- .../python311-amd64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python311-arm64/async-metrics/s3.json | 133 ------------- .../python311-arm64/async-metrics/sns.json | 120 ----------- .../python311-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python311-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python311-arm64/sync-metrics/kinesis.json | 155 --------------- .../python311-arm64/sync-metrics/s3.json | 166 ---------------- .../python311-arm64/sync-metrics/sns.json | 153 -------------- .../python311-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python312-amd64/async-metrics/s3.json | 133 ------------- .../python312-amd64/async-metrics/sns.json | 120 ----------- .../python312-amd64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python312-amd64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python312-amd64/sync-metrics/kinesis.json | 155 --------------- .../python312-amd64/sync-metrics/s3.json | 166 ---------------- .../python312-amd64/sync-metrics/sns.json | 153 -------------- .../python312-amd64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python312-arm64/async-metrics/s3.json | 133 ------------- .../python312-arm64/async-metrics/sns.json | 120 ----------- .../python312-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python312-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python312-arm64/sync-metrics/kinesis.json | 155 --------------- .../python312-arm64/sync-metrics/s3.json | 166 ---------------- .../python312-arm64/sync-metrics/sns.json | 153 -------------- .../python312-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python313-amd64/async-metrics/s3.json | 133 ------------- .../python313-amd64/async-metrics/sns.json | 120 ----------- .../python313-amd64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python313-amd64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python313-amd64/sync-metrics/kinesis.json | 155 --------------- .../python313-amd64/sync-metrics/s3.json | 166 ---------------- .../python313-amd64/sync-metrics/sns.json | 153 -------------- .../python313-amd64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python313-arm64/async-metrics/s3.json | 133 ------------- .../python313-arm64/async-metrics/sns.json | 120 ----------- .../python313-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python313-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python313-arm64/sync-metrics/kinesis.json | 155 --------------- .../python313-arm64/sync-metrics/s3.json | 166 ---------------- .../python313-arm64/sync-metrics/sns.json | 153 -------------- .../python313-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python314-amd64/async-metrics/s3.json | 133 ------------- .../python314-amd64/async-metrics/sns.json | 120 ----------- .../python314-amd64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python314-amd64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python314-amd64/sync-metrics/kinesis.json | 155 --------------- .../python314-amd64/sync-metrics/s3.json | 166 ---------------- .../python314-amd64/sync-metrics/sns.json | 153 -------------- .../python314-amd64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python314-arm64/async-metrics/s3.json | 133 ------------- .../python314-arm64/async-metrics/sns.json | 120 ----------- .../python314-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python314-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python314-arm64/sync-metrics/kinesis.json | 155 --------------- .../python314-arm64/sync-metrics/s3.json | 166 ---------------- .../python314-arm64/sync-metrics/sns.json | 153 -------------- .../python314-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python315-amd64/async-metrics/s3.json | 133 ------------- .../python315-amd64/async-metrics/sns.json | 120 ----------- .../python315-amd64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python315-amd64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python315-amd64/sync-metrics/kinesis.json | 155 --------------- .../python315-amd64/sync-metrics/s3.json | 166 ---------------- .../python315-amd64/sync-metrics/sns.json | 153 -------------- .../python315-amd64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 128 ------------ .../async-metrics/appsync.json | 84 -------- .../async-metrics/dynamodb.json | 154 --------------- .../async-metrics/eventbridge-custom.json | 114 ----------- .../async-metrics/http-api.json | 129 ------------ .../async-metrics/kinesis.json | 122 ------------ .../python315-arm64/async-metrics/s3.json | 133 ------------- .../python315-arm64/async-metrics/sns.json | 120 ----------- .../python315-arm64/async-metrics/sqs.json | 119 ----------- .../async-metrics/websocket.json | 127 ------------ .../sync-metrics/api-gateway-get.json | 161 --------------- .../python315-arm64/sync-metrics/appsync.json | 117 ----------- .../sync-metrics/dynamodb.json | 187 ------------------ .../sync-metrics/eventbridge-custom.json | 147 -------------- .../sync-metrics/http-api.json | 162 --------------- .../python315-arm64/sync-metrics/kinesis.json | 155 --------------- .../python315-arm64/sync-metrics/s3.json | 166 ---------------- .../python315-arm64/sync-metrics/sns.json | 153 -------------- .../python315-arm64/sync-metrics/sqs.json | 152 -------------- .../sync-metrics/websocket.json | 160 --------------- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 .../async-metrics/api-gateway-get.json | 118 ----------- .../python39-amd64/async-metrics/appsync.json | 76 ------- .../async-metrics/dynamodb.json | 144 -------------- .../async-metrics/eventbridge-custom.json | 104 ---------- .../async-metrics/http-api.json | 119 ----------- .../python39-amd64/async-metrics/kinesis.json | 112 ----------- .../python39-amd64/async-metrics/s3.json | 123 ------------ .../python39-amd64/async-metrics/sns.json | 110 ----------- .../python39-amd64/async-metrics/sqs.json | 109 ---------- .../async-metrics/websocket.json | 117 ----------- .../sync-metrics/api-gateway-get.json | 147 -------------- .../python39-amd64/sync-metrics/appsync.json | 105 ---------- .../python39-amd64/sync-metrics/dynamodb.json | 173 ---------------- .../sync-metrics/eventbridge-custom.json | 133 ------------- .../python39-amd64/sync-metrics/http-api.json | 148 -------------- .../python39-amd64/sync-metrics/kinesis.json | 141 ------------- .../spans/python39-amd64/sync-metrics/s3.json | 152 -------------- .../python39-amd64/sync-metrics/sns.json | 139 ------------- .../python39-amd64/sync-metrics/sqs.json | 138 ------------- .../sync-metrics/websocket.json | 146 -------------- .../async-metrics/api-gateway-get.json | 118 ----------- .../python39-arm64/async-metrics/appsync.json | 76 ------- .../async-metrics/dynamodb.json | 144 -------------- .../async-metrics/eventbridge-custom.json | 104 ---------- .../async-metrics/http-api.json | 119 ----------- .../python39-arm64/async-metrics/kinesis.json | 112 ----------- .../python39-arm64/async-metrics/s3.json | 123 ------------ .../python39-arm64/async-metrics/sns.json | 110 ----------- .../python39-arm64/async-metrics/sqs.json | 109 ---------- .../async-metrics/websocket.json | 117 ----------- .../sync-metrics/api-gateway-get.json | 147 -------------- .../python39-arm64/sync-metrics/appsync.json | 105 ---------- .../python39-arm64/sync-metrics/dynamodb.json | 173 ---------------- .../sync-metrics/eventbridge-custom.json | 133 ------------- .../python39-arm64/sync-metrics/http-api.json | 148 -------------- .../python39-arm64/sync-metrics/kinesis.json | 141 ------------- .../spans/python39-arm64/sync-metrics/s3.json | 152 -------------- .../python39-arm64/sync-metrics/sns.json | 139 ------------- .../python39-arm64/sync-metrics/sqs.json | 138 ------------- .../sync-metrics/websocket.json | 146 -------------- .../async-metrics/api-gateway-get.json | 0 .../async-metrics/appsync.json | 0 .../async-metrics/dynamodb.json | 0 .../async-metrics/eventbridge-custom.json | 0 .../async-metrics/http-api.json | 0 .../async-metrics/kinesis.json | 0 .../async-metrics/s3.json | 0 .../async-metrics/sns.json | 0 .../async-metrics/sqs.json | 0 .../async-metrics/websocket.json | 0 .../sync-metrics/api-gateway-get.json | 0 .../sync-metrics/appsync.json | 0 .../sync-metrics/dynamodb.json | 0 .../sync-metrics/eventbridge-custom.json | 0 .../sync-metrics/http-api.json | 0 .../sync-metrics/kinesis.json | 0 .../sync-metrics/s3.json | 0 .../sync-metrics/sns.json | 0 .../sync-metrics/sqs.json | 0 .../sync-metrics/websocket.json | 0 1280 files changed, 59342 deletions(-) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/appsync.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/http-api.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/kinesis.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/s3.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/sns.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/sqs.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/async-metrics/websocket.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/appsync.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/http-api.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/s3.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/sns.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/sqs.json (100%) rename tests/integration/expected/logs/{python310-amd64 => default}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/appsync.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/http-api.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/kinesis.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/s3.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/sns.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/sqs.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/async-metrics/websocket.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/appsync.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/http-api.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/s3.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/sns.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/sqs.json (100%) rename tests/integration/expected/metrics/{python310-amd64 => default}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/s3.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/sns.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/async-metrics/websocket.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/s3.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/sns.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python310-amd64 => default}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/s3.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/sns.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/async-metrics/websocket.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/s3.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/sns.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python314-amd64 => python314}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/s3.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/sns.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/async-metrics/websocket.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/s3.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/sns.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python314-arm64 => python315}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/s3.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/sns.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/async-metrics/websocket.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/s3.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/sns.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python38-amd64 => python38}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/s3.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/sns.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/async-metrics/websocket.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/appsync.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/http-api.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/s3.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/sns.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/sqs.json (100%) rename tests/integration/expected/requests/{python38-arm64 => python39}/sync-metrics/websocket.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/s3.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/sns.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/async-metrics/websocket.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/s3.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/sns.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python310-amd64 => default}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/s3.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/sns.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/async-metrics/websocket.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/s3.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/sns.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python38-amd64 => python38}/sync-metrics/websocket.json (100%) delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/s3.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/sns.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/async-metrics/websocket.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/api-gateway-get.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/appsync.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/dynamodb.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/eventbridge-custom.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/http-api.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/kinesis.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/s3.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/sns.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/sqs.json (100%) rename tests/integration/expected/spans/{python38-arm64 => python39}/sync-metrics/websocket.json (100%) diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/default/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/logs/default/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/default/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/appsync.json rename to tests/integration/expected/logs/default/async-metrics/appsync.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/default/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/logs/default/async-metrics/dynamodb.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/default/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/http-api.json rename to tests/integration/expected/logs/default/async-metrics/http-api.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/default/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/kinesis.json rename to tests/integration/expected/logs/default/async-metrics/kinesis.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/s3.json b/tests/integration/expected/logs/default/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/s3.json rename to tests/integration/expected/logs/default/async-metrics/s3.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/sns.json b/tests/integration/expected/logs/default/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/sns.json rename to tests/integration/expected/logs/default/async-metrics/sns.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/default/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/sqs.json rename to tests/integration/expected/logs/default/async-metrics/sqs.json diff --git a/tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/default/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/async-metrics/websocket.json rename to tests/integration/expected/logs/default/async-metrics/websocket.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/default/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/appsync.json rename to tests/integration/expected/logs/default/sync-metrics/appsync.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/default/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/logs/default/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/default/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/http-api.json rename to tests/integration/expected/logs/default/sync-metrics/http-api.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/default/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/logs/default/sync-metrics/kinesis.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/default/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/s3.json rename to tests/integration/expected/logs/default/sync-metrics/s3.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/default/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/sns.json rename to tests/integration/expected/logs/default/sync-metrics/sns.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/default/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/sqs.json rename to tests/integration/expected/logs/default/sync-metrics/sqs.json diff --git a/tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/default/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/logs/python310-amd64/sync-metrics/websocket.json rename to tests/integration/expected/logs/default/sync-metrics/websocket.json diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python310-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python311-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python312-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python313-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python314-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python315-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python38-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json b/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json b/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json b/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json b/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/python39-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/default/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/metrics/default/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/default/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/appsync.json rename to tests/integration/expected/metrics/default/async-metrics/appsync.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/default/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/metrics/default/async-metrics/dynamodb.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/default/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/http-api.json rename to tests/integration/expected/metrics/default/async-metrics/http-api.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/default/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/kinesis.json rename to tests/integration/expected/metrics/default/async-metrics/kinesis.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/default/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/s3.json rename to tests/integration/expected/metrics/default/async-metrics/s3.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/default/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/sns.json rename to tests/integration/expected/metrics/default/async-metrics/sns.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/default/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/sqs.json rename to tests/integration/expected/metrics/default/async-metrics/sqs.json diff --git a/tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/default/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/async-metrics/websocket.json rename to tests/integration/expected/metrics/default/async-metrics/websocket.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/default/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/appsync.json rename to tests/integration/expected/metrics/default/sync-metrics/appsync.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/default/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/metrics/default/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/default/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/metrics/default/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/default/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/http-api.json rename to tests/integration/expected/metrics/default/sync-metrics/http-api.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/default/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/metrics/default/sync-metrics/kinesis.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/default/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/s3.json rename to tests/integration/expected/metrics/default/sync-metrics/s3.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/default/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/sns.json rename to tests/integration/expected/metrics/default/sync-metrics/sns.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/default/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/sqs.json rename to tests/integration/expected/metrics/default/sync-metrics/sqs.json diff --git a/tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/default/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/metrics/python310-amd64/sync-metrics/websocket.json rename to tests/integration/expected/metrics/default/sync-metrics/websocket.json diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python310-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python310-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python311-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python311-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python312-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python312-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python313-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python313-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python314-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python314-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python315-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python315-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python38-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python38-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 27747ce6d..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/python39-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/python39-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/default/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/default/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/default/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/appsync.json rename to tests/integration/expected/requests/default/async-metrics/appsync.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/default/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/requests/default/async-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/default/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/http-api.json rename to tests/integration/expected/requests/default/async-metrics/http-api.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/default/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/kinesis.json rename to tests/integration/expected/requests/default/async-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/s3.json b/tests/integration/expected/requests/default/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/s3.json rename to tests/integration/expected/requests/default/async-metrics/s3.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sns.json b/tests/integration/expected/requests/default/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/sns.json rename to tests/integration/expected/requests/default/async-metrics/sns.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/default/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/sqs.json rename to tests/integration/expected/requests/default/async-metrics/sqs.json diff --git a/tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/default/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/async-metrics/websocket.json rename to tests/integration/expected/requests/default/async-metrics/websocket.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/default/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/default/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/default/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/appsync.json rename to tests/integration/expected/requests/default/sync-metrics/appsync.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/default/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/default/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/default/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/http-api.json rename to tests/integration/expected/requests/default/sync-metrics/http-api.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/default/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/requests/default/sync-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/default/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/s3.json rename to tests/integration/expected/requests/default/sync-metrics/s3.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/default/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/sns.json rename to tests/integration/expected/requests/default/sync-metrics/sns.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/default/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/sqs.json rename to tests/integration/expected/requests/default/sync-metrics/sqs.json diff --git a/tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/default/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python310-amd64/sync-metrics/websocket.json rename to tests/integration/expected/requests/default/sync-metrics/websocket.json diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python310-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python310-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python311-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python311-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python312-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python312-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/python313-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json deleted file mode 100644 index 56d559771..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/python313-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python314/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python314/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/appsync.json rename to tests/integration/expected/requests/python314/async-metrics/appsync.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python314/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/requests/python314/async-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python314/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/http-api.json rename to tests/integration/expected/requests/python314/async-metrics/http-api.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python314/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/kinesis.json rename to tests/integration/expected/requests/python314/async-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python314/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/s3.json rename to tests/integration/expected/requests/python314/async-metrics/s3.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python314/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/sns.json rename to tests/integration/expected/requests/python314/async-metrics/sns.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python314/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/sqs.json rename to tests/integration/expected/requests/python314/async-metrics/sqs.json diff --git a/tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python314/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/async-metrics/websocket.json rename to tests/integration/expected/requests/python314/async-metrics/websocket.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python314/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python314/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/appsync.json rename to tests/integration/expected/requests/python314/sync-metrics/appsync.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python314/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/python314/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python314/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/http-api.json rename to tests/integration/expected/requests/python314/sync-metrics/http-api.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python314/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/requests/python314/sync-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python314/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/s3.json rename to tests/integration/expected/requests/python314/sync-metrics/s3.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python314/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/sns.json rename to tests/integration/expected/requests/python314/sync-metrics/sns.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python314/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/sqs.json rename to tests/integration/expected/requests/python314/sync-metrics/sqs.json diff --git a/tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python314/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python314-amd64/sync-metrics/websocket.json rename to tests/integration/expected/requests/python314/sync-metrics/websocket.json diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json deleted file mode 100644 index a197577d9..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json deleted file mode 100644 index 38c895b07..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json deleted file mode 100644 index a197577d9..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json deleted file mode 100644 index 38c895b07..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python315/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/appsync.json rename to tests/integration/expected/requests/python315/async-metrics/appsync.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/dynamodb.json rename to tests/integration/expected/requests/python315/async-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python315/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/http-api.json rename to tests/integration/expected/requests/python315/async-metrics/http-api.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python315/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/kinesis.json rename to tests/integration/expected/requests/python315/async-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python315/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/s3.json rename to tests/integration/expected/requests/python315/async-metrics/s3.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python315/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/sns.json rename to tests/integration/expected/requests/python315/async-metrics/sns.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python315/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/sqs.json rename to tests/integration/expected/requests/python315/async-metrics/sqs.json diff --git a/tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python315/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/async-metrics/websocket.json rename to tests/integration/expected/requests/python315/async-metrics/websocket.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python315/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/appsync.json rename to tests/integration/expected/requests/python315/sync-metrics/appsync.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/python315/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python315/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/http-api.json rename to tests/integration/expected/requests/python315/sync-metrics/http-api.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/kinesis.json rename to tests/integration/expected/requests/python315/sync-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python315/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/s3.json rename to tests/integration/expected/requests/python315/sync-metrics/s3.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python315/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/sns.json rename to tests/integration/expected/requests/python315/sync-metrics/sns.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python315/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/sqs.json rename to tests/integration/expected/requests/python315/sync-metrics/sqs.json diff --git a/tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python315/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python314-arm64/sync-metrics/websocket.json rename to tests/integration/expected/requests/python315/sync-metrics/websocket.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python38-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python38-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python38/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python38/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/requests/python38/async-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python38/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/http-api.json rename to tests/integration/expected/requests/python38/async-metrics/http-api.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python38/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/kinesis.json rename to tests/integration/expected/requests/python38/async-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python38/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/s3.json rename to tests/integration/expected/requests/python38/async-metrics/s3.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python38/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/sns.json rename to tests/integration/expected/requests/python38/async-metrics/sns.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python38/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/sqs.json rename to tests/integration/expected/requests/python38/async-metrics/sqs.json diff --git a/tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python38/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/async-metrics/websocket.json rename to tests/integration/expected/requests/python38/async-metrics/websocket.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python38/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python38/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/appsync.json rename to tests/integration/expected/requests/python38/sync-metrics/appsync.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python38/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/python38/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python38/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/http-api.json rename to tests/integration/expected/requests/python38/sync-metrics/http-api.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python38/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/requests/python38/sync-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python38/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/s3.json rename to tests/integration/expected/requests/python38/sync-metrics/s3.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python38/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/sns.json rename to tests/integration/expected/requests/python38/sync-metrics/sns.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python38/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/sqs.json rename to tests/integration/expected/requests/python38/sync-metrics/sqs.json diff --git a/tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python38/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python38-amd64/sync-metrics/websocket.json rename to tests/integration/expected/requests/python38/sync-metrics/websocket.json diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json b/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json b/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json deleted file mode 100644 index 75dc98b46..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json deleted file mode 100644 index eff622080..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json deleted file mode 100644 index 75dc98b46..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/dynamodb.json rename to tests/integration/expected/requests/python39/async-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/requests/python39/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/http-api.json rename to tests/integration/expected/requests/python39/async-metrics/http-api.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/requests/python39/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/kinesis.json rename to tests/integration/expected/requests/python39/async-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/s3.json b/tests/integration/expected/requests/python39/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/s3.json rename to tests/integration/expected/requests/python39/async-metrics/s3.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/sns.json b/tests/integration/expected/requests/python39/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/sns.json rename to tests/integration/expected/requests/python39/async-metrics/sns.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/requests/python39/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/sqs.json rename to tests/integration/expected/requests/python39/async-metrics/sqs.json diff --git a/tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/requests/python39/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/async-metrics/websocket.json rename to tests/integration/expected/requests/python39/async-metrics/websocket.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/requests/python39/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/appsync.json rename to tests/integration/expected/requests/python39/sync-metrics/appsync.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/python39/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/requests/python39/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/http-api.json rename to tests/integration/expected/requests/python39/sync-metrics/http-api.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/kinesis.json rename to tests/integration/expected/requests/python39/sync-metrics/kinesis.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/requests/python39/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/s3.json rename to tests/integration/expected/requests/python39/sync-metrics/s3.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/requests/python39/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/sns.json rename to tests/integration/expected/requests/python39/sync-metrics/sns.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/requests/python39/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/sqs.json rename to tests/integration/expected/requests/python39/sync-metrics/sqs.json diff --git a/tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/requests/python39/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/requests/python38-arm64/sync-metrics/websocket.json rename to tests/integration/expected/requests/python39/sync-metrics/websocket.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/default/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/spans/default/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/default/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/appsync.json rename to tests/integration/expected/spans/default/async-metrics/appsync.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/default/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/spans/default/async-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/default/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/default/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/default/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/http-api.json rename to tests/integration/expected/spans/default/async-metrics/http-api.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/default/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/kinesis.json rename to tests/integration/expected/spans/default/async-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/s3.json b/tests/integration/expected/spans/default/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/s3.json rename to tests/integration/expected/spans/default/async-metrics/s3.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/sns.json b/tests/integration/expected/spans/default/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/sns.json rename to tests/integration/expected/spans/default/async-metrics/sns.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/default/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/sqs.json rename to tests/integration/expected/spans/default/async-metrics/sqs.json diff --git a/tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/default/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/async-metrics/websocket.json rename to tests/integration/expected/spans/default/async-metrics/websocket.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/default/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/appsync.json rename to tests/integration/expected/spans/default/sync-metrics/appsync.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/default/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/spans/default/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/default/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/default/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/default/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/http-api.json rename to tests/integration/expected/spans/default/sync-metrics/http-api.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/default/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/spans/default/sync-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/default/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/s3.json rename to tests/integration/expected/spans/default/sync-metrics/s3.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/default/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/sns.json rename to tests/integration/expected/spans/default/sync-metrics/sns.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/default/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/sqs.json rename to tests/integration/expected/spans/default/sync-metrics/sqs.json diff --git a/tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/default/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python310-amd64/sync-metrics/websocket.json rename to tests/integration/expected/spans/default/sync-metrics/websocket.json diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python310-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python310-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python311-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python311-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python311-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python311-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python312-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python312-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python312-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python312-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python313-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python313-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python313-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python313-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python314-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python314-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python314-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python314-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python315-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python315-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index c05bc2d31..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,128 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json deleted file mode 100644 index fe6a0878c..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,84 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 1e0a9207b..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index 434872a6c..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json deleted file mode 100644 index 3e81364ae..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json deleted file mode 100644 index a50e0fb1e..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,122 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json deleted file mode 100644 index dd46eb6d5..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/s3.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json deleted file mode 100644 index 3313f6e17..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/sns.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json deleted file mode 100644 index 1d8a7d70b..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json deleted file mode 100644 index 7ec6e3b23..000000000 --- a/tests/integration/expected/spans/python315-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,127 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index d19a0607e..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,161 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json deleted file mode 100644 index 812365268..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 576e7b23a..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,187 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 15ac5d79c..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json deleted file mode 100644 index c2cbf4a19..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json deleted file mode 100644 index a50118fb9..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,155 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json deleted file mode 100644 index d19992f9d..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,166 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json deleted file mode 100644 index feb914501..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,153 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json deleted file mode 100644 index bc0832a2f..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json deleted file mode 100644 index 2ada09ccd..000000000 --- a/tests/integration/expected/spans/python315-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,160 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_dd.svc_src": "m", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "_dd.svc_src": "m", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.status_msg": "OK", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.base_service": "integration-tests-python", - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.svc_src": "requests", - "_dd.tags.process": "entrypoint.basedir:runtime,entrypoint.name:bootstrap,entrypoint.type:script,entrypoint.workdir:task,svc.user:true", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.status_msg": "Accepted", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/api-gateway-get.json rename to tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python38/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/appsync.json rename to tests/integration/expected/spans/python38/async-metrics/appsync.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python38/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/dynamodb.json rename to tests/integration/expected/spans/python38/async-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/python38/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python38/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/http-api.json rename to tests/integration/expected/spans/python38/async-metrics/http-api.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python38/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/kinesis.json rename to tests/integration/expected/spans/python38/async-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python38/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/s3.json rename to tests/integration/expected/spans/python38/async-metrics/s3.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python38/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/sns.json rename to tests/integration/expected/spans/python38/async-metrics/sns.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python38/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/sqs.json rename to tests/integration/expected/spans/python38/async-metrics/sqs.json diff --git a/tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python38/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/async-metrics/websocket.json rename to tests/integration/expected/spans/python38/async-metrics/websocket.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python38/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/appsync.json rename to tests/integration/expected/spans/python38/sync-metrics/appsync.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python38/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/dynamodb.json rename to tests/integration/expected/spans/python38/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python38/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/python38/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python38/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/http-api.json rename to tests/integration/expected/spans/python38/sync-metrics/http-api.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python38/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/kinesis.json rename to tests/integration/expected/spans/python38/sync-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python38/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/s3.json rename to tests/integration/expected/spans/python38/sync-metrics/s3.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python38/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/sns.json rename to tests/integration/expected/spans/python38/sync-metrics/sns.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python38/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/sqs.json rename to tests/integration/expected/spans/python38/sync-metrics/sqs.json diff --git a/tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python38/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python38-amd64/sync-metrics/websocket.json rename to tests/integration/expected/spans/python38/sync-metrics/websocket.json diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json deleted file mode 100644 index 8df0c4976..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json b/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json deleted file mode 100644 index 7cc408074..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/appsync.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json deleted file mode 100644 index 9da2ed692..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/dynamodb.json +++ /dev/null @@ -1,144 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json deleted file mode 100644 index c3063bda7..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json b/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json deleted file mode 100644 index db5b7ac25..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/http-api.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json b/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json deleted file mode 100644 index ba7edd1eb..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/kinesis.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json b/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json deleted file mode 100644 index ab6b746b0..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/s3.json +++ /dev/null @@ -1,123 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json b/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json deleted file mode 100644 index 16de9a831..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/sns.json +++ /dev/null @@ -1,110 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json b/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json deleted file mode 100644 index fc5c4f8d9..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/sqs.json +++ /dev/null @@ -1,109 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json b/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json deleted file mode 100644 index b4073f119..000000000 --- a/tests/integration/expected/spans/python39-amd64/async-metrics/websocket.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json deleted file mode 100644 index bea165742..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json deleted file mode 100644 index 18a6db545..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/appsync.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json deleted file mode 100644 index 610c3b5fb..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,173 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 6d1b12625..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json deleted file mode 100644 index 711fe6bcb..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/http-api.json +++ /dev/null @@ -1,148 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json deleted file mode 100644 index 24eb6dc78..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/kinesis.json +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json deleted file mode 100644 index b94621902..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/s3.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json deleted file mode 100644 index a67fb4ac5..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/sns.json +++ /dev/null @@ -1,139 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json deleted file mode 100644 index 8aeb5c344..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/sqs.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json b/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json deleted file mode 100644 index 3fdef7d50..000000000 --- a/tests/integration/expected/spans/python39-amd64/sync-metrics/websocket.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json deleted file mode 100644 index 8df0c4976..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json deleted file mode 100644 index 7cc408074..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/appsync.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json deleted file mode 100644 index 9da2ed692..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/dynamodb.json +++ /dev/null @@ -1,144 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json deleted file mode 100644 index c3063bda7..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json deleted file mode 100644 index db5b7ac25..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/http-api.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json deleted file mode 100644 index ba7edd1eb..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/kinesis.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json deleted file mode 100644 index ab6b746b0..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/s3.json +++ /dev/null @@ -1,123 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json deleted file mode 100644 index 16de9a831..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/sns.json +++ /dev/null @@ -1,110 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json deleted file mode 100644 index fc5c4f8d9..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/sqs.json +++ /dev/null @@ -1,109 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json deleted file mode 100644 index b4073f119..000000000 --- a/tests/integration/expected/spans/python39-arm64/async-metrics/websocket.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json deleted file mode 100644 index bea165742..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json deleted file mode 100644 index 18a6db545..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/appsync.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json deleted file mode 100644 index 610c3b5fb..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/dynamodb.json +++ /dev/null @@ -1,173 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 6d1b12625..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json deleted file mode 100644 index 711fe6bcb..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/http-api.json +++ /dev/null @@ -1,148 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json deleted file mode 100644 index 24eb6dc78..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/kinesis.json +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json deleted file mode 100644 index b94621902..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/s3.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json deleted file mode 100644 index a67fb4ac5..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/sns.json +++ /dev/null @@ -1,139 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json deleted file mode 100644 index 8aeb5c344..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/sqs.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json deleted file mode 100644 index 3fdef7d50..000000000 --- a/tests/integration/expected/spans/python39-arm64/sync-metrics/websocket.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/api-gateway-get.json rename to tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json b/tests/integration/expected/spans/python39/async-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/appsync.json rename to tests/integration/expected/spans/python39/async-metrics/appsync.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39/async-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/dynamodb.json rename to tests/integration/expected/spans/python39/async-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json b/tests/integration/expected/spans/python39/async-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/http-api.json rename to tests/integration/expected/spans/python39/async-metrics/http-api.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json b/tests/integration/expected/spans/python39/async-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/kinesis.json rename to tests/integration/expected/spans/python39/async-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/s3.json b/tests/integration/expected/spans/python39/async-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/s3.json rename to tests/integration/expected/spans/python39/async-metrics/s3.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/sns.json b/tests/integration/expected/spans/python39/async-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/sns.json rename to tests/integration/expected/spans/python39/async-metrics/sns.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json b/tests/integration/expected/spans/python39/async-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/sqs.json rename to tests/integration/expected/spans/python39/async-metrics/sqs.json diff --git a/tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json b/tests/integration/expected/spans/python39/async-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/async-metrics/websocket.json rename to tests/integration/expected/spans/python39/async-metrics/websocket.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/api-gateway-get.json rename to tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json b/tests/integration/expected/spans/python39/sync-metrics/appsync.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/appsync.json rename to tests/integration/expected/spans/python39/sync-metrics/appsync.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39/sync-metrics/dynamodb.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/dynamodb.json rename to tests/integration/expected/spans/python39/sync-metrics/dynamodb.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json b/tests/integration/expected/spans/python39/sync-metrics/http-api.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/http-api.json rename to tests/integration/expected/spans/python39/sync-metrics/http-api.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39/sync-metrics/kinesis.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/kinesis.json rename to tests/integration/expected/spans/python39/sync-metrics/kinesis.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json b/tests/integration/expected/spans/python39/sync-metrics/s3.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/s3.json rename to tests/integration/expected/spans/python39/sync-metrics/s3.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json b/tests/integration/expected/spans/python39/sync-metrics/sns.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/sns.json rename to tests/integration/expected/spans/python39/sync-metrics/sns.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json b/tests/integration/expected/spans/python39/sync-metrics/sqs.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/sqs.json rename to tests/integration/expected/spans/python39/sync-metrics/sqs.json diff --git a/tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json b/tests/integration/expected/spans/python39/sync-metrics/websocket.json similarity index 100% rename from tests/integration/expected/spans/python38-arm64/sync-metrics/websocket.json rename to tests/integration/expected/spans/python39/sync-metrics/websocket.json From 0b761c8b17821701a745e25683c816f875a91265 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Thu, 3 Dec 2026 11:09:50 -0500 Subject: [PATCH 09/13] fix extension version --- .gitlab-ci.yml | 4 - CONTRIBUTING.md | 2 +- ci/build-pipeline.yaml | 5625 +++++++++++++++++++++++++ ci/input_files/build.yaml.tpl | 5 +- scripts/run_integration_pytest.sh | 2 +- tests/integration/conftest.py | 5 +- tests/integration/harness/aws.py | 50 +- tests/integration/harness/settings.py | 17 +- tests/test_integration_harness.py | 2 +- 9 files changed, 5647 insertions(+), 65 deletions(-) create mode 100644 ci/build-pipeline.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34419c22f..6fa9417bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,6 @@ variables: # Opt-in pytest integration suite (integration-test-pytest jobs). # TODO(APMSVLS-728): set back to "false" before merging. RUN_PYTEST_INTEGRATION_TESTS: "true" - # Datadog Extension layer version for the integration-test-pytest-extension jobs: - # a version number, or "latest". Pin a number so Extension releases cannot change results. - PYTEST_EXTENSION_LAYER_VERSION: "latest" - stages: - pre - build diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7176ab847..0dcdc45af 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ We love pull requests. For new features, consider opening an issue to discuss th BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh ``` Leave out `PYTHON_VERSION` to run every supported version, one after another. - The tests that use the Datadog Extension (with a mock intake) use the latest Extension layer; set `DD_EXTENSION_LAYER_VERSION` to pin a version, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, with the layer version from `PYTEST_EXTENSION_LAYER_VERSION` in `.gitlab-ci.yml`). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. + The tests that use the Datadog Extension (with a mock intake) use layer version 105 by default; set `DD_EXTENSION_LAYER_VERSION` to another version number, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, pinned to layer version 105 in `ci/input_files/build.yaml.tpl`). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. 1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). To update them after an intended change: 1. Run the suite with `UPDATE_EXPECTED=true`, locally (writes files for that runtime) or in CI with `RUN_PYTEST_INTEGRATION_TESTS=true UPDATE_EXPECTED=true` (each `integration-test-pytest` job saves `tests/integration/expected/` as an artifact; extract all of them into the repo). 1. Fold the per-run files into defaults plus overrides: `cd tests/integration && python -m harness.snapshots dedupe`. diff --git a/ci/build-pipeline.yaml b/ci/build-pipeline.yaml new file mode 100644 index 000000000..c6c54a1f6 --- /dev/null +++ b/ci/build-pipeline.yaml @@ -0,0 +1,5625 @@ +stages: + - build + - test + - sign + - publish + - e2e + +default: + retry: + max: 1 + when: + # Retry when the runner fails to start + - runner_system_failure + +# The Noble Python image uses managed system Python and does not include AWS CLI. +.install-python-tools: &install-python-tools + - apt-get update + - apt-get install -y --no-install-recommends python3-venv python-is-python3 + - python3 -m venv /opt/ci-python-tools + - /opt/ci-python-tools/bin/pip install awscli + - export PATH="/opt/ci-python-tools/bin:$PATH" + +# aws-sam-cli and awscli pin incompatible botocore versions, so the integration +# test dependencies get their own venv, ahead of the awscli one on PATH. +.install-integration-test-deps: &install-integration-test-deps + - python3 -m venv /opt/integration-test-venv + - /opt/integration-test-venv/bin/pip install -r tests/integration/requirements-test.txt + - export PATH="/opt/integration-test-venv/bin:$PATH" + +# This is for serverless framework +.install-node: &install-node + - apt-get update + - apt-get install -y ca-certificates curl gnupg xxd + - mkdir -p /etc/apt/keyrings + - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg + # We are explicitly setting the node_20.x version for the installation + - echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list + - apt-get update + - apt-get install nodejs -y + - npm install --global yarn + + + +# TODO(astuyve) - figure out python build cache +.python38-amd64-cache: &python38-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python38-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.8.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python38-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python38-amd64) + dependencies: + - build-layer (python38-amd64) + script: + - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.8 + cache: &python38-amd64-cache + before_script: + - PYTHON_VERSION=3.8 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python38-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.8 + cache: &python38-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.8,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python38-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-amd64) + dependencies: + - build-layer (python38-amd64) + cache: &python38-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.8 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python38-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-amd64) + dependencies: + - build-layer (python38-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python38-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-amd64) + dependencies: + - build-layer (python38-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python38-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python38-amd64) + - check-layer-size (python38-amd64) + - lint python + - unit-test (python38-amd64) + - integration-test (python38-amd64) + dependencies: + - build-layer (python38-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.8.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.8.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python38-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python38_amd64_prod.env + needs: + + - sign-layer (python38-amd64) + + dependencies: + + - sign-layer (python38-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.8 ARCH=amd64 DOTENV=python38_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python38-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python38_amd64_sandbox.env + needs: + + - build-layer (python38-amd64) + - check-layer-size (python38-amd64) + - lint python + - unit-test (python38-amd64) + - integration-test (python38-amd64) + + dependencies: + + - build-layer (python38-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.8 ARCH=amd64 DOTENV=python38_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python38-arm64-cache: &python38-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python38-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.8.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python38-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python38-arm64) + dependencies: + - build-layer (python38-arm64) + script: + - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.8 + cache: &python38-arm64-cache + before_script: + - PYTHON_VERSION=3.8 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python38-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.8 + cache: &python38-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.8,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python38-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-arm64) + dependencies: + - build-layer (python38-arm64) + cache: &python38-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.8 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python38-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-arm64) + dependencies: + - build-layer (python38-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python38-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python38-arm64) + dependencies: + - build-layer (python38-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python38-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python38-arm64) + - check-layer-size (python38-arm64) + - lint python + - unit-test (python38-arm64) + - integration-test (python38-arm64) + dependencies: + - build-layer (python38-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.8.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.8.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python38-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python38_arm64_prod.env + needs: + + - sign-layer (python38-arm64) + + dependencies: + + - sign-layer (python38-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.8 ARCH=arm64 DOTENV=python38_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python38-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python38_arm64_sandbox.env + needs: + + - build-layer (python38-arm64) + - check-layer-size (python38-arm64) + - lint python + - unit-test (python38-arm64) + - integration-test (python38-arm64) + + dependencies: + + - build-layer (python38-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.8 ARCH=arm64 DOTENV=python38_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python39-amd64-cache: &python39-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python39-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.9.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python39-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python39-amd64) + dependencies: + - build-layer (python39-amd64) + script: + - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.9 + cache: &python39-amd64-cache + before_script: + - PYTHON_VERSION=3.9 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python39-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.9 + cache: &python39-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.9,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python39-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-amd64) + dependencies: + - build-layer (python39-amd64) + cache: &python39-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.9 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python39-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-amd64) + dependencies: + - build-layer (python39-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python39-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-amd64) + dependencies: + - build-layer (python39-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python39-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python39-amd64) + - check-layer-size (python39-amd64) + - lint python + - unit-test (python39-amd64) + - integration-test (python39-amd64) + dependencies: + - build-layer (python39-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.9.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.9.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python39-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python39_amd64_prod.env + needs: + + - sign-layer (python39-amd64) + + dependencies: + + - sign-layer (python39-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.9 ARCH=amd64 DOTENV=python39_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python39-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python39_amd64_sandbox.env + needs: + + - build-layer (python39-amd64) + - check-layer-size (python39-amd64) + - lint python + - unit-test (python39-amd64) + - integration-test (python39-amd64) + + dependencies: + + - build-layer (python39-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.9 ARCH=amd64 DOTENV=python39_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python39-arm64-cache: &python39-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python39-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.9.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python39-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python39-arm64) + dependencies: + - build-layer (python39-arm64) + script: + - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.9 + cache: &python39-arm64-cache + before_script: + - PYTHON_VERSION=3.9 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python39-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.9 + cache: &python39-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.9,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python39-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-arm64) + dependencies: + - build-layer (python39-arm64) + cache: &python39-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.9 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python39-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-arm64) + dependencies: + - build-layer (python39-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python39-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python39-arm64) + dependencies: + - build-layer (python39-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python39-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python39-arm64) + - check-layer-size (python39-arm64) + - lint python + - unit-test (python39-arm64) + - integration-test (python39-arm64) + dependencies: + - build-layer (python39-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.9.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.9.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python39-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python39_arm64_prod.env + needs: + + - sign-layer (python39-arm64) + + dependencies: + + - sign-layer (python39-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.9 ARCH=arm64 DOTENV=python39_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python39-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python39_arm64_sandbox.env + needs: + + - build-layer (python39-arm64) + - check-layer-size (python39-arm64) + - lint python + - unit-test (python39-arm64) + - integration-test (python39-arm64) + + dependencies: + + - build-layer (python39-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.9 ARCH=arm64 DOTENV=python39_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python310-amd64-cache: &python310-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python310-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.10.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python310-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python310-amd64) + dependencies: + - build-layer (python310-amd64) + script: + - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.10 + cache: &python310-amd64-cache + before_script: + - PYTHON_VERSION=3.10 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python310-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.10 + cache: &python310-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.10,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python310-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-amd64) + dependencies: + - build-layer (python310-amd64) + cache: &python310-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.10 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python310-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-amd64) + dependencies: + - build-layer (python310-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python310-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-amd64) + dependencies: + - build-layer (python310-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python310-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python310-amd64) + - check-layer-size (python310-amd64) + - lint python + - unit-test (python310-amd64) + - integration-test (python310-amd64) + dependencies: + - build-layer (python310-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.10.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.10.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python310-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python310_amd64_prod.env + needs: + + - sign-layer (python310-amd64) + + dependencies: + + - sign-layer (python310-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.10 ARCH=amd64 DOTENV=python310_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python310-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python310_amd64_sandbox.env + needs: + + - build-layer (python310-amd64) + - check-layer-size (python310-amd64) + - lint python + - unit-test (python310-amd64) + - integration-test (python310-amd64) + + dependencies: + + - build-layer (python310-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.10 ARCH=amd64 DOTENV=python310_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python310-arm64-cache: &python310-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python310-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.10.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python310-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python310-arm64) + dependencies: + - build-layer (python310-arm64) + script: + - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.10 + cache: &python310-arm64-cache + before_script: + - PYTHON_VERSION=3.10 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python310-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.10 + cache: &python310-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.10,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python310-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-arm64) + dependencies: + - build-layer (python310-arm64) + cache: &python310-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.10 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python310-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-arm64) + dependencies: + - build-layer (python310-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python310-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python310-arm64) + dependencies: + - build-layer (python310-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python310-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python310-arm64) + - check-layer-size (python310-arm64) + - lint python + - unit-test (python310-arm64) + - integration-test (python310-arm64) + dependencies: + - build-layer (python310-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.10.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.10.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python310-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python310_arm64_prod.env + needs: + + - sign-layer (python310-arm64) + + dependencies: + + - sign-layer (python310-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.10 ARCH=arm64 DOTENV=python310_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python310-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python310_arm64_sandbox.env + needs: + + - build-layer (python310-arm64) + - check-layer-size (python310-arm64) + - lint python + - unit-test (python310-arm64) + - integration-test (python310-arm64) + + dependencies: + + - build-layer (python310-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.10 ARCH=arm64 DOTENV=python310_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python311-amd64-cache: &python311-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python311-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.11.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python311-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python311-amd64) + dependencies: + - build-layer (python311-amd64) + script: + - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.11.6 + cache: &python311-amd64-cache + before_script: + - PYTHON_VERSION=3.11 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python311-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.11.6 + cache: &python311-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.11,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python311-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-amd64) + dependencies: + - build-layer (python311-amd64) + cache: &python311-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.11 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python311-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-amd64) + dependencies: + - build-layer (python311-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python311-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-amd64) + dependencies: + - build-layer (python311-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python311-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python311-amd64) + - check-layer-size (python311-amd64) + - lint python + - unit-test (python311-amd64) + - integration-test (python311-amd64) + dependencies: + - build-layer (python311-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.11.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.11.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python311-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python311_amd64_prod.env + needs: + + - sign-layer (python311-amd64) + + dependencies: + + - sign-layer (python311-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.11 ARCH=amd64 DOTENV=python311_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python311-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python311_amd64_sandbox.env + needs: + + - build-layer (python311-amd64) + - check-layer-size (python311-amd64) + - lint python + - unit-test (python311-amd64) + - integration-test (python311-amd64) + + dependencies: + + - build-layer (python311-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.11 ARCH=amd64 DOTENV=python311_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python311-arm64-cache: &python311-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python311-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.11.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python311-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python311-arm64) + dependencies: + - build-layer (python311-arm64) + script: + - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.11.6 + cache: &python311-arm64-cache + before_script: + - PYTHON_VERSION=3.11 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python311-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.11.6 + cache: &python311-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.11,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python311-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-arm64) + dependencies: + - build-layer (python311-arm64) + cache: &python311-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.11 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python311-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-arm64) + dependencies: + - build-layer (python311-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python311-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python311-arm64) + dependencies: + - build-layer (python311-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python311-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python311-arm64) + - check-layer-size (python311-arm64) + - lint python + - unit-test (python311-arm64) + - integration-test (python311-arm64) + dependencies: + - build-layer (python311-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.11.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.11.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python311-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python311_arm64_prod.env + needs: + + - sign-layer (python311-arm64) + + dependencies: + + - sign-layer (python311-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.11 ARCH=arm64 DOTENV=python311_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python311-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python311_arm64_sandbox.env + needs: + + - build-layer (python311-arm64) + - check-layer-size (python311-arm64) + - lint python + - unit-test (python311-arm64) + - integration-test (python311-arm64) + + dependencies: + + - build-layer (python311-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.11 ARCH=arm64 DOTENV=python311_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python312-amd64-cache: &python312-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python312-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.12.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python312-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python312-amd64) + dependencies: + - build-layer (python312-amd64) + script: + - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.12.0 + cache: &python312-amd64-cache + before_script: + - PYTHON_VERSION=3.12 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python312-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.12.0 + cache: &python312-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.12,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python312-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-amd64) + dependencies: + - build-layer (python312-amd64) + cache: &python312-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.12 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python312-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-amd64) + dependencies: + - build-layer (python312-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python312-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-amd64) + dependencies: + - build-layer (python312-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python312-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python312-amd64) + - check-layer-size (python312-amd64) + - lint python + - unit-test (python312-amd64) + - integration-test (python312-amd64) + dependencies: + - build-layer (python312-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.12.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.12.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python312-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python312_amd64_prod.env + needs: + + - sign-layer (python312-amd64) + + dependencies: + + - sign-layer (python312-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.12 ARCH=amd64 DOTENV=python312_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python312-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python312_amd64_sandbox.env + needs: + + - build-layer (python312-amd64) + - check-layer-size (python312-amd64) + - lint python + - unit-test (python312-amd64) + - integration-test (python312-amd64) + + dependencies: + + - build-layer (python312-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.12 ARCH=amd64 DOTENV=python312_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python312-arm64-cache: &python312-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python312-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.12.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python312-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python312-arm64) + dependencies: + - build-layer (python312-arm64) + script: + - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.12.0 + cache: &python312-arm64-cache + before_script: + - PYTHON_VERSION=3.12 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python312-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.12.0 + cache: &python312-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.12,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python312-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-arm64) + dependencies: + - build-layer (python312-arm64) + cache: &python312-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.12 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python312-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-arm64) + dependencies: + - build-layer (python312-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python312-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python312-arm64) + dependencies: + - build-layer (python312-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python312-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python312-arm64) + - check-layer-size (python312-arm64) + - lint python + - unit-test (python312-arm64) + - integration-test (python312-arm64) + dependencies: + - build-layer (python312-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.12.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.12.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python312-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python312_arm64_prod.env + needs: + + - sign-layer (python312-arm64) + + dependencies: + + - sign-layer (python312-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.12 ARCH=arm64 DOTENV=python312_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python312-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python312_arm64_sandbox.env + needs: + + - build-layer (python312-arm64) + - check-layer-size (python312-arm64) + - lint python + - unit-test (python312-arm64) + - integration-test (python312-arm64) + + dependencies: + + - build-layer (python312-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.12 ARCH=arm64 DOTENV=python312_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python313-amd64-cache: &python313-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python313-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.13.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python313-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python313-amd64) + dependencies: + - build-layer (python313-amd64) + script: + - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.13.0 + cache: &python313-amd64-cache + before_script: + - PYTHON_VERSION=3.13 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python313-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.13.0 + cache: &python313-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.13,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python313-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-amd64) + dependencies: + - build-layer (python313-amd64) + cache: &python313-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.13 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python313-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-amd64) + dependencies: + - build-layer (python313-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python313-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-amd64) + dependencies: + - build-layer (python313-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python313-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python313-amd64) + - check-layer-size (python313-amd64) + - lint python + - unit-test (python313-amd64) + - integration-test (python313-amd64) + dependencies: + - build-layer (python313-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.13.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.13.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python313-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python313_amd64_prod.env + needs: + + - sign-layer (python313-amd64) + + dependencies: + + - sign-layer (python313-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.13 ARCH=amd64 DOTENV=python313_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python313-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python313_amd64_sandbox.env + needs: + + - build-layer (python313-amd64) + - check-layer-size (python313-amd64) + - lint python + - unit-test (python313-amd64) + - integration-test (python313-amd64) + + dependencies: + + - build-layer (python313-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.13 ARCH=amd64 DOTENV=python313_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python313-arm64-cache: &python313-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python313-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.13.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python313-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python313-arm64) + dependencies: + - build-layer (python313-arm64) + script: + - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.13.0 + cache: &python313-arm64-cache + before_script: + - PYTHON_VERSION=3.13 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python313-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.13.0 + cache: &python313-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.13,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python313-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-arm64) + dependencies: + - build-layer (python313-arm64) + cache: &python313-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.13 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python313-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-arm64) + dependencies: + - build-layer (python313-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python313-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python313-arm64) + dependencies: + - build-layer (python313-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python313-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python313-arm64) + - check-layer-size (python313-arm64) + - lint python + - unit-test (python313-arm64) + - integration-test (python313-arm64) + dependencies: + - build-layer (python313-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.13.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.13.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python313-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python313_arm64_prod.env + needs: + + - sign-layer (python313-arm64) + + dependencies: + + - sign-layer (python313-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.13 ARCH=arm64 DOTENV=python313_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python313-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python313_arm64_sandbox.env + needs: + + - build-layer (python313-arm64) + - check-layer-size (python313-arm64) + - lint python + - unit-test (python313-arm64) + - integration-test (python313-arm64) + + dependencies: + + - build-layer (python313-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.13 ARCH=arm64 DOTENV=python313_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python314-amd64-cache: &python314-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python314-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.14.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python314-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python314-amd64) + dependencies: + - build-layer (python314-amd64) + script: + - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.14.0 + cache: &python314-amd64-cache + before_script: + - PYTHON_VERSION=3.14 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python314-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.14.0 + cache: &python314-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.14,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python314-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-amd64) + dependencies: + - build-layer (python314-amd64) + cache: &python314-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.14 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python314-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-amd64) + dependencies: + - build-layer (python314-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python314-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-amd64) + dependencies: + - build-layer (python314-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python314-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python314-amd64) + - check-layer-size (python314-amd64) + - lint python + - unit-test (python314-amd64) + - integration-test (python314-amd64) + dependencies: + - build-layer (python314-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.14.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.14.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python314-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python314_amd64_prod.env + needs: + + - sign-layer (python314-amd64) + + dependencies: + + - sign-layer (python314-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.14 ARCH=amd64 DOTENV=python314_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python314-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python314_amd64_sandbox.env + needs: + + - build-layer (python314-amd64) + - check-layer-size (python314-amd64) + - lint python + - unit-test (python314-amd64) + - integration-test (python314-amd64) + + dependencies: + + - build-layer (python314-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.14 ARCH=amd64 DOTENV=python314_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python314-arm64-cache: &python314-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python314-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.14.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python314-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python314-arm64) + dependencies: + - build-layer (python314-arm64) + script: + - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.14.0 + cache: &python314-arm64-cache + before_script: + - PYTHON_VERSION=3.14 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python314-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.14.0 + cache: &python314-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.14,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python314-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-arm64) + dependencies: + - build-layer (python314-arm64) + cache: &python314-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.14 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python314-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-arm64) + dependencies: + - build-layer (python314-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python314-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python314-arm64) + dependencies: + - build-layer (python314-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python314-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python314-arm64) + - check-layer-size (python314-arm64) + - lint python + - unit-test (python314-arm64) + - integration-test (python314-arm64) + dependencies: + - build-layer (python314-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.14.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.14.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python314-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python314_arm64_prod.env + needs: + + - sign-layer (python314-arm64) + + dependencies: + + - sign-layer (python314-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.14 ARCH=arm64 DOTENV=python314_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python314-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python314_arm64_sandbox.env + needs: + + - build-layer (python314-arm64) + - check-layer-size (python314-arm64) + - lint python + - unit-test (python314-arm64) + - integration-test (python314-arm64) + + dependencies: + + - build-layer (python314-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.14 ARCH=arm64 DOTENV=python314_arm64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python315-amd64-cache: &python315-amd64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python315-amd64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.15.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python315-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python315-amd64) + dependencies: + - build-layer (python315-amd64) + script: + - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.15.0 + cache: &python315-amd64-cache + before_script: + - PYTHON_VERSION=3.15 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python315-amd64): + stage: test + tags: + + - "arch:amd64" + + image: registry.ddbuild.io/images/mirror/python:3.15.0 + cache: &python315-amd64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.15,arch:amd64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python315-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-amd64) + dependencies: + - build-layer (python315-amd64) + cache: &python315-amd64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.15 ARCH=amd64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python315-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-amd64) + dependencies: + - build-layer (python315-amd64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python315-amd64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-amd64) + dependencies: + - build-layer (python315-amd64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python315-amd64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python315-amd64) + - check-layer-size (python315-amd64) + - lint python + - unit-test (python315-amd64) + - integration-test (python315-amd64) + dependencies: + - build-layer (python315-amd64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-amd64-3.15.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-amd64-3.15.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python315-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python315_amd64_prod.env + needs: + + - sign-layer (python315-amd64) + + dependencies: + + - sign-layer (python315-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.15 ARCH=amd64 DOTENV=python315_amd64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python315-amd64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python315_amd64_sandbox.env + needs: + + - build-layer (python315-amd64) + - check-layer-size (python315-amd64) + - lint python + - unit-test (python315-amd64) + - integration-test (python315-amd64) + + dependencies: + + - build-layer (python315-amd64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.15 ARCH=amd64 DOTENV=python315_amd64_sandbox.env ./ci/publish_layers.sh + +# TODO(astuyve) - figure out python build cache +.python315-arm64-cache: &python315-arm64-cache + key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" + paths: + - $CI_PROJECT_DIR/.yarn-cache + policy: pull + +build-layer (python315-arm64): + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + artifacts: + expire_in: 1 day # Unsigned zips expire in 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.15.zip + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + script: + - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/build_layers.sh + timeout: 15m + retry: 2 + +check-layer-size (python315-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + - build-layer (python315-arm64) + dependencies: + - build-layer (python315-arm64) + script: + - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/check_layer_size.sh + +lint python: + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/mirror/python:3.15.0 + cache: &python315-arm64-cache + before_script: + - PYTHON_VERSION=3.15 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh + script: + - source venv/bin/activate + - ./scripts/check_format.sh + +unit-test (python315-arm64): + stage: test + tags: + + - "arch:arm64" + + image: registry.ddbuild.io/images/mirror/python:3.15.0 + cache: &python315-arm64-cache + variables: + DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" + DD_SERVICE: "datadog-lambda-python" + DD_ENV: "ci" + DD_TAGS: "python_version:3.15,arch:arm64" + before_script: + - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh + - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/setup_python_env.sh + script: + - set -e + - source venv/bin/activate + - pytest -vv --ddtrace + retry: 2 + +integration-test (python315-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-arm64) + dependencies: + - build-layer (python315-arm64) + cache: &python315-arm64-cache + variables: + CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" + before_script: + - *install-python-tools + - *install-node + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - yarn global add serverless@^3.38.0 --prefix /usr/local + - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local + - yarn --cwd tests/integration install + script: + - RUNTIME_PARAM=3.15 ARCH=arm64 ./scripts/run_integration_tests.sh + retry: 2 + +# Pytest + SAM replacement for the snapshot-based integration-test job above. +# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it +# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been +# green for a while; then the old job is removed. +# +# Two jobs per runtime, so an Extension release cannot fail the library tests: +# integration-test-pytest the library alone (no Extension layer) +# integration-test-pytest-extension the library with the Datadog Extension layer +integration-test-pytest (python315-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-arm64) + dependencies: + - build-layer (python315-arm64) + variables: + # No Extension layer: skips the tests marked "extension". + DD_EXTENSION_LAYER_VERSION: "none" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml + artifacts: + when: always + # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). + paths: + - tests/integration/expected/ + reports: + junit: tests/integration/integration-junit.xml + retry: 1 + +integration-test-pytest-extension (python315-arm64): + stage: test + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + allow_failure: true + rules: + - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' + when: never + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + needs: + - build-layer (python315-arm64) + dependencies: + - build-layer (python315-arm64) + variables: + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" + before_script: + - *install-python-tools + - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + - *install-integration-test-deps + script: + - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml + artifacts: + when: always + reports: + junit: tests/integration/integration-extension-junit.xml + retry: 1 + +sign-layer (python315-arm64): + stage: sign + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - build-layer (python315-arm64) + - check-layer-size (python315-arm64) + - lint python + - unit-test (python315-arm64) + - integration-test (python315-arm64) + dependencies: + - build-layer (python315-arm64) + artifacts: # Re specify artifacts so the modified signed file is passed + expire_in: 1 day # Signed layers should expire after 1 day + paths: + - .layers/datadog_lambda_py-arm64-3.15.zip + before_script: + - *install-python-tools + - apt-get update + - apt-get install -y uuid-runtime + + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + + script: + - LAYER_FILE=datadog_lambda_py-arm64-3.15.zip ./scripts/sign_layers.sh prod + + + + +publish-layer-prod (python315-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"prod" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python315_arm64_prod.env + needs: + + - sign-layer (python315-arm64) + + dependencies: + + - sign-layer (python315-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh + script: + - STAGE=prod PYTHON_VERSION=3.15 ARCH=arm64 DOTENV=python315_arm64_prod.env ./ci/publish_layers.sh + + +publish-layer-sandbox (python315-arm64): + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' + when: on_success + - if: '"sandbox" == "sandbox"' + when: manual + allow_failure: true + - if: '$CI_COMMIT_TAG =~ /^v.*/' + artifacts: + reports: + dotenv: python315_arm64_sandbox.env + needs: + + - build-layer (python315-arm64) + - check-layer-size (python315-arm64) + - lint python + - unit-test (python315-arm64) + - integration-test (python315-arm64) + + dependencies: + + - build-layer (python315-arm64) + + parallel: + matrix: + - REGION: + - us-east-1 + - us-east-2 + - us-west-1 + - us-west-2 + - af-south-1 + - ap-east-1 + - ap-east-2 + - ap-south-1 + - ap-south-2 + - ap-southeast-1 + - ap-southeast-2 + - ap-southeast-3 + - ap-southeast-4 + - ap-southeast-5 + - ap-southeast-6 + - ap-southeast-7 + - ap-northeast-1 + - ap-northeast-2 + - ap-northeast-3 + - ca-central-1 + - ca-west-1 + - eu-central-1 + - eu-central-2 + - eu-north-1 + - eu-west-1 + - eu-west-2 + - eu-west-3 + - eu-south-1 + - eu-south-2 + - il-central-1 + - me-central-1 + - mx-central-1 + - sa-east-1 + before_script: + - *install-python-tools + - export SKIP_PIP_INSTALL=true + - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh + script: + - STAGE=sandbox PYTHON_VERSION=3.15 ARCH=arm64 DOTENV=python315_arm64_sandbox.env ./ci/publish_layers.sh + +publish-pypi-package: + stage: publish + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + before_script: + - *install-python-tools + - ./scripts/setup_python_env.sh + cache: [] + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + when: manual + needs: + - sign-layer (python38-amd64) + - sign-layer (python38-arm64) + - sign-layer (python39-amd64) + - sign-layer (python39-arm64) + - sign-layer (python310-amd64) + - sign-layer (python310-arm64) + - sign-layer (python311-amd64) + - sign-layer (python311-arm64) + - sign-layer (python312-amd64) + - sign-layer (python312-arm64) + - sign-layer (python313-amd64) + - sign-layer (python313-arm64) + - sign-layer (python314-amd64) + - sign-layer (python314-arm64) + - sign-layer (python315-amd64) + - sign-layer (python315-arm64) + script: + - ./ci/publish_pypi.sh + +layer bundle: + stage: build + tags: ["arch:amd64"] + image: registry.ddbuild.io/images/docker:27.3.1 + needs: + + - build-layer (python38-amd64) + + - build-layer (python38-arm64) + + - build-layer (python39-amd64) + + - build-layer (python39-arm64) + + - build-layer (python310-amd64) + + - build-layer (python310-arm64) + + - build-layer (python311-amd64) + + - build-layer (python311-arm64) + + - build-layer (python312-amd64) + + - build-layer (python312-arm64) + + - build-layer (python313-amd64) + + - build-layer (python313-arm64) + + - build-layer (python314-amd64) + + - build-layer (python314-arm64) + + - build-layer (python315-amd64) + + - build-layer (python315-arm64) + + dependencies: + + - build-layer (python38-amd64) + + - build-layer (python38-arm64) + + - build-layer (python39-amd64) + + - build-layer (python39-arm64) + + - build-layer (python310-amd64) + + - build-layer (python310-arm64) + + - build-layer (python311-amd64) + + - build-layer (python311-arm64) + + - build-layer (python312-amd64) + + - build-layer (python312-arm64) + + - build-layer (python313-amd64) + + - build-layer (python313-arm64) + + - build-layer (python314-amd64) + + - build-layer (python314-arm64) + + - build-layer (python315-amd64) + + - build-layer (python315-arm64) + + artifacts: + expire_in: 1 day + paths: + - datadog_lambda_py-bundle-${CI_JOB_ID}/ + name: datadog_lambda_py-bundle-${CI_JOB_ID} + script: + - rm -rf datadog_lambda_py-bundle-${CI_JOB_ID} + - mkdir -p datadog_lambda_py-bundle-${CI_JOB_ID} + - cp .layers/datadog_lambda_py-*.zip datadog_lambda_py-bundle-${CI_JOB_ID} + +signed layer bundle: + stage: sign + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + tags: ["arch:amd64"] + rules: + - if: '$CI_COMMIT_TAG =~ /^v.*/' + needs: + + - sign-layer (python38-amd64) + + - sign-layer (python38-arm64) + + - sign-layer (python39-amd64) + + - sign-layer (python39-arm64) + + - sign-layer (python310-amd64) + + - sign-layer (python310-arm64) + + - sign-layer (python311-amd64) + + - sign-layer (python311-arm64) + + - sign-layer (python312-amd64) + + - sign-layer (python312-arm64) + + - sign-layer (python313-amd64) + + - sign-layer (python313-arm64) + + - sign-layer (python314-amd64) + + - sign-layer (python314-arm64) + + - sign-layer (python315-amd64) + + - sign-layer (python315-arm64) + + dependencies: + + - sign-layer (python38-amd64) + + - sign-layer (python38-arm64) + + - sign-layer (python39-amd64) + + - sign-layer (python39-arm64) + + - sign-layer (python310-amd64) + + - sign-layer (python310-arm64) + + - sign-layer (python311-amd64) + + - sign-layer (python311-arm64) + + - sign-layer (python312-amd64) + + - sign-layer (python312-arm64) + + - sign-layer (python313-amd64) + + - sign-layer (python313-arm64) + + - sign-layer (python314-amd64) + + - sign-layer (python314-arm64) + + - sign-layer (python315-amd64) + + - sign-layer (python315-arm64) + + artifacts: + expire_in: 1 day + paths: + - datadog_lambda_py-signed-bundle-${CI_JOB_ID}/ + name: datadog_lambda_py-signed-bundle-${CI_JOB_ID} + script: + - rm -rf datadog_lambda_py-signed-bundle-${CI_JOB_ID} + - mkdir -p datadog_lambda_py-signed-bundle-${CI_JOB_ID} + - cp .layers/datadog_lambda_py-*.zip datadog_lambda_py-signed-bundle-${CI_JOB_ID} + +e2e-test: + stage: e2e + trigger: + project: DataDog/serverless-e2e-tests + strategy: depend + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + variables: + LANGUAGES_SUBSET: python + # These env vars are inherited from the dotenv reports of the publish-layer jobs + PYTHON_38_VERSION: $PYTHON_38_VERSION + PYTHON_39_VERSION: $PYTHON_39_VERSION + PYTHON_310_VERSION: $PYTHON_310_VERSION + PYTHON_311_VERSION: $PYTHON_311_VERSION + PYTHON_312_VERSION: $PYTHON_312_VERSION + PYTHON_313_VERSION: $PYTHON_313_VERSION + PYTHON_314_VERSION: $PYTHON_314_VERSION + PYTHON_315_VERSION: $PYTHON_315_VERSION + needs: + - "publish-layer-sandbox (python38-amd64): [us-west-2]" + - "publish-layer-sandbox (python39-amd64): [us-west-2]" + - "publish-layer-sandbox (python310-amd64): [us-west-2]" + - "publish-layer-sandbox (python311-amd64): [us-west-2]" + - "publish-layer-sandbox (python312-amd64): [us-west-2]" + - "publish-layer-sandbox (python313-amd64): [us-west-2]" + - "publish-layer-sandbox (python314-amd64): [us-west-2]" + - "publish-layer-sandbox (python315-amd64): [us-west-2]" + +e2e-test-status: + stage: e2e + image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 + tags: ["arch:amd64"] + timeout: 3h + rules: + - if: '$SKIP_E2E_TESTS == "true"' + when: never + - when: on_success + script: + - ci/poll_e2e.sh diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index bf80ff9fc..dbf3f27f0 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -198,9 +198,8 @@ integration-test-pytest-extension ({{ $runtime.name }}-{{ $runtime.arch }}): dependencies: - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) variables: - # A layer version number, or "latest". Set PYTEST_EXTENSION_LAYER_VERSION in - # .gitlab-ci.yml to pin it. - DD_EXTENSION_LAYER_VERSION: $PYTEST_EXTENSION_LAYER_VERSION + # Pinned Datadog Extension layer version. Change it here, not per pipeline. + DD_EXTENSION_LAYER_VERSION: "105" before_script: - *install-python-tools - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh diff --git a/scripts/run_integration_pytest.sh b/scripts/run_integration_pytest.sh index 9d46b64ff..0d8acd9bf 100755 --- a/scripts/run_integration_pytest.sh +++ b/scripts/run_integration_pytest.sh @@ -17,7 +17,7 @@ # Optional: # PYTHON_VERSION=3.13 run one version only (shorthand like 13 works too) # BUILD_LAYERS=true build the layer(s) first -# DD_EXTENSION_LAYER_VERSION=N pin the Datadog Extension version (default: latest; +# DD_EXTENSION_LAYER_VERSION=N Datadog Extension layer version (default: 105; # "none" skips the extension / mock intake tests) # INTEGRATION_STACK_NAME=... reuse a deployed stack (kept afterwards); needs PYTHON_VERSION # KEEP_STACK=true keep the stack(s) for debugging diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 41cb7f156..a115bbe92 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -2,8 +2,9 @@ Environment: PYTHON_VERSION, ARCH, DD_API_KEY required - DD_EXTENSION_LAYER_VERSION Datadog Extension layer version: a number, "latest" - (default) or "none" (no extension tests) + DD_EXTENSION_LAYER_VERSION Datadog Extension layer version number (default: + the pinned version in harness/settings.py) or "none" + (no extension tests) INTEGRATION_STACK_NAME reuse a deployed stack (it is kept afterwards) KEEP_STACK=true don't delete the stack at the end INTEGRATION_REGION default eu-west-1 diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index bcfce064d..2bf455737 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -86,58 +86,10 @@ def stage_artifacts(s: settings_mod.Settings) -> None: ) -def _layer_version_exists(lambda_client, arn: str) -> bool: - try: - lambda_client.get_layer_version_by_arn(Arn=arn) - return True - except ClientError as e: - # A missing version of another account's layer can come back as - # AccessDenied instead of NotFound. - if e.response["Error"]["Code"] in ( - "ResourceNotFoundException", - "AccessDeniedException", - ): - return False - raise - - -def resolve_latest_layer_version(region: str, base_arn: str) -> int: - """Find the newest version of a public layer. - - ListLayerVersions is not allowed across accounts, but GetLayerVersion is, - so probe: double until a version is missing, then binary search. Assumes - versions are never deleted (true for Datadog's published layers). - """ - client = _client("lambda", region) - - def exists(n: int) -> bool: - return _layer_version_exists(client, "%s:%d" % (base_arn, n)) - - if not exists(1): - raise RuntimeError("Layer %s has no version 1, or is not readable" % base_arn) - low, high = 1, 2 - while exists(high): - low, high = high, high * 2 - # Invariant: low exists, high does not. - while high - low > 1: - mid = (low + high) // 2 - if exists(mid): - low = mid - else: - high = mid - return low - - def extension_layer_arn(s: settings_mod.Settings) -> Optional[str]: if not s.extension_enabled: return None - version = s.extension_layer_version - if version == "latest": - version = str( - resolve_latest_layer_version(s.region, s.extension_layer_base_arn) - ) - print("Using latest Datadog Extension layer version: %s" % version) - return "%s:%s" % (s.extension_layer_base_arn, version) + return "%s:%s" % (s.extension_layer_base_arn, s.extension_layer_version) # CloudFormation's TemplateBody limit; larger templates go through S3. diff --git a/tests/integration/harness/settings.py b/tests/integration/harness/settings.py index 9adbf8334..0cb99a8e7 100644 --- a/tests/integration/harness/settings.py +++ b/tests/integration/harness/settings.py @@ -20,6 +20,9 @@ DEPLOYMENT_BUCKET = "integration-tests-serververless-deployment-bucket" DEFAULT_REGION = "eu-west-1" DATADOG_EXTENSION_ACCOUNT = "464622532012" +# Datadog Extension layer version used when DD_EXTENSION_LAYER_VERSION is unset. +# Keep in line with the pinned version in ci/input_files/build.yaml.tpl. +DEFAULT_EXTENSION_LAYER_VERSION = "105" def _required(name: str) -> str: @@ -37,7 +40,7 @@ class Settings: run_id: str # repr=False: pytest prints fixture values in failure tracebacks. dd_api_key: str = field(repr=False) - # A layer version number, "latest" (resolved at deploy time), or "none" to + # A layer version number, or "none" to # deploy without the extension function. extension_layer_version: str # Reuse an already-deployed stack instead of deploying (and keep it afterwards). @@ -86,6 +89,14 @@ def extension_layer_base_arn(self) -> str: def load() -> Settings: + extension_layer_version = ( + os.environ.get("DD_EXTENSION_LAYER_VERSION") or DEFAULT_EXTENSION_LAYER_VERSION + ).lower() + if extension_layer_version != "none" and not extension_layer_version.isdigit(): + raise RuntimeError( + "DD_EXTENSION_LAYER_VERSION must be a layer version number or 'none', got %r" + % extension_layer_version + ) arch = _required("ARCH") if arch not in ("amd64", "arm64"): raise RuntimeError("ARCH must be amd64 or arm64, got %r" % arch) @@ -96,9 +107,7 @@ def load() -> Settings: region=os.environ.get("INTEGRATION_REGION") or DEFAULT_REGION, run_id=os.environ.get("INTEGRATION_RUN_ID") or secrets.token_hex(4), dd_api_key=_required("DD_API_KEY"), - extension_layer_version=( - os.environ.get("DD_EXTENSION_LAYER_VERSION") or "latest" - ).lower(), + extension_layer_version=extension_layer_version, existing_stack=existing_stack, keep_stack=bool(existing_stack) or os.environ.get("KEEP_STACK") == "true", ) diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 6dc6e708d..386c7f411 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -187,7 +187,7 @@ def test_settings_repr_hides_api_key(): region="eu-west-1", run_id="abcd", dd_api_key="super-secret-key", - extension_layer_version="latest", + extension_layer_version="105", existing_stack=None, keep_stack=False, ) From 240ee89be1529eb141f5155910ae22e1c7f907fd Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 4 Dec 2026 12:03:42 -0500 Subject: [PATCH 10/13] reducing volume --- .gitignore | 3 + CONTRIBUTING.md | 5 +- ci/build-pipeline.yaml | 5625 ----------------- ci/input_files/build.yaml.tpl | 5 +- scripts/run_integration_pytest.sh | 22 +- tests/integration/conftest.py | 23 +- .../async-metrics/api-gateway-get.json | 1 - .../logs/default/async-metrics/appsync.json | 1 - .../logs/default/async-metrics/dynamodb.json | 1 - .../async-metrics/eventbridge-custom.json | 1 - .../logs/default/async-metrics/http-api.json | 1 - .../logs/default/async-metrics/kinesis.json | 1 - .../logs/default/async-metrics/s3.json | 1 - .../logs/default/async-metrics/sns.json | 1 - .../logs/default/async-metrics/sqs.json | 1 - .../logs/default/async-metrics/websocket.json | 1 - .../default/sync-metrics/api-gateway-get.json | 1 - .../logs/default/sync-metrics/appsync.json | 1 - .../logs/default/sync-metrics/dynamodb.json | 1 - .../sync-metrics/eventbridge-custom.json | 1 - .../logs/default/sync-metrics/http-api.json | 1 - .../logs/default/sync-metrics/kinesis.json | 1 - .../logs/default/sync-metrics/s3.json | 1 - .../logs/default/sync-metrics/sns.json | 1 - .../logs/default/sync-metrics/sqs.json | 1 - .../logs/default/sync-metrics/websocket.json | 1 - ...pi-gateway-get.json => async-metrics.json} | 2 +- .../default/async-metrics/appsync.json | 35 - .../default/async-metrics/dynamodb.json | 43 - .../async-metrics/eventbridge-custom.json | 35 - .../default/async-metrics/http-api.json | 35 - .../default/async-metrics/kinesis.json | 35 - .../metrics/default/async-metrics/s3.json | 35 - .../metrics/default/async-metrics/sns.json | 35 - .../metrics/default/async-metrics/sqs.json | 35 - .../default/async-metrics/websocket.json | 35 - ...ntbridge-custom.json => sync-metrics.json} | 2 +- .../default/sync-metrics/api-gateway-get.json | 17 - .../metrics/default/sync-metrics/appsync.json | 17 - .../default/sync-metrics/dynamodb.json | 25 - .../default/sync-metrics/http-api.json | 17 - .../metrics/default/sync-metrics/kinesis.json | 17 - .../metrics/default/sync-metrics/s3.json | 17 - .../metrics/default/sync-metrics/sns.json | 17 - .../metrics/default/sync-metrics/sqs.json | 17 - .../default/sync-metrics/websocket.json | 17 - ...pi-gateway-get.json => async-metrics.json} | 0 .../default/async-metrics/dynamodb.json | 36 - .../async-metrics/eventbridge-custom.json | 36 - .../default/async-metrics/http-api.json | 36 - .../default/async-metrics/kinesis.json | 36 - .../requests/default/async-metrics/s3.json | 36 - .../requests/default/async-metrics/sns.json | 36 - .../requests/default/async-metrics/sqs.json | 36 - .../default/async-metrics/websocket.json | 36 - ...api-gateway-get.json => sync-metrics.json} | 0 .../default/sync-metrics/dynamodb.json | 102 - .../sync-metrics/eventbridge-custom.json | 102 - .../default/sync-metrics/http-api.json | 102 - .../default/sync-metrics/kinesis.json | 102 - .../requests/default/sync-metrics/s3.json | 102 - .../requests/default/sync-metrics/sns.json | 102 - .../requests/default/sync-metrics/sqs.json | 102 - .../default/sync-metrics/websocket.json | 102 - ...pi-gateway-get.json => async-metrics.json} | 0 .../async-metrics/eventbridge-custom.json | 36 - .../python314/async-metrics/http-api.json | 36 - .../python314/async-metrics/kinesis.json | 36 - .../requests/python314/async-metrics/s3.json | 36 - .../requests/python314/async-metrics/sns.json | 36 - .../requests/python314/async-metrics/sqs.json | 36 - .../python314/async-metrics/websocket.json | 36 - ...api-gateway-get.json => sync-metrics.json} | 0 .../sync-metrics/eventbridge-custom.json | 102 - .../python314/sync-metrics/http-api.json | 102 - .../python314/sync-metrics/kinesis.json | 102 - .../requests/python314/sync-metrics/s3.json | 102 - .../requests/python314/sync-metrics/sns.json | 102 - .../requests/python314/sync-metrics/sqs.json | 102 - .../python314/sync-metrics/websocket.json | 102 - .../async-metrics.json} | 0 .../async-metrics/api-gateway-get.json | 36 - .../python315/async-metrics/dynamodb.json | 36 - .../async-metrics/eventbridge-custom.json | 36 - .../python315/async-metrics/http-api.json | 36 - .../python315/async-metrics/kinesis.json | 36 - .../requests/python315/async-metrics/s3.json | 36 - .../requests/python315/async-metrics/sns.json | 36 - .../requests/python315/async-metrics/sqs.json | 36 - .../python315/async-metrics/websocket.json | 36 - .../sync-metrics.json} | 0 .../sync-metrics/api-gateway-get.json | 102 - .../python315/sync-metrics/dynamodb.json | 102 - .../sync-metrics/eventbridge-custom.json | 102 - .../python315/sync-metrics/http-api.json | 102 - .../python315/sync-metrics/kinesis.json | 102 - .../requests/python315/sync-metrics/s3.json | 102 - .../requests/python315/sync-metrics/sns.json | 102 - .../requests/python315/sync-metrics/sqs.json | 102 - .../python315/sync-metrics/websocket.json | 102 - ...pi-gateway-get.json => async-metrics.json} | 0 .../python38/async-metrics/dynamodb.json | 36 - .../async-metrics/eventbridge-custom.json | 36 - .../python38/async-metrics/http-api.json | 36 - .../python38/async-metrics/kinesis.json | 36 - .../requests/python38/async-metrics/s3.json | 36 - .../requests/python38/async-metrics/sns.json | 36 - .../requests/python38/async-metrics/sqs.json | 36 - .../python38/async-metrics/websocket.json | 36 - ...api-gateway-get.json => sync-metrics.json} | 0 .../python38/sync-metrics/dynamodb.json | 102 - .../sync-metrics/eventbridge-custom.json | 102 - .../python38/sync-metrics/http-api.json | 102 - .../python38/sync-metrics/kinesis.json | 102 - .../requests/python38/sync-metrics/s3.json | 102 - .../requests/python38/sync-metrics/sns.json | 102 - .../requests/python38/sync-metrics/sqs.json | 102 - .../python38/sync-metrics/websocket.json | 102 - .../async-metrics/api-gateway-get.json | 36 - .../python39/async-metrics/dynamodb.json | 36 - .../async-metrics/eventbridge-custom.json | 36 - .../python39/async-metrics/http-api.json | 36 - .../python39/async-metrics/kinesis.json | 36 - .../requests/python39/async-metrics/s3.json | 36 - .../requests/python39/async-metrics/sns.json | 36 - .../requests/python39/async-metrics/sqs.json | 36 - .../python39/async-metrics/websocket.json | 36 - .../sync-metrics/api-gateway-get.json | 102 - .../python39/sync-metrics/appsync.json | 100 - .../python39/sync-metrics/dynamodb.json | 102 - .../sync-metrics/eventbridge-custom.json | 102 - .../python39/sync-metrics/http-api.json | 102 - .../python39/sync-metrics/kinesis.json | 102 - .../requests/python39/sync-metrics/s3.json | 102 - .../requests/python39/sync-metrics/sns.json | 102 - .../requests/python39/sync-metrics/sqs.json | 102 - .../python39/sync-metrics/websocket.json | 102 - .../async-metrics/api-gateway-get.json | 118 - .../spans/python39/async-metrics/appsync.json | 76 - .../python39/async-metrics/dynamodb.json | 144 - .../async-metrics/eventbridge-custom.json | 104 - .../python39/async-metrics/http-api.json | 119 - .../spans/python39/async-metrics/kinesis.json | 112 - .../spans/python39/async-metrics/s3.json | 123 - .../spans/python39/async-metrics/sns.json | 110 - .../spans/python39/async-metrics/sqs.json | 109 - .../python39/async-metrics/websocket.json | 117 - .../sync-metrics/api-gateway-get.json | 147 - .../spans/python39/sync-metrics/appsync.json | 105 - .../spans/python39/sync-metrics/dynamodb.json | 173 - .../sync-metrics/eventbridge-custom.json | 133 - .../spans/python39/sync-metrics/http-api.json | 148 - .../spans/python39/sync-metrics/kinesis.json | 141 - .../spans/python39/sync-metrics/s3.json | 152 - .../spans/python39/sync-metrics/sns.json | 139 - .../spans/python39/sync-metrics/sqs.json | 138 - .../python39/sync-metrics/websocket.json | 146 - tests/integration/harness/aws.py | 17 +- tests/integration/harness/logs.py | 23 +- tests/integration/harness/settings.py | 27 +- tests/integration/harness/snapshots.py | 290 +- tests/integration/template.yaml | 6 + tests/integration/test_baseline.py | 69 +- tests/integration/test_snapshots.py | 54 +- tests/test_integration_harness.py | 228 +- 165 files changed, 527 insertions(+), 14690 deletions(-) delete mode 100644 ci/build-pipeline.yaml delete mode 100644 tests/integration/expected/logs/default/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/s3.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/sns.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/default/async-metrics/websocket.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/s3.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/sns.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/logs/default/sync-metrics/websocket.json rename tests/integration/expected/metrics/default/{async-metrics/api-gateway-get.json => async-metrics.json} (96%) delete mode 100644 tests/integration/expected/metrics/default/async-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/default/async-metrics/websocket.json rename tests/integration/expected/metrics/default/{sync-metrics/eventbridge-custom.json => sync-metrics.json} (92%) delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/s3.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/sns.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/metrics/default/sync-metrics/websocket.json rename tests/integration/expected/requests/default/{async-metrics/api-gateway-get.json => async-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/default/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/default/async-metrics/websocket.json rename tests/integration/expected/requests/default/{sync-metrics/api-gateway-get.json => sync-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/default/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/default/sync-metrics/websocket.json rename tests/integration/expected/requests/python314/{async-metrics/api-gateway-get.json => async-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python314/async-metrics/websocket.json rename tests/integration/expected/requests/python314/{sync-metrics/api-gateway-get.json => sync-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python314/sync-metrics/websocket.json rename tests/integration/expected/requests/{python314/async-metrics/dynamodb.json => python315/async-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315/async-metrics/websocket.json rename tests/integration/expected/requests/{python314/sync-metrics/dynamodb.json => python315/sync-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python315/sync-metrics/websocket.json rename tests/integration/expected/requests/python38/{async-metrics/api-gateway-get.json => async-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python38/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python38/async-metrics/websocket.json rename tests/integration/expected/requests/python38/{sync-metrics/api-gateway-get.json => sync-metrics.json} (100%) delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python38/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39/async-metrics/websocket.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/s3.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/sns.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/requests/python39/sync-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39/async-metrics/websocket.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/appsync.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/dynamodb.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/http-api.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/kinesis.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/s3.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/sns.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/sqs.json delete mode 100644 tests/integration/expected/spans/python39/sync-metrics/websocket.json diff --git a/.gitignore b/.gitignore index 92eec8cda..3e604ef1d 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,6 @@ yarn-lock.json # Integration test build artifacts tests/integration/.build/ tests/integration/.aws-sam/ + +# Generated from ci/input_files/build.yaml.tpl (regenerated by the CI generator job) +ci/build-pipeline.yaml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0dcdc45af..2e47278a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,9 +44,10 @@ We love pull requests. For new features, consider opening an issue to discuss th ```bash BUILD_LAYERS=true PYTHON_VERSION=3.13 ARCH=amd64 DD_API_KEY= ./scripts/run_integration_pytest.sh ``` + `DD_API_KEY_SECRET_ARN=` can stand in for `DD_API_KEY`. The deployed functions read the key from Secrets Manager, so their role must be allowed to read that secret. Leave out `PYTHON_VERSION` to run every supported version, one after another. - The tests that use the Datadog Extension (with a mock intake) use layer version 105 by default; set `DD_EXTENSION_LAYER_VERSION` to another version number, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, pinned to layer version 105 in `ci/input_files/build.yaml.tpl`). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. -1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). To update them after an intended change: + The tests that use the Datadog Extension (with a mock intake) use the layer version pinned in `DEFAULT_EXTENSION_LAYER_VERSION` in `tests/integration/harness/settings.py` by default; set `DD_EXTENSION_LAYER_VERSION` to another version number, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, using that same pinned version). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. +1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). Requests and metrics are condensed: every event emits the same metrics, so there is one file per function (`metrics//.json`), and requests have one file per function (`requests//.json`) plus an event file only where an event's requests differ (for example `appsync` on `default`, and the `zstd` `Accept-Encoding` on python314/315). python39 has no files of its own: its snapshots match python38's, so it falls back to them (`SHARED_RUNTIMES` in `tests/integration/harness/snapshots.py`). If the two ever diverge, `dedupe` fails and asks for the alias to be removed. The `cold_start` tag and the DynamoDB-only stream metric are asserted in `tests/integration/test_baseline.py` instead. Unexpected log output (warnings, prints, tracebacks) is not snapshotted: `test_no_unexpected_log_lines` in `tests/integration/test_baseline.py` requires it to be empty, and an intended new line goes on that test's allow-list. To update the snapshots after an intended change: 1. Run the suite with `UPDATE_EXPECTED=true`, locally (writes files for that runtime) or in CI with `RUN_PYTEST_INTEGRATION_TESTS=true UPDATE_EXPECTED=true` (each `integration-test-pytest` job saves `tests/integration/expected/` as an artifact; extract all of them into the repo). 1. Fold the per-run files into defaults plus overrides: `cd tests/integration && python -m harness.snapshots dedupe`. 1. Review the diff and commit it. diff --git a/ci/build-pipeline.yaml b/ci/build-pipeline.yaml deleted file mode 100644 index c6c54a1f6..000000000 --- a/ci/build-pipeline.yaml +++ /dev/null @@ -1,5625 +0,0 @@ -stages: - - build - - test - - sign - - publish - - e2e - -default: - retry: - max: 1 - when: - # Retry when the runner fails to start - - runner_system_failure - -# The Noble Python image uses managed system Python and does not include AWS CLI. -.install-python-tools: &install-python-tools - - apt-get update - - apt-get install -y --no-install-recommends python3-venv python-is-python3 - - python3 -m venv /opt/ci-python-tools - - /opt/ci-python-tools/bin/pip install awscli - - export PATH="/opt/ci-python-tools/bin:$PATH" - -# aws-sam-cli and awscli pin incompatible botocore versions, so the integration -# test dependencies get their own venv, ahead of the awscli one on PATH. -.install-integration-test-deps: &install-integration-test-deps - - python3 -m venv /opt/integration-test-venv - - /opt/integration-test-venv/bin/pip install -r tests/integration/requirements-test.txt - - export PATH="/opt/integration-test-venv/bin:$PATH" - -# This is for serverless framework -.install-node: &install-node - - apt-get update - - apt-get install -y ca-certificates curl gnupg xxd - - mkdir -p /etc/apt/keyrings - - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg - # We are explicitly setting the node_20.x version for the installation - - echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list - - apt-get update - - apt-get install nodejs -y - - npm install --global yarn - - - -# TODO(astuyve) - figure out python build cache -.python38-amd64-cache: &python38-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python38-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.8.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python38-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python38-amd64) - dependencies: - - build-layer (python38-amd64) - script: - - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.8 - cache: &python38-amd64-cache - before_script: - - PYTHON_VERSION=3.8 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python38-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.8 - cache: &python38-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.8,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python38-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-amd64) - dependencies: - - build-layer (python38-amd64) - cache: &python38-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.8 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python38-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-amd64) - dependencies: - - build-layer (python38-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python38-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-amd64) - dependencies: - - build-layer (python38-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.8 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python38-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python38-amd64) - - check-layer-size (python38-amd64) - - lint python - - unit-test (python38-amd64) - - integration-test (python38-amd64) - dependencies: - - build-layer (python38-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.8.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.8.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python38-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python38_amd64_prod.env - needs: - - - sign-layer (python38-amd64) - - dependencies: - - - sign-layer (python38-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.8 ARCH=amd64 DOTENV=python38_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python38-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python38_amd64_sandbox.env - needs: - - - build-layer (python38-amd64) - - check-layer-size (python38-amd64) - - lint python - - unit-test (python38-amd64) - - integration-test (python38-amd64) - - dependencies: - - - build-layer (python38-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.8 ARCH=amd64 DOTENV=python38_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python38-arm64-cache: &python38-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python38-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.8.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python38-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python38-arm64) - dependencies: - - build-layer (python38-arm64) - script: - - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.8 - cache: &python38-arm64-cache - before_script: - - PYTHON_VERSION=3.8 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python38-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.8 - cache: &python38-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.8,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python38-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-arm64) - dependencies: - - build-layer (python38-arm64) - cache: &python38-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.8 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python38-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-arm64) - dependencies: - - build-layer (python38-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python38-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python38-arm64) - dependencies: - - build-layer (python38-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.8 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python38-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python38-arm64) - - check-layer-size (python38-arm64) - - lint python - - unit-test (python38-arm64) - - integration-test (python38-arm64) - dependencies: - - build-layer (python38-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.8.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.8.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python38-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python38_arm64_prod.env - needs: - - - sign-layer (python38-arm64) - - dependencies: - - - sign-layer (python38-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.8 ARCH=arm64 DOTENV=python38_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python38-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python38_arm64_sandbox.env - needs: - - - build-layer (python38-arm64) - - check-layer-size (python38-arm64) - - lint python - - unit-test (python38-arm64) - - integration-test (python38-arm64) - - dependencies: - - - build-layer (python38-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.8 ARCH=arm64 DOTENV=python38_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python39-amd64-cache: &python39-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python39-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.9.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python39-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python39-amd64) - dependencies: - - build-layer (python39-amd64) - script: - - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.9 - cache: &python39-amd64-cache - before_script: - - PYTHON_VERSION=3.9 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python39-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.9 - cache: &python39-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.9,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python39-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-amd64) - dependencies: - - build-layer (python39-amd64) - cache: &python39-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.9 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python39-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-amd64) - dependencies: - - build-layer (python39-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python39-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-amd64) - dependencies: - - build-layer (python39-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.9 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python39-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python39-amd64) - - check-layer-size (python39-amd64) - - lint python - - unit-test (python39-amd64) - - integration-test (python39-amd64) - dependencies: - - build-layer (python39-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.9.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.9.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python39-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python39_amd64_prod.env - needs: - - - sign-layer (python39-amd64) - - dependencies: - - - sign-layer (python39-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.9 ARCH=amd64 DOTENV=python39_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python39-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python39_amd64_sandbox.env - needs: - - - build-layer (python39-amd64) - - check-layer-size (python39-amd64) - - lint python - - unit-test (python39-amd64) - - integration-test (python39-amd64) - - dependencies: - - - build-layer (python39-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.9 ARCH=amd64 DOTENV=python39_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python39-arm64-cache: &python39-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python39-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.9.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python39-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python39-arm64) - dependencies: - - build-layer (python39-arm64) - script: - - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.9 - cache: &python39-arm64-cache - before_script: - - PYTHON_VERSION=3.9 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python39-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.9 - cache: &python39-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.9,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python39-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-arm64) - dependencies: - - build-layer (python39-arm64) - cache: &python39-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.9 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python39-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-arm64) - dependencies: - - build-layer (python39-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python39-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python39-arm64) - dependencies: - - build-layer (python39-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.9 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python39-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python39-arm64) - - check-layer-size (python39-arm64) - - lint python - - unit-test (python39-arm64) - - integration-test (python39-arm64) - dependencies: - - build-layer (python39-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.9.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.9.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python39-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python39_arm64_prod.env - needs: - - - sign-layer (python39-arm64) - - dependencies: - - - sign-layer (python39-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.9 ARCH=arm64 DOTENV=python39_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python39-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python39_arm64_sandbox.env - needs: - - - build-layer (python39-arm64) - - check-layer-size (python39-arm64) - - lint python - - unit-test (python39-arm64) - - integration-test (python39-arm64) - - dependencies: - - - build-layer (python39-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.9 ARCH=arm64 DOTENV=python39_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python310-amd64-cache: &python310-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python310-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.10.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python310-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python310-amd64) - dependencies: - - build-layer (python310-amd64) - script: - - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.10 - cache: &python310-amd64-cache - before_script: - - PYTHON_VERSION=3.10 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python310-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.10 - cache: &python310-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.10,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python310-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-amd64) - dependencies: - - build-layer (python310-amd64) - cache: &python310-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.10 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python310-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-amd64) - dependencies: - - build-layer (python310-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python310-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-amd64) - dependencies: - - build-layer (python310-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.10 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python310-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python310-amd64) - - check-layer-size (python310-amd64) - - lint python - - unit-test (python310-amd64) - - integration-test (python310-amd64) - dependencies: - - build-layer (python310-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.10.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.10.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python310-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python310_amd64_prod.env - needs: - - - sign-layer (python310-amd64) - - dependencies: - - - sign-layer (python310-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.10 ARCH=amd64 DOTENV=python310_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python310-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python310_amd64_sandbox.env - needs: - - - build-layer (python310-amd64) - - check-layer-size (python310-amd64) - - lint python - - unit-test (python310-amd64) - - integration-test (python310-amd64) - - dependencies: - - - build-layer (python310-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.10 ARCH=amd64 DOTENV=python310_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python310-arm64-cache: &python310-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python310-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.10.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python310-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python310-arm64) - dependencies: - - build-layer (python310-arm64) - script: - - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.10 - cache: &python310-arm64-cache - before_script: - - PYTHON_VERSION=3.10 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python310-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.10 - cache: &python310-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.10,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python310-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-arm64) - dependencies: - - build-layer (python310-arm64) - cache: &python310-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.10 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python310-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-arm64) - dependencies: - - build-layer (python310-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python310-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python310-arm64) - dependencies: - - build-layer (python310-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.10 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python310-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python310-arm64) - - check-layer-size (python310-arm64) - - lint python - - unit-test (python310-arm64) - - integration-test (python310-arm64) - dependencies: - - build-layer (python310-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.10.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.10.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python310-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python310_arm64_prod.env - needs: - - - sign-layer (python310-arm64) - - dependencies: - - - sign-layer (python310-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.10 ARCH=arm64 DOTENV=python310_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python310-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python310_arm64_sandbox.env - needs: - - - build-layer (python310-arm64) - - check-layer-size (python310-arm64) - - lint python - - unit-test (python310-arm64) - - integration-test (python310-arm64) - - dependencies: - - - build-layer (python310-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.10 ARCH=arm64 DOTENV=python310_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python311-amd64-cache: &python311-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python311-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.11.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python311-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python311-amd64) - dependencies: - - build-layer (python311-amd64) - script: - - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.11.6 - cache: &python311-amd64-cache - before_script: - - PYTHON_VERSION=3.11 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python311-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.11.6 - cache: &python311-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.11,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python311-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-amd64) - dependencies: - - build-layer (python311-amd64) - cache: &python311-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.11 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python311-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-amd64) - dependencies: - - build-layer (python311-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python311-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-amd64) - dependencies: - - build-layer (python311-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.11 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python311-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python311-amd64) - - check-layer-size (python311-amd64) - - lint python - - unit-test (python311-amd64) - - integration-test (python311-amd64) - dependencies: - - build-layer (python311-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.11.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.11.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python311-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python311_amd64_prod.env - needs: - - - sign-layer (python311-amd64) - - dependencies: - - - sign-layer (python311-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.11 ARCH=amd64 DOTENV=python311_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python311-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python311_amd64_sandbox.env - needs: - - - build-layer (python311-amd64) - - check-layer-size (python311-amd64) - - lint python - - unit-test (python311-amd64) - - integration-test (python311-amd64) - - dependencies: - - - build-layer (python311-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.11 ARCH=amd64 DOTENV=python311_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python311-arm64-cache: &python311-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python311-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.11.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python311-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python311-arm64) - dependencies: - - build-layer (python311-arm64) - script: - - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.11.6 - cache: &python311-arm64-cache - before_script: - - PYTHON_VERSION=3.11 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python311-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.11.6 - cache: &python311-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.11,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python311-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-arm64) - dependencies: - - build-layer (python311-arm64) - cache: &python311-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.11 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python311-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-arm64) - dependencies: - - build-layer (python311-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python311-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python311-arm64) - dependencies: - - build-layer (python311-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.11 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python311-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python311-arm64) - - check-layer-size (python311-arm64) - - lint python - - unit-test (python311-arm64) - - integration-test (python311-arm64) - dependencies: - - build-layer (python311-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.11.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.11.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python311-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python311_arm64_prod.env - needs: - - - sign-layer (python311-arm64) - - dependencies: - - - sign-layer (python311-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.11 ARCH=arm64 DOTENV=python311_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python311-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python311_arm64_sandbox.env - needs: - - - build-layer (python311-arm64) - - check-layer-size (python311-arm64) - - lint python - - unit-test (python311-arm64) - - integration-test (python311-arm64) - - dependencies: - - - build-layer (python311-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.11 ARCH=arm64 DOTENV=python311_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python312-amd64-cache: &python312-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python312-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.12.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python312-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python312-amd64) - dependencies: - - build-layer (python312-amd64) - script: - - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.12.0 - cache: &python312-amd64-cache - before_script: - - PYTHON_VERSION=3.12 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python312-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.12.0 - cache: &python312-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.12,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python312-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-amd64) - dependencies: - - build-layer (python312-amd64) - cache: &python312-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.12 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python312-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-amd64) - dependencies: - - build-layer (python312-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python312-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-amd64) - dependencies: - - build-layer (python312-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.12 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python312-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python312-amd64) - - check-layer-size (python312-amd64) - - lint python - - unit-test (python312-amd64) - - integration-test (python312-amd64) - dependencies: - - build-layer (python312-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.12.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.12.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python312-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python312_amd64_prod.env - needs: - - - sign-layer (python312-amd64) - - dependencies: - - - sign-layer (python312-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.12 ARCH=amd64 DOTENV=python312_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python312-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python312_amd64_sandbox.env - needs: - - - build-layer (python312-amd64) - - check-layer-size (python312-amd64) - - lint python - - unit-test (python312-amd64) - - integration-test (python312-amd64) - - dependencies: - - - build-layer (python312-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.12 ARCH=amd64 DOTENV=python312_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python312-arm64-cache: &python312-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python312-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.12.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python312-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python312-arm64) - dependencies: - - build-layer (python312-arm64) - script: - - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.12.0 - cache: &python312-arm64-cache - before_script: - - PYTHON_VERSION=3.12 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python312-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.12.0 - cache: &python312-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.12,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python312-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-arm64) - dependencies: - - build-layer (python312-arm64) - cache: &python312-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.12 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python312-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-arm64) - dependencies: - - build-layer (python312-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python312-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python312-arm64) - dependencies: - - build-layer (python312-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.12 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python312-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python312-arm64) - - check-layer-size (python312-arm64) - - lint python - - unit-test (python312-arm64) - - integration-test (python312-arm64) - dependencies: - - build-layer (python312-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.12.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.12.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python312-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python312_arm64_prod.env - needs: - - - sign-layer (python312-arm64) - - dependencies: - - - sign-layer (python312-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.12 ARCH=arm64 DOTENV=python312_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python312-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python312_arm64_sandbox.env - needs: - - - build-layer (python312-arm64) - - check-layer-size (python312-arm64) - - lint python - - unit-test (python312-arm64) - - integration-test (python312-arm64) - - dependencies: - - - build-layer (python312-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.12 ARCH=arm64 DOTENV=python312_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python313-amd64-cache: &python313-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python313-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.13.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python313-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python313-amd64) - dependencies: - - build-layer (python313-amd64) - script: - - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.13.0 - cache: &python313-amd64-cache - before_script: - - PYTHON_VERSION=3.13 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python313-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.13.0 - cache: &python313-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.13,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python313-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-amd64) - dependencies: - - build-layer (python313-amd64) - cache: &python313-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.13 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python313-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-amd64) - dependencies: - - build-layer (python313-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python313-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-amd64) - dependencies: - - build-layer (python313-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.13 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python313-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python313-amd64) - - check-layer-size (python313-amd64) - - lint python - - unit-test (python313-amd64) - - integration-test (python313-amd64) - dependencies: - - build-layer (python313-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.13.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.13.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python313-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python313_amd64_prod.env - needs: - - - sign-layer (python313-amd64) - - dependencies: - - - sign-layer (python313-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.13 ARCH=amd64 DOTENV=python313_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python313-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python313_amd64_sandbox.env - needs: - - - build-layer (python313-amd64) - - check-layer-size (python313-amd64) - - lint python - - unit-test (python313-amd64) - - integration-test (python313-amd64) - - dependencies: - - - build-layer (python313-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.13 ARCH=amd64 DOTENV=python313_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python313-arm64-cache: &python313-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python313-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.13.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python313-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python313-arm64) - dependencies: - - build-layer (python313-arm64) - script: - - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.13.0 - cache: &python313-arm64-cache - before_script: - - PYTHON_VERSION=3.13 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python313-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.13.0 - cache: &python313-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.13,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python313-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-arm64) - dependencies: - - build-layer (python313-arm64) - cache: &python313-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.13 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python313-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-arm64) - dependencies: - - build-layer (python313-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python313-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python313-arm64) - dependencies: - - build-layer (python313-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.13 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python313-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python313-arm64) - - check-layer-size (python313-arm64) - - lint python - - unit-test (python313-arm64) - - integration-test (python313-arm64) - dependencies: - - build-layer (python313-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.13.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.13.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python313-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python313_arm64_prod.env - needs: - - - sign-layer (python313-arm64) - - dependencies: - - - sign-layer (python313-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.13 ARCH=arm64 DOTENV=python313_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python313-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python313_arm64_sandbox.env - needs: - - - build-layer (python313-arm64) - - check-layer-size (python313-arm64) - - lint python - - unit-test (python313-arm64) - - integration-test (python313-arm64) - - dependencies: - - - build-layer (python313-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.13 ARCH=arm64 DOTENV=python313_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python314-amd64-cache: &python314-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python314-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.14.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python314-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python314-amd64) - dependencies: - - build-layer (python314-amd64) - script: - - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.14.0 - cache: &python314-amd64-cache - before_script: - - PYTHON_VERSION=3.14 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python314-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.14.0 - cache: &python314-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.14,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python314-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-amd64) - dependencies: - - build-layer (python314-amd64) - cache: &python314-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.14 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python314-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-amd64) - dependencies: - - build-layer (python314-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python314-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-amd64) - dependencies: - - build-layer (python314-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.14 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python314-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python314-amd64) - - check-layer-size (python314-amd64) - - lint python - - unit-test (python314-amd64) - - integration-test (python314-amd64) - dependencies: - - build-layer (python314-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.14.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.14.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python314-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python314_amd64_prod.env - needs: - - - sign-layer (python314-amd64) - - dependencies: - - - sign-layer (python314-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.14 ARCH=amd64 DOTENV=python314_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python314-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python314_amd64_sandbox.env - needs: - - - build-layer (python314-amd64) - - check-layer-size (python314-amd64) - - lint python - - unit-test (python314-amd64) - - integration-test (python314-amd64) - - dependencies: - - - build-layer (python314-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.14 ARCH=amd64 DOTENV=python314_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python314-arm64-cache: &python314-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python314-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.14.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python314-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python314-arm64) - dependencies: - - build-layer (python314-arm64) - script: - - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.14.0 - cache: &python314-arm64-cache - before_script: - - PYTHON_VERSION=3.14 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python314-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.14.0 - cache: &python314-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.14,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python314-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-arm64) - dependencies: - - build-layer (python314-arm64) - cache: &python314-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.14 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python314-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-arm64) - dependencies: - - build-layer (python314-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python314-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python314-arm64) - dependencies: - - build-layer (python314-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.14 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python314-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python314-arm64) - - check-layer-size (python314-arm64) - - lint python - - unit-test (python314-arm64) - - integration-test (python314-arm64) - dependencies: - - build-layer (python314-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.14.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.14.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python314-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python314_arm64_prod.env - needs: - - - sign-layer (python314-arm64) - - dependencies: - - - sign-layer (python314-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.14 ARCH=arm64 DOTENV=python314_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python314-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python314_arm64_sandbox.env - needs: - - - build-layer (python314-arm64) - - check-layer-size (python314-arm64) - - lint python - - unit-test (python314-arm64) - - integration-test (python314-arm64) - - dependencies: - - - build-layer (python314-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.14 ARCH=arm64 DOTENV=python314_arm64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python315-amd64-cache: &python315-amd64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python315-amd64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.15.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python315-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python315-amd64) - dependencies: - - build-layer (python315-amd64) - script: - - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.15.0 - cache: &python315-amd64-cache - before_script: - - PYTHON_VERSION=3.15 ARCH=amd64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python315-amd64): - stage: test - tags: - - - "arch:amd64" - - image: registry.ddbuild.io/images/mirror/python:3.15.0 - cache: &python315-amd64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.15,arch:amd64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python315-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-amd64) - dependencies: - - build-layer (python315-amd64) - cache: &python315-amd64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.15 ARCH=amd64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python315-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-amd64) - dependencies: - - build-layer (python315-amd64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python315-amd64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-amd64) - dependencies: - - build-layer (python315-amd64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.15 ARCH=amd64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python315-amd64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python315-amd64) - - check-layer-size (python315-amd64) - - lint python - - unit-test (python315-amd64) - - integration-test (python315-amd64) - dependencies: - - build-layer (python315-amd64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-amd64-3.15.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-amd64-3.15.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python315-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python315_amd64_prod.env - needs: - - - sign-layer (python315-amd64) - - dependencies: - - - sign-layer (python315-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.15 ARCH=amd64 DOTENV=python315_amd64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python315-amd64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "amd64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python315_amd64_sandbox.env - needs: - - - build-layer (python315-amd64) - - check-layer-size (python315-amd64) - - lint python - - unit-test (python315-amd64) - - integration-test (python315-amd64) - - dependencies: - - - build-layer (python315-amd64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.15 ARCH=amd64 DOTENV=python315_amd64_sandbox.env ./ci/publish_layers.sh - -# TODO(astuyve) - figure out python build cache -.python315-arm64-cache: &python315-arm64-cache - key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG" - paths: - - $CI_PROJECT_DIR/.yarn-cache - policy: pull - -build-layer (python315-arm64): - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - artifacts: - expire_in: 1 day # Unsigned zips expire in 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.15.zip - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - script: - - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/build_layers.sh - timeout: 15m - retry: 2 - -check-layer-size (python315-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - build-layer (python315-arm64) - dependencies: - - build-layer (python315-arm64) - script: - - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/check_layer_size.sh - -lint python: - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/mirror/python:3.15.0 - cache: &python315-arm64-cache - before_script: - - PYTHON_VERSION=3.15 ARCH=arm64 IS_LINT="1" ./scripts/setup_python_env.sh - script: - - source venv/bin/activate - - ./scripts/check_format.sh - -unit-test (python315-arm64): - stage: test - tags: - - - "arch:arm64" - - image: registry.ddbuild.io/images/mirror/python:3.15.0 - cache: &python315-arm64-cache - variables: - DD_CIVISIBILITY_AGENTLESS_ENABLED: "true" - DD_SERVICE: "datadog-lambda-python" - DD_ENV: "ci" - DD_TAGS: "python_version:3.15,arch:arm64" - before_script: - - GET_SECRETS_API_KEY_ONLY=1 source ./ci/get_secrets.sh - - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/setup_python_env.sh - script: - - set -e - - source venv/bin/activate - - pytest -vv --ddtrace - retry: 2 - -integration-test (python315-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-arm64) - dependencies: - - build-layer (python315-arm64) - cache: &python315-arm64-cache - variables: - CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true" - before_script: - - *install-python-tools - - *install-node - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - yarn global add serverless@^3.38.0 --prefix /usr/local - - yarn global add serverless-python-requirements@^6.1.1 --prefix /usr/local - - yarn --cwd tests/integration install - script: - - RUNTIME_PARAM=3.15 ARCH=arm64 ./scripts/run_integration_tests.sh - retry: 2 - -# Pytest + SAM replacement for the snapshot-based integration-test job above. -# Opt-in: only runs when the pipeline has RUN_PYTEST_INTEGRATION_TESTS=true (set it -# when running a pipeline, or as a CI/CD variable). Non-blocking until it has been -# green for a while; then the old job is removed. -# -# Two jobs per runtime, so an Extension release cannot fail the library tests: -# integration-test-pytest the library alone (no Extension layer) -# integration-test-pytest-extension the library with the Datadog Extension layer -integration-test-pytest (python315-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-arm64) - dependencies: - - build-layer (python315-arm64) - variables: - # No Extension layer: skips the tests marked "extension". - DD_EXTENSION_LAYER_VERSION: "none" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/run_integration_pytest.sh --junitxml=integration-junit.xml - artifacts: - when: always - # With UPDATE_EXPECTED=true, the snapshots this job wrote (see CONTRIBUTING.md). - paths: - - tests/integration/expected/ - reports: - junit: tests/integration/integration-junit.xml - retry: 1 - -integration-test-pytest-extension (python315-arm64): - stage: test - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - allow_failure: true - rules: - - if: '$RUN_PYTEST_INTEGRATION_TESTS != "true"' - when: never - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - needs: - - build-layer (python315-arm64) - dependencies: - - build-layer (python315-arm64) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" - before_script: - - *install-python-tools - - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - - *install-integration-test-deps - script: - - PYTHON_VERSION=3.15 ARCH=arm64 ./scripts/run_integration_pytest.sh -m extension --junitxml=integration-extension-junit.xml - artifacts: - when: always - reports: - junit: tests/integration/integration-extension-junit.xml - retry: 1 - -sign-layer (python315-arm64): - stage: sign - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - build-layer (python315-arm64) - - check-layer-size (python315-arm64) - - lint python - - unit-test (python315-arm64) - - integration-test (python315-arm64) - dependencies: - - build-layer (python315-arm64) - artifacts: # Re specify artifacts so the modified signed file is passed - expire_in: 1 day # Signed layers should expire after 1 day - paths: - - .layers/datadog_lambda_py-arm64-3.15.zip - before_script: - - *install-python-tools - - apt-get update - - apt-get install -y uuid-runtime - - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - - script: - - LAYER_FILE=datadog_lambda_py-arm64-3.15.zip ./scripts/sign_layers.sh prod - - - - -publish-layer-prod (python315-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"prod" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"prod" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python315_arm64_prod.env - needs: - - - sign-layer (python315-arm64) - - dependencies: - - - sign-layer (python315-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=prod-publish-externalid ROLE_TO_ASSUME=dd-serverless-layer-deployer-role AWS_ACCOUNT=464622532012 source ./ci/get_secrets.sh - script: - - STAGE=prod PYTHON_VERSION=3.15 ARCH=arm64 DOTENV=python315_arm64_prod.env ./ci/publish_layers.sh - - -publish-layer-sandbox (python315-arm64): - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - if: '"sandbox" == "sandbox" && $REGION == "us-west-2" && "arm64" == "amd64"' - when: on_success - - if: '"sandbox" == "sandbox"' - when: manual - allow_failure: true - - if: '$CI_COMMIT_TAG =~ /^v.*/' - artifacts: - reports: - dotenv: python315_arm64_sandbox.env - needs: - - - build-layer (python315-arm64) - - check-layer-size (python315-arm64) - - lint python - - unit-test (python315-arm64) - - integration-test (python315-arm64) - - dependencies: - - - build-layer (python315-arm64) - - parallel: - matrix: - - REGION: - - us-east-1 - - us-east-2 - - us-west-1 - - us-west-2 - - af-south-1 - - ap-east-1 - - ap-east-2 - - ap-south-1 - - ap-south-2 - - ap-southeast-1 - - ap-southeast-2 - - ap-southeast-3 - - ap-southeast-4 - - ap-southeast-5 - - ap-southeast-6 - - ap-southeast-7 - - ap-northeast-1 - - ap-northeast-2 - - ap-northeast-3 - - ca-central-1 - - ca-west-1 - - eu-central-1 - - eu-central-2 - - eu-north-1 - - eu-west-1 - - eu-west-2 - - eu-west-3 - - eu-south-1 - - eu-south-2 - - il-central-1 - - me-central-1 - - mx-central-1 - - sa-east-1 - before_script: - - *install-python-tools - - export SKIP_PIP_INSTALL=true - - EXTERNAL_ID_NAME=sandbox-publish-externalid ROLE_TO_ASSUME=sandbox-layer-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh - script: - - STAGE=sandbox PYTHON_VERSION=3.15 ARCH=arm64 DOTENV=python315_arm64_sandbox.env ./ci/publish_layers.sh - -publish-pypi-package: - stage: publish - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - before_script: - - *install-python-tools - - ./scripts/setup_python_env.sh - cache: [] - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - when: manual - needs: - - sign-layer (python38-amd64) - - sign-layer (python38-arm64) - - sign-layer (python39-amd64) - - sign-layer (python39-arm64) - - sign-layer (python310-amd64) - - sign-layer (python310-arm64) - - sign-layer (python311-amd64) - - sign-layer (python311-arm64) - - sign-layer (python312-amd64) - - sign-layer (python312-arm64) - - sign-layer (python313-amd64) - - sign-layer (python313-arm64) - - sign-layer (python314-amd64) - - sign-layer (python314-arm64) - - sign-layer (python315-amd64) - - sign-layer (python315-arm64) - script: - - ./ci/publish_pypi.sh - -layer bundle: - stage: build - tags: ["arch:amd64"] - image: registry.ddbuild.io/images/docker:27.3.1 - needs: - - - build-layer (python38-amd64) - - - build-layer (python38-arm64) - - - build-layer (python39-amd64) - - - build-layer (python39-arm64) - - - build-layer (python310-amd64) - - - build-layer (python310-arm64) - - - build-layer (python311-amd64) - - - build-layer (python311-arm64) - - - build-layer (python312-amd64) - - - build-layer (python312-arm64) - - - build-layer (python313-amd64) - - - build-layer (python313-arm64) - - - build-layer (python314-amd64) - - - build-layer (python314-arm64) - - - build-layer (python315-amd64) - - - build-layer (python315-arm64) - - dependencies: - - - build-layer (python38-amd64) - - - build-layer (python38-arm64) - - - build-layer (python39-amd64) - - - build-layer (python39-arm64) - - - build-layer (python310-amd64) - - - build-layer (python310-arm64) - - - build-layer (python311-amd64) - - - build-layer (python311-arm64) - - - build-layer (python312-amd64) - - - build-layer (python312-arm64) - - - build-layer (python313-amd64) - - - build-layer (python313-arm64) - - - build-layer (python314-amd64) - - - build-layer (python314-arm64) - - - build-layer (python315-amd64) - - - build-layer (python315-arm64) - - artifacts: - expire_in: 1 day - paths: - - datadog_lambda_py-bundle-${CI_JOB_ID}/ - name: datadog_lambda_py-bundle-${CI_JOB_ID} - script: - - rm -rf datadog_lambda_py-bundle-${CI_JOB_ID} - - mkdir -p datadog_lambda_py-bundle-${CI_JOB_ID} - - cp .layers/datadog_lambda_py-*.zip datadog_lambda_py-bundle-${CI_JOB_ID} - -signed layer bundle: - stage: sign - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - tags: ["arch:amd64"] - rules: - - if: '$CI_COMMIT_TAG =~ /^v.*/' - needs: - - - sign-layer (python38-amd64) - - - sign-layer (python38-arm64) - - - sign-layer (python39-amd64) - - - sign-layer (python39-arm64) - - - sign-layer (python310-amd64) - - - sign-layer (python310-arm64) - - - sign-layer (python311-amd64) - - - sign-layer (python311-arm64) - - - sign-layer (python312-amd64) - - - sign-layer (python312-arm64) - - - sign-layer (python313-amd64) - - - sign-layer (python313-arm64) - - - sign-layer (python314-amd64) - - - sign-layer (python314-arm64) - - - sign-layer (python315-amd64) - - - sign-layer (python315-arm64) - - dependencies: - - - sign-layer (python38-amd64) - - - sign-layer (python38-arm64) - - - sign-layer (python39-amd64) - - - sign-layer (python39-arm64) - - - sign-layer (python310-amd64) - - - sign-layer (python310-arm64) - - - sign-layer (python311-amd64) - - - sign-layer (python311-arm64) - - - sign-layer (python312-amd64) - - - sign-layer (python312-arm64) - - - sign-layer (python313-amd64) - - - sign-layer (python313-arm64) - - - sign-layer (python314-amd64) - - - sign-layer (python314-arm64) - - - sign-layer (python315-amd64) - - - sign-layer (python315-arm64) - - artifacts: - expire_in: 1 day - paths: - - datadog_lambda_py-signed-bundle-${CI_JOB_ID}/ - name: datadog_lambda_py-signed-bundle-${CI_JOB_ID} - script: - - rm -rf datadog_lambda_py-signed-bundle-${CI_JOB_ID} - - mkdir -p datadog_lambda_py-signed-bundle-${CI_JOB_ID} - - cp .layers/datadog_lambda_py-*.zip datadog_lambda_py-signed-bundle-${CI_JOB_ID} - -e2e-test: - stage: e2e - trigger: - project: DataDog/serverless-e2e-tests - strategy: depend - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - variables: - LANGUAGES_SUBSET: python - # These env vars are inherited from the dotenv reports of the publish-layer jobs - PYTHON_38_VERSION: $PYTHON_38_VERSION - PYTHON_39_VERSION: $PYTHON_39_VERSION - PYTHON_310_VERSION: $PYTHON_310_VERSION - PYTHON_311_VERSION: $PYTHON_311_VERSION - PYTHON_312_VERSION: $PYTHON_312_VERSION - PYTHON_313_VERSION: $PYTHON_313_VERSION - PYTHON_314_VERSION: $PYTHON_314_VERSION - PYTHON_315_VERSION: $PYTHON_315_VERSION - needs: - - "publish-layer-sandbox (python38-amd64): [us-west-2]" - - "publish-layer-sandbox (python39-amd64): [us-west-2]" - - "publish-layer-sandbox (python310-amd64): [us-west-2]" - - "publish-layer-sandbox (python311-amd64): [us-west-2]" - - "publish-layer-sandbox (python312-amd64): [us-west-2]" - - "publish-layer-sandbox (python313-amd64): [us-west-2]" - - "publish-layer-sandbox (python314-amd64): [us-west-2]" - - "publish-layer-sandbox (python315-amd64): [us-west-2]" - -e2e-test-status: - stage: e2e - image: registry.ddbuild.io/images/docker:29.4.0-noble-py3 - tags: ["arch:amd64"] - timeout: 3h - rules: - - if: '$SKIP_E2E_TESTS == "true"' - when: never - - when: on_success - script: - - ci/poll_e2e.sh diff --git a/ci/input_files/build.yaml.tpl b/ci/input_files/build.yaml.tpl index dbf3f27f0..9290ecdd0 100644 --- a/ci/input_files/build.yaml.tpl +++ b/ci/input_files/build.yaml.tpl @@ -197,9 +197,8 @@ integration-test-pytest-extension ({{ $runtime.name }}-{{ $runtime.arch }}): - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) dependencies: - build-layer ({{ $runtime.name }}-{{ $runtime.arch }}) - variables: - # Pinned Datadog Extension layer version. Change it here, not per pipeline. - DD_EXTENSION_LAYER_VERSION: "105" + # The Extension layer version is DEFAULT_EXTENSION_LAYER_VERSION in + # tests/integration/harness/settings.py; change it there, not per pipeline. before_script: - *install-python-tools - EXTERNAL_ID_NAME=integration-test-externalid ROLE_TO_ASSUME=sandbox-integration-test-deployer AWS_ACCOUNT=425362996713 source ./ci/get_secrets.sh diff --git a/scripts/run_integration_pytest.sh b/scripts/run_integration_pytest.sh index 0d8acd9bf..9e8177183 100755 --- a/scripts/run_integration_pytest.sh +++ b/scripts/run_integration_pytest.sh @@ -11,13 +11,18 @@ # ARCH=amd64 DD_API_KEY=XXXX \ # aws-vault exec sso-serverless-sandbox-account-admin -- ./scripts/run_integration_pytest.sh # +# DD_API_KEY_SECRET_ARN can stand in for DD_API_KEY. The deployed functions read +# the key from Secrets Manager themselves, so the role they run as must be +# allowed to read that secret. +# # Runs every Python version in python_versions.yaml, one after another (each # deploys its own stack), unless PYTHON_VERSION is set. # # Optional: # PYTHON_VERSION=3.13 run one version only (shorthand like 13 works too) # BUILD_LAYERS=true build the layer(s) first -# DD_EXTENSION_LAYER_VERSION=N Datadog Extension layer version (default: 105; +# DD_EXTENSION_LAYER_VERSION=N Datadog Extension layer version (default: the pin in +# tests/integration/harness/settings.py; # "none" skips the extension / mock intake tests) # INTEGRATION_STACK_NAME=... reuse a deployed stack (kept afterwards); needs PYTHON_VERSION # KEEP_STACK=true keep the stack(s) for debugging @@ -31,12 +36,15 @@ scripts_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) repo_dir=$(dirname "$scripts_dir") source "$scripts_dir/python_versions.sh" -for var in ARCH DD_API_KEY; do - if [ -z "${!var}" ]; then - echo "$var must be set" - exit 1 - fi -done +if [ -z "$ARCH" ]; then + echo "ARCH must be set" + exit 1 +fi + +if [ -z "$DD_API_KEY" ] && [ -z "$DD_API_KEY_SECRET_ARN" ]; then + echo "DD_API_KEY or DD_API_KEY_SECRET_ARN must be set" + exit 1 +fi if [ -n "$PYTHON_VERSION" ]; then if [[ "$PYTHON_VERSION" =~ ^[0-9]+$ ]]; then diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index a115bbe92..571ef079c 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -1,7 +1,7 @@ """Session fixtures: deploy the stack once, run the baseline invocations once. Environment: - PYTHON_VERSION, ARCH, DD_API_KEY required + PYTHON_VERSION, ARCH, and one of DD_API_KEY or DD_API_KEY_SECRET_ARN required DD_EXTENSION_LAYER_VERSION Datadog Extension layer version number (default: the pinned version in harness/settings.py) or "none" (no extension tests) @@ -14,22 +14,16 @@ import json import secrets -from pathlib import Path -from typing import Dict, List, Tuple +from typing import Dict, Tuple import pytest from .harness import aws from .harness import settings as settings_mod -INPUT_EVENTS_DIR = Path(__file__).parent / "input_events" -# Sorted, so the first invocation of each function (the cold start) is always -# the same event. -EVENT_NAMES: List[str] = sorted(p.stem for p in INPUT_EVENTS_DIR.glob("*.json")) -BASELINE_FUNCTIONS = { - "async-metrics": "AsyncMetricsFunctionName", - "sync-metrics": "SyncMetricsFunctionName", -} +from .harness.settings import BASELINE_FUNCTIONS, EVENT_NAMES, INPUT_EVENTS_DIR + +CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] def load_event(name: str): @@ -96,6 +90,13 @@ def baseline_invocations(run_settings, stack) -> Dict[Tuple[str, str], aws.Invoc return results +@pytest.fixture(params=CASES, ids=["%s-%s" % c for c in CASES]) +def case(request, baseline_invocations): + """(function key, event name, Invocation), once per baseline function and event.""" + fn, event_name = request.param + return fn, event_name, baseline_invocations[(fn, event_name)] + + @pytest.fixture(scope="session") def extension_function(run_settings, stack) -> str: if "ExtensionFunctionName" not in stack: diff --git a/tests/integration/expected/logs/default/async-metrics/api-gateway-get.json b/tests/integration/expected/logs/default/async-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/appsync.json b/tests/integration/expected/logs/default/async-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/dynamodb.json b/tests/integration/expected/logs/default/async-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json b/tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/http-api.json b/tests/integration/expected/logs/default/async-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/kinesis.json b/tests/integration/expected/logs/default/async-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/s3.json b/tests/integration/expected/logs/default/async-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/sns.json b/tests/integration/expected/logs/default/async-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/sqs.json b/tests/integration/expected/logs/default/async-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/async-metrics/websocket.json b/tests/integration/expected/logs/default/async-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/async-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json b/tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/appsync.json b/tests/integration/expected/logs/default/sync-metrics/appsync.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/appsync.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/dynamodb.json b/tests/integration/expected/logs/default/sync-metrics/dynamodb.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/dynamodb.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json b/tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/http-api.json b/tests/integration/expected/logs/default/sync-metrics/http-api.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/http-api.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/kinesis.json b/tests/integration/expected/logs/default/sync-metrics/kinesis.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/kinesis.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/s3.json b/tests/integration/expected/logs/default/sync-metrics/s3.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/s3.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/sns.json b/tests/integration/expected/logs/default/sync-metrics/sns.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/sns.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/sqs.json b/tests/integration/expected/logs/default/sync-metrics/sqs.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/sqs.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/logs/default/sync-metrics/websocket.json b/tests/integration/expected/logs/default/sync-metrics/websocket.json deleted file mode 100644 index fe51488c7..000000000 --- a/tests/integration/expected/logs/default/sync-metrics/websocket.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/tests/integration/expected/metrics/default/async-metrics/api-gateway-get.json b/tests/integration/expected/metrics/default/async-metrics.json similarity index 96% rename from tests/integration/expected/metrics/default/async-metrics/api-gateway-get.json rename to tests/integration/expected/metrics/default/async-metrics.json index 27747ce6d..b4f796689 100644 --- a/tests/integration/expected/metrics/default/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/metrics/default/async-metrics.json @@ -3,7 +3,7 @@ "m": "aws.lambda.enhanced.invocations", "t": [ "account_id:", - "cold_start:true", + "cold_start:", "datadog_lambda:", "dd_lambda_layer:datadog-_", "functionname:", diff --git a/tests/integration/expected/metrics/default/async-metrics/appsync.json b/tests/integration/expected/metrics/default/async-metrics/appsync.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/appsync.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/dynamodb.json b/tests/integration/expected/metrics/default/async-metrics/dynamodb.json deleted file mode 100644 index 663fc0761..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/dynamodb.json +++ /dev/null @@ -1,43 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/http-api.json b/tests/integration/expected/metrics/default/async-metrics/http-api.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/http-api.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/kinesis.json b/tests/integration/expected/metrics/default/async-metrics/kinesis.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/kinesis.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/s3.json b/tests/integration/expected/metrics/default/async-metrics/s3.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/s3.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/sns.json b/tests/integration/expected/metrics/default/async-metrics/sns.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/sns.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/sqs.json b/tests/integration/expected/metrics/default/async-metrics/sqs.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/sqs.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/async-metrics/websocket.json b/tests/integration/expected/metrics/default/async-metrics/websocket.json deleted file mode 100644 index bda7efeaa..000000000 --- a/tests/integration/expected/metrics/default/async-metrics/websocket.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "hello.dog", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "team:serverless" - ], - "v": 1 - }, - { - "m": "tests.integration.count", - "t": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "test:integration" - ], - "v": 21 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/eventbridge-custom.json b/tests/integration/expected/metrics/default/sync-metrics.json similarity index 92% rename from tests/integration/expected/metrics/default/sync-metrics/eventbridge-custom.json rename to tests/integration/expected/metrics/default/sync-metrics.json index aee7448d8..66276c9ba 100644 --- a/tests/integration/expected/metrics/default/sync-metrics/eventbridge-custom.json +++ b/tests/integration/expected/metrics/default/sync-metrics.json @@ -3,7 +3,7 @@ "m": "aws.lambda.enhanced.invocations", "t": [ "account_id:", - "cold_start:false", + "cold_start:", "datadog_lambda:", "dd_lambda_layer:datadog-_", "functionname:", diff --git a/tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json b/tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json deleted file mode 100644 index 3e5944f32..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:true", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/appsync.json b/tests/integration/expected/metrics/default/sync-metrics/appsync.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/appsync.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/dynamodb.json b/tests/integration/expected/metrics/default/sync-metrics/dynamodb.json deleted file mode 100644 index 0497bcc2b..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/dynamodb.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - }, - { - "m": "datadog.serverless.dynamodb.stream.type", - "t": [ - "dd_lambda_layer:datadog-_", - "streamtype:NEW_AND_OLD_IMAGES" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/http-api.json b/tests/integration/expected/metrics/default/sync-metrics/http-api.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/http-api.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/kinesis.json b/tests/integration/expected/metrics/default/sync-metrics/kinesis.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/kinesis.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/s3.json b/tests/integration/expected/metrics/default/sync-metrics/s3.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/s3.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/sns.json b/tests/integration/expected/metrics/default/sync-metrics/sns.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/sns.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/sqs.json b/tests/integration/expected/metrics/default/sync-metrics/sqs.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/sqs.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/metrics/default/sync-metrics/websocket.json b/tests/integration/expected/metrics/default/sync-metrics/websocket.json deleted file mode 100644 index aee7448d8..000000000 --- a/tests/integration/expected/metrics/default/sync-metrics/websocket.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "m": "aws.lambda.enhanced.invocations", - "t": [ - "account_id:", - "cold_start:false", - "datadog_lambda:", - "dd_lambda_layer:datadog-_", - "functionname:", - "memorysize:1024", - "region:eu-west-1", - "resource:", - "runtime:" - ], - "v": 1 - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/default/async-metrics.json similarity index 100% rename from tests/integration/expected/requests/default/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/default/async-metrics.json diff --git a/tests/integration/expected/requests/default/async-metrics/dynamodb.json b/tests/integration/expected/requests/default/async-metrics/dynamodb.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/http-api.json b/tests/integration/expected/requests/default/async-metrics/http-api.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/kinesis.json b/tests/integration/expected/requests/default/async-metrics/kinesis.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/s3.json b/tests/integration/expected/requests/default/async-metrics/s3.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/sns.json b/tests/integration/expected/requests/default/async-metrics/sns.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/sqs.json b/tests/integration/expected/requests/default/async-metrics/sqs.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/async-metrics/websocket.json b/tests/integration/expected/requests/default/async-metrics/websocket.json deleted file mode 100644 index a9b6bf105..000000000 --- a/tests/integration/expected/requests/default/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/default/sync-metrics.json similarity index 100% rename from tests/integration/expected/requests/default/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/default/sync-metrics.json diff --git a/tests/integration/expected/requests/default/sync-metrics/dynamodb.json b/tests/integration/expected/requests/default/sync-metrics/dynamodb.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/http-api.json b/tests/integration/expected/requests/default/sync-metrics/http-api.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/kinesis.json b/tests/integration/expected/requests/default/sync-metrics/kinesis.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/s3.json b/tests/integration/expected/requests/default/sync-metrics/s3.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/sns.json b/tests/integration/expected/requests/default/sync-metrics/sns.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/sqs.json b/tests/integration/expected/requests/default/sync-metrics/sqs.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/default/sync-metrics/websocket.json b/tests/integration/expected/requests/default/sync-metrics/websocket.json deleted file mode 100644 index 2425f972e..000000000 --- a/tests/integration/expected/requests/default/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314/async-metrics.json similarity index 100% rename from tests/integration/expected/requests/python314/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python314/async-metrics.json diff --git a/tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/http-api.json b/tests/integration/expected/requests/python314/async-metrics/http-api.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/kinesis.json b/tests/integration/expected/requests/python314/async-metrics/kinesis.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/s3.json b/tests/integration/expected/requests/python314/async-metrics/s3.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/sns.json b/tests/integration/expected/requests/python314/async-metrics/sns.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/sqs.json b/tests/integration/expected/requests/python314/async-metrics/sqs.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/websocket.json b/tests/integration/expected/requests/python314/async-metrics/websocket.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python314/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python314/sync-metrics.json similarity index 100% rename from tests/integration/expected/requests/python314/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python314/sync-metrics.json diff --git a/tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/http-api.json b/tests/integration/expected/requests/python314/sync-metrics/http-api.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/kinesis.json b/tests/integration/expected/requests/python314/sync-metrics/kinesis.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/s3.json b/tests/integration/expected/requests/python314/sync-metrics/s3.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/sns.json b/tests/integration/expected/requests/python314/sync-metrics/sns.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/sqs.json b/tests/integration/expected/requests/python314/sync-metrics/sqs.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/websocket.json b/tests/integration/expected/requests/python314/sync-metrics/websocket.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python314/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python314/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315/async-metrics.json similarity index 100% rename from tests/integration/expected/requests/python314/async-metrics/dynamodb.json rename to tests/integration/expected/requests/python315/async-metrics.json diff --git a/tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/dynamodb.json b/tests/integration/expected/requests/python315/async-metrics/dynamodb.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/http-api.json b/tests/integration/expected/requests/python315/async-metrics/http-api.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/kinesis.json b/tests/integration/expected/requests/python315/async-metrics/kinesis.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/s3.json b/tests/integration/expected/requests/python315/async-metrics/s3.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/sns.json b/tests/integration/expected/requests/python315/async-metrics/sns.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/sqs.json b/tests/integration/expected/requests/python315/async-metrics/sqs.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python315/async-metrics/websocket.json b/tests/integration/expected/requests/python315/async-metrics/websocket.json deleted file mode 100644 index 495f10b95..000000000 --- a/tests/integration/expected/requests/python315/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python314/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315/sync-metrics.json similarity index 100% rename from tests/integration/expected/requests/python314/sync-metrics/dynamodb.json rename to tests/integration/expected/requests/python315/sync-metrics.json diff --git a/tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python315/sync-metrics/dynamodb.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/http-api.json b/tests/integration/expected/requests/python315/sync-metrics/http-api.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/kinesis.json b/tests/integration/expected/requests/python315/sync-metrics/kinesis.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/s3.json b/tests/integration/expected/requests/python315/sync-metrics/s3.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/sns.json b/tests/integration/expected/requests/python315/sync-metrics/sns.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/sqs.json b/tests/integration/expected/requests/python315/sync-metrics/sqs.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python315/sync-metrics/websocket.json b/tests/integration/expected/requests/python315/sync-metrics/websocket.json deleted file mode 100644 index 1c12237db..000000000 --- a/tests/integration/expected/requests/python315/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate, zstd", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:,ot=rv:;th:0", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38/async-metrics.json similarity index 100% rename from tests/integration/expected/requests/python38/async-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python38/async-metrics.json diff --git a/tests/integration/expected/requests/python38/async-metrics/dynamodb.json b/tests/integration/expected/requests/python38/async-metrics/dynamodb.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/http-api.json b/tests/integration/expected/requests/python38/async-metrics/http-api.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/kinesis.json b/tests/integration/expected/requests/python38/async-metrics/kinesis.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/s3.json b/tests/integration/expected/requests/python38/async-metrics/s3.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/sns.json b/tests/integration/expected/requests/python38/async-metrics/sns.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/sqs.json b/tests/integration/expected/requests/python38/async-metrics/sqs.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/async-metrics/websocket.json b/tests/integration/expected/requests/python38/async-metrics/websocket.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python38/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python38/sync-metrics.json similarity index 100% rename from tests/integration/expected/requests/python38/sync-metrics/api-gateway-get.json rename to tests/integration/expected/requests/python38/sync-metrics.json diff --git a/tests/integration/expected/requests/python38/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python38/sync-metrics/dynamodb.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/http-api.json b/tests/integration/expected/requests/python38/sync-metrics/http-api.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/kinesis.json b/tests/integration/expected/requests/python38/sync-metrics/kinesis.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/s3.json b/tests/integration/expected/requests/python38/sync-metrics/s3.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/sns.json b/tests/integration/expected/requests/python38/sync-metrics/sns.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/sqs.json b/tests/integration/expected/requests/python38/sync-metrics/sqs.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python38/sync-metrics/websocket.json b/tests/integration/expected/requests/python38/sync-metrics/websocket.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python38/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/dynamodb.json b/tests/integration/expected/requests/python39/async-metrics/dynamodb.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/dynamodb.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/http-api.json b/tests/integration/expected/requests/python39/async-metrics/http-api.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/http-api.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/kinesis.json b/tests/integration/expected/requests/python39/async-metrics/kinesis.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/kinesis.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/s3.json b/tests/integration/expected/requests/python39/async-metrics/s3.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/s3.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/sns.json b/tests/integration/expected/requests/python39/async-metrics/sns.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/sns.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/sqs.json b/tests/integration/expected/requests/python39/async-metrics/sqs.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/sqs.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/async-metrics/websocket.json b/tests/integration/expected/requests/python39/async-metrics/websocket.json deleted file mode 100644 index 0e4d4e2b1..000000000 --- a/tests/integration/expected/requests/python39/async-metrics/websocket.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json b/tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/appsync.json b/tests/integration/expected/requests/python39/sync-metrics/appsync.json deleted file mode 100644 index 75dc98b46..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/appsync.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/dynamodb.json b/tests/integration/expected/requests/python39/sync-metrics/dynamodb.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/dynamodb.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json b/tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/http-api.json b/tests/integration/expected/requests/python39/sync-metrics/http-api.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/http-api.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/kinesis.json b/tests/integration/expected/requests/python39/sync-metrics/kinesis.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/kinesis.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/s3.json b/tests/integration/expected/requests/python39/sync-metrics/s3.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/s3.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/sns.json b/tests/integration/expected/requests/python39/sync-metrics/sns.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/sns.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/sqs.json b/tests/integration/expected/requests/python39/sync-metrics/sqs.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/sqs.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/requests/python39/sync-metrics/websocket.json b/tests/integration/expected/requests/python39/sync-metrics/websocket.json deleted file mode 100644 index a6525d914..000000000 --- a/tests/integration/expected/requests/python39/sync-metrics/websocket.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://datadoghq.com/" - }, - { - "data": {}, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "python-requests/X", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "GET", - "url": "https://www.datadoghq.com/" - }, - { - "data": { - "series": [ - { - "device": null, - "host": null, - "interval": 10, - "metric": "hello.dog", - "points": [ - [ - "", - [ - 1.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "team:serverless" - ], - "type": "distribution" - }, - { - "device": null, - "host": null, - "interval": 10, - "metric": "tests.integration.count", - "points": [ - [ - "", - [ - 21.0 - ] - ] - ], - "tags": [ - "dd_lambda_layer:datadog-_", - "role:hello", - "service:integration-tests-python", - "test:integration" - ], - "type": "distribution" - } - ] - }, - "headers": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Encoding": "deflate", - "Content-Length": "", - "Content-Type": "application/json", - "DD-API-KEY": "", - "User-Agent": "datadogpy/X (python X; os linux; arch )", - "traceparent": "00---01", - "tracestate": "dd=p:;s:1;t.dm:-0;t.tid:", - "x-datadog-parent-id": "", - "x-datadog-sampling-priority": "1", - "x-datadog-tags": "_dd.p.dm=-0,_dd.p.tid=", - "x-datadog-trace-id": "" - }, - "method": "POST", - "url": "https://api.datadoghq.com/api/v1/distribution_points" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json deleted file mode 100644 index 8df0c4976..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/api-gateway-get.json +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/appsync.json b/tests/integration/expected/spans/python39/async-metrics/appsync.json deleted file mode 100644 index 7cc408074..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/appsync.json +++ /dev/null @@ -1,76 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/dynamodb.json b/tests/integration/expected/spans/python39/async-metrics/dynamodb.json deleted file mode 100644 index 9da2ed692..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/dynamodb.json +++ /dev/null @@ -1,144 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json deleted file mode 100644 index c3063bda7..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/eventbridge-custom.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/http-api.json b/tests/integration/expected/spans/python39/async-metrics/http-api.json deleted file mode 100644 index db5b7ac25..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/http-api.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/kinesis.json b/tests/integration/expected/spans/python39/async-metrics/kinesis.json deleted file mode 100644 index ba7edd1eb..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/kinesis.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/s3.json b/tests/integration/expected/spans/python39/async-metrics/s3.json deleted file mode 100644 index ab6b746b0..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/s3.json +++ /dev/null @@ -1,123 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/sns.json b/tests/integration/expected/spans/python39/async-metrics/sns.json deleted file mode 100644 index 16de9a831..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/sns.json +++ /dev/null @@ -1,110 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/sqs.json b/tests/integration/expected/spans/python39/async-metrics/sqs.json deleted file mode 100644 index fc5c4f8d9..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/sqs.json +++ /dev/null @@ -1,109 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/async-metrics/websocket.json b/tests/integration/expected/spans/python39/async-metrics/websocket.json deleted file mode 100644 index b4073f119..000000000 --- a/tests/integration/expected/spans/python39/async-metrics/websocket.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json deleted file mode 100644 index bea165742..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/api-gateway-get.json +++ /dev/null @@ -1,147 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "70ixmpl4fl", - "apiname": "70ixmpl4fl", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "endpoint": "/", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /", - "runtime-id": "", - "span.kind": "server", - "stage": "Prod" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway", - "parent": null, - "resource": "GET /", - "service": "70ixmpl4fl.execute-api.us-east-2.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "meta": { - "_dd.origin": "lambda", - "cold_start": "true", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/70ixmpl4fl/stages/Prod", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/", - "http.status_code": "200", - "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway GET / https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/Prod/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/appsync.json b/tests/integration/expected/spans/python39/sync-metrics/appsync.json deleted file mode 100644 index 18a6db545..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/appsync.json +++ /dev/null @@ -1,105 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_version": "$LATEST", - "functionname": "", - "language": "python", - "request_id": "", - "resource_names": "", - "runtime-id": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.lambda", - "parent": null, - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/dynamodb.json b/tests/integration/expected/spans/python39/sync-metrics/dynamodb.json deleted file mode 100644 index 610c3b5fb..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/dynamodb.json +++ /dev/null @@ -1,173 +0,0 @@ -[ - { - "error": 0, - "label": "aws.dynamodb ExampleTableWithStream", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_id": "c4ca4238a0b923820dcc509a6f75849b", - "event_name": "INSERT", - "event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "event_version": "1.1", - "language": "python", - "operation_name": "aws.dynamodb", - "peer.service": "integration-tests-python", - "resource_names": "ExampleTableWithStream", - "runtime-id": "", - "size_bytes": "26", - "span.kind": "server", - "stream_view_type": "NEW_AND_OLD_IMAGES", - "tablename": "ExampleTableWithStream" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.dynamodb", - "parent": null, - "resource": "ExampleTableWithStream", - "service": "ExampleTableWithStream", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - }, - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "e2af34d333891f765c7f02d2da80895e", - "ptr.kind": "aws.dynamodb.item" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "dynamodb", - "function_trigger.event_source_arn": "arn:aws:dynamodb:us-east-1:123456789012:table/ExampleTableWithStream/stream/2015-06-27T00:48:05.899", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.dynamodb ExampleTableWithStream", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json b/tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json deleted file mode 100644 index 6d1b12625..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/eventbridge-custom.json +++ /dev/null @@ -1,133 +0,0 @@ -[ - { - "error": 0, - "label": "aws.eventbridge eventbridge.custom.event.sender", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "detail_type": "testdetail", - "language": "python", - "operation_name": "aws.eventbridge", - "peer.service": "integration-tests-python", - "resource_names": "eventbridge.custom.event.sender", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.eventbridge", - "parent": null, - "resource": "eventbridge.custom.event.sender", - "service": "eventbridge.custom.event.sender", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "eventbridge", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.eventbridge eventbridge.custom.event.sender", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/http-api.json b/tests/integration/expected/spans/python39/sync-metrics/http-api.json deleted file mode 100644 index 711fe6bcb..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/http-api.json +++ /dev/null @@ -1,148 +0,0 @@ -[ - { - "error": 0, - "label": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "x02yirxc7a", - "apiname": "x02yirxc7a", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "endpoint": "/httpapi/get", - "http.method": "GET", - "http.protocol": "HTTP/1.1", - "http.route": "/httpapi/get", - "http.source_ip": "38.122.226.210", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", - "language": "python", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "GET /httpapi/get", - "runtime-id": "", - "stage": "$default" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.httpapi", - "parent": null, - "resource": "GET /httpapi/get", - "service": "x02yirxc7a.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/x02yirxc7a/stages/$default", - "function_version": "$LATEST", - "functionname": "", - "http.method": "GET", - "http.route": "/httpapi/get", - "http.status_code": "200", - "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.httpapi GET /httpapi/get https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/kinesis.json b/tests/integration/expected/spans/python39/sync-metrics/kinesis.json deleted file mode 100644 index 24eb6dc78..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/kinesis.json +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "error": 0, - "label": "aws.kinesis EXAMPLE", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:kinesis:EXAMPLE", - "event_id": "shardId-000000000000:49545115243490985018280067714973144582180062593244200961", - "event_name": "aws:kinesis:record", - "event_source_arn": "arn:aws:kinesis:EXAMPLE", - "event_version": "1.0", - "language": "python", - "operation_name": "aws.kinesis", - "partition_key": "partitionKey-03", - "peer.service": "integration-tests-python", - "resource_names": "EXAMPLE", - "runtime-id": "", - "shardid": "shardId-000000000000", - "span.kind": "server", - "streamname": "EXAMPLE" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.kinesis", - "parent": null, - "resource": "EXAMPLE", - "service": "EXAMPLE", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "kinesis", - "function_trigger.event_source_arn": "arn:aws:kinesis:EXAMPLE", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.kinesis EXAMPLE", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/s3.json b/tests/integration/expected/spans/python39/sync-metrics/s3.json deleted file mode 100644 index b94621902..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/s3.json +++ /dev/null @@ -1,152 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "s3", - "function_trigger.event_source_arn": "arn:aws:s3:::example-bucket", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.s3 example-bucket", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.s3 example-bucket", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "bucket_arn": "arn:aws:s3:::example-bucket", - "bucketname": "example-bucket", - "dd_resource_key": "arn:aws:s3:::example-bucket", - "event_name": "ObjectCreated:Put", - "language": "python", - "object_etag": "0123456789abcdef0123456789abcdef", - "object_key": "test/key", - "object_size": "1024", - "operation_name": "aws.s3", - "peer.service": "integration-tests-python", - "resource_names": "example-bucket", - "runtime-id": "", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.s3", - "parent": null, - "resource": "example-bucket", - "service": "example-bucket", - "span_links": [ - { - "attributes": { - "link.kind": "span-pointer", - "ptr.dir": "u", - "ptr.hash": "1dc3e5d00dae48c1f07d95371a747788", - "ptr.kind": "aws.s3.object" - }, - "span_id": "0000000000000000", - "trace_id": "00000000000000000000000000000000" - } - ], - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/sns.json b/tests/integration/expected/spans/python39/sync-metrics/sns.json deleted file mode 100644 index a67fb4ac5..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/sns.json +++ /dev/null @@ -1,139 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sns", - "function_trigger.event_source_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sns sns-lambda", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sns sns-lambda", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "language": "python", - "message_id": "95df01b4-ee98-5cb9-9903-4c221d41eb5e", - "operation_name": "aws.sns", - "peer.service": "integration-tests-python", - "resource_names": "sns-lambda", - "runtime-id": "", - "span.kind": "server", - "subject": "TestInvoke", - "topic_arn": "arn:aws:sns:us-east-2:123456789012:sns-lambda", - "topicname": "sns-lambda", - "type": "Notification" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sns", - "parent": null, - "resource": "sns-lambda", - "service": "sns-lambda", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/sqs.json b/tests/integration/expected/spans/python39/sync-metrics/sqs.json deleted file mode 100644 index 8aeb5c344..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/sqs.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - { - "error": 0, - "label": "aws.lambda ", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "sqs", - "function_trigger.event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "function_version": "$LATEST", - "functionname": "", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.sqs my-queue", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "aws.sqs my-queue", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "async", - "_inferred_span.tag_source": "self", - "dd_resource_key": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "event_source_arn": "arn:aws:sqs:us-east-2:123456789012:my-queue", - "language": "python", - "operation_name": "aws.sqs", - "peer.service": "integration-tests-python", - "queuename": "my-queue", - "receipt_handle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a...", - "resource_names": "my-queue", - "runtime-id": "", - "sender_id": "AIDAIENQZJOLO23YVJ4VO", - "span.kind": "server" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.sqs", - "parent": null, - "resource": "my-queue", - "service": "my-queue", - "type": "web" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda ", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/expected/spans/python39/sync-metrics/websocket.json b/tests/integration/expected/spans/python39/sync-metrics/websocket.json deleted file mode 100644 index 3fdef7d50..000000000 --- a/tests/integration/expected/spans/python39/sync-metrics/websocket.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "error": 0, - "label": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "_dd.peer.service.source": "peer.service", - "_inferred_span.synchronicity": "sync", - "_inferred_span.tag_source": "self", - "apiid": "p62c47itsb", - "apiname": "p62c47itsb", - "connection_id": "Fc5SzcoYGjQCJlg=", - "dd_resource_key": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "endpoint": "$default", - "event_type": "MESSAGE", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "language": "python", - "message_direction": "IN", - "operation_name": "aws.apigateway.websocket", - "peer.service": "integration-tests-python", - "request_id": "", - "resource_names": "$default", - "runtime-id": "", - "span.kind": "server", - "stage": "dev" - }, - "metrics": { - "_dd._inferred_span": 1.0, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "aws.apigateway.websocket", - "parent": null, - "resource": "$default", - "service": "p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "type": "web" - }, - { - "error": 0, - "label": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "meta": { - "_dd.origin": "lambda", - "cold_start": "false", - "datadog_lambda": "", - "dd_trace": "", - "function_arn": "arn:aws:lambda:eu-west-1::function:", - "function_trigger.event_source": "api-gateway", - "function_trigger.event_source_arn": "arn:aws:apigateway:eu-west-1::/restapis/p62c47itsb/stages/dev", - "function_version": "$LATEST", - "functionname": "", - "http.status_code": "200", - "http.url": "https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "request_id": "", - "resource_names": "", - "span.kind": "server", - "span.name": "aws.lambda" - }, - "metrics": { - "_dd.top_level": 1 - }, - "name": "aws.lambda", - "parent": "aws.apigateway.websocket $default https://p62c47itsb.execute-api.eu-west-1.amazonaws.com$default", - "resource": "", - "service": "integration-tests-python", - "type": "serverless" - }, - { - "error": 0, - "label": "requests.request GET / https://datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1 - }, - "name": "requests.request", - "parent": "aws.lambda https://p62c47itsb.execute-api.eu-west-1.amazonaws.com", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request GET / https://www.datadoghq.com/", - "meta": { - "_dd.origin": "lambda", - "_dd.p.tid": "", - "component": "requests", - "http.method": "GET", - "http.status_code": "200", - "http.url": "https://www.datadoghq.com/", - "http.useragent": "python-requests/X", - "out.host": "www.datadoghq.com", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1 - }, - "name": "requests.request", - "parent": "requests.request GET / https://datadoghq.com/", - "resource": "GET /", - "service": "requests", - "type": "http" - }, - { - "error": 0, - "label": "requests.request POST /api/v1/distribution_points https://api.datadoghq.com/api/v1/distribution_points", - "meta": { - "_dd.origin": "lambda", - "_dd.p.dm": "-0", - "_dd.p.tid": "", - "component": "requests", - "http.method": "POST", - "http.status_code": "202", - "http.url": "https://api.datadoghq.com/api/v1/distribution_points", - "http.useragent": "datadogpy/X (python X; os linux; arch )", - "language": "python", - "out.host": "api.datadoghq.com", - "runtime-id": "", - "span.kind": "client" - }, - "metrics": { - "_dd.measured": 1, - "_dd.top_level": 1, - "_sampling_priority_v1": 1, - "process_id": "" - }, - "name": "requests.request", - "parent": null, - "resource": "POST /api/v1/distribution_points", - "service": "requests", - "type": "http" - } -] diff --git a/tests/integration/harness/aws.py b/tests/integration/harness/aws.py index 2bf455737..27724d476 100644 --- a/tests/integration/harness/aws.py +++ b/tests/integration/harness/aws.py @@ -2,6 +2,7 @@ from __future__ import annotations +import functools import json import os import shutil @@ -25,7 +26,9 @@ _BOTO_CONFIG = Config(retries={"max_attempts": 10, "mode": "adaptive"}) +@functools.lru_cache(maxsize=None) def _client(service: str, region: str): + """One client per service and region; boto3 clients are thread-safe.""" return boto3.client(service, region_name=region, config=_BOTO_CONFIG) @@ -171,6 +174,7 @@ def deploy(s: settings_mod.Settings, mock_intake_api_key: str) -> None: "Architecture": s.lambda_arch, "LambdaRoleArn": settings_mod.LAMBDA_ROLE_ARN, "DdApiKey": s.dd_api_key, + "DdApiKeySecretArn": s.dd_api_key_secret_arn, "MockIntakeApiKey": mock_intake_api_key, "ExtensionLayerArn": extension_layer_arn(s) or "", } @@ -228,16 +232,9 @@ def delete(s: settings_mod.Settings) -> None: StackName=s.stack_name, WaiterConfig={"Delay": 10, "MaxAttempts": 90} ) # Remove the packaged artifacts sam uploaded for this stack. - s3 = _client("s3", s.region) - paginator = s3.get_paginator("list_objects_v2") - for page in paginator.paginate( - Bucket=settings_mod.DEPLOYMENT_BUCKET, Prefix=s.stack_name + "/" - ): - keys = [{"Key": o["Key"]} for o in page.get("Contents", [])] - if keys: - s3.delete_objects( - Bucket=settings_mod.DEPLOYMENT_BUCKET, Delete={"Objects": keys} - ) + boto3.resource("s3", region_name=s.region).Bucket( + settings_mod.DEPLOYMENT_BUCKET + ).objects.filter(Prefix=s.stack_name + "/").delete() # -------------------------------------------------------------------------- diff --git a/tests/integration/harness/logs.py b/tests/integration/harness/logs.py index f68196dec..89bf7bc7e 100644 --- a/tests/integration/harness/logs.py +++ b/tests/integration/harness/logs.py @@ -23,6 +23,19 @@ _END_RE = re.compile(r"^END RequestId: (?P[0-9a-fA-F-]+)") _REPORT_RE = re.compile(r"^REPORT RequestId: (?P[0-9a-fA-F-]+)") _REPORT_FIELD_RE = re.compile(r"(?P[A-Za-z ]+): (?P[0-9.]+) (?:ms|MB)") +# Lines written by the Lambda platform, not by the library or the function. +_PLATFORM_LINE_RES = [ + re.compile(p) + for p in ( + r"^INIT_START ", + r"^INIT_REPORT ", + r"^EXTENSION\s", + r"^TELEMETRY\s", + r"init complete at epoch", # preview runtimes + r"main started at epoch", # preview runtimes + r"\[tls-profile\]", # preview runtimes + ) +] _HTTP_RE = re.compile( r"^HTTP (?P[A-Z]+) (?P\S+) Headers: (?P\[.*?\]) Data: (?P.*)$" ) @@ -146,13 +159,13 @@ def spans_named(self, name: str) -> List[Span]: def metrics_named(self, name: str) -> List[Metric]: return [m for m in self.metrics if m.name == name] - def error_lines(self) -> List[str]: - """Lines that look like unexpected errors or tracebacks.""" - markers = ("Traceback (most recent call last)", "[ERROR]") + def unexpected_lines(self) -> List[str]: + """Everything the parser did not recognize, minus Lambda platform lines: + warnings, prints, tracebacks, and any other unexpected output.""" return [ line - for line in self.init_lines + self.lines - if any(m in line for m in markers) + for line in self.other_lines + if not any(r.search(line) for r in _PLATFORM_LINE_RES) ] diff --git a/tests/integration/harness/settings.py b/tests/integration/harness/settings.py index 0cb99a8e7..b2cd416ca 100644 --- a/tests/integration/harness/settings.py +++ b/tests/integration/harness/settings.py @@ -6,11 +6,22 @@ import secrets from dataclasses import dataclass, field from pathlib import Path -from typing import Optional +from typing import List, Optional INTEGRATION_DIR = Path(__file__).resolve().parent.parent REPO_DIR = INTEGRATION_DIR.parent.parent +INPUT_EVENTS_DIR = INTEGRATION_DIR / "input_events" +# Sorted, so the first invocation of each function (the cold start) is always +# the same event. +EVENT_NAMES: List[str] = sorted(p.stem for p in INPUT_EVENTS_DIR.glob("*.json")) +# Baseline function key -> name of the stack output holding its function name. +# Keys match the function directories under expected/. +BASELINE_FUNCTIONS = { + "async-metrics": "AsyncMetricsFunctionName", + "sync-metrics": "SyncMetricsFunctionName", +} + # Names must start with "integration-tests" for the sandbox IAM policies, and # every function must use this role. SERVICE = "integration-tests-python" @@ -21,7 +32,7 @@ DEFAULT_REGION = "eu-west-1" DATADOG_EXTENSION_ACCOUNT = "464622532012" # Datadog Extension layer version used when DD_EXTENSION_LAYER_VERSION is unset. -# Keep in line with the pinned version in ci/input_files/build.yaml.tpl. +# The one place the pin lives: CI, the run script, and the docs all defer to it. DEFAULT_EXTENSION_LAYER_VERSION = "105" @@ -40,6 +51,9 @@ class Settings: run_id: str # repr=False: pytest prints fixture values in failure tracebacks. dd_api_key: str = field(repr=False) + # Secrets Manager ARN the deployed functions read the key from, instead of + # dd_api_key. Empty when the plaintext key is used. + dd_api_key_secret_arn: str # A layer version number, or "none" to # deploy without the extension function. extension_layer_version: str @@ -101,12 +115,19 @@ def load() -> Settings: if arch not in ("amd64", "arm64"): raise RuntimeError("ARCH must be amd64 or arm64, got %r" % arch) existing_stack = os.environ.get("INTEGRATION_STACK_NAME") or None + dd_api_key = os.environ.get("DD_API_KEY", "") + dd_api_key_secret_arn = os.environ.get("DD_API_KEY_SECRET_ARN", "") + if not dd_api_key and not dd_api_key_secret_arn: + raise RuntimeError( + "DD_API_KEY or DD_API_KEY_SECRET_ARN must be set to run the integration tests" + ) return Settings( python_version=_required("PYTHON_VERSION"), arch=arch, region=os.environ.get("INTEGRATION_REGION") or DEFAULT_REGION, run_id=os.environ.get("INTEGRATION_RUN_ID") or secrets.token_hex(4), - dd_api_key=_required("DD_API_KEY"), + dd_api_key=dd_api_key, + dd_api_key_secret_arn=dd_api_key_secret_arn, extension_layer_version=extension_layer_version, existing_stack=existing_stack, keep_stack=bool(existing_stack) or os.environ.get("KEEP_STACK") == "true", diff --git a/tests/integration/harness/snapshots.py b/tests/integration/harness/snapshots.py index aa7d9951a..186caa0b5 100644 --- a/tests/integration/harness/snapshots.py +++ b/tests/integration/harness/snapshots.py @@ -1,15 +1,21 @@ -"""Structured snapshots of spans, outgoing requests, metrics, and other log lines. +"""Structured snapshots of spans, outgoing requests, and metrics. Each invocation's output is normalized (only values that legitimately change between runs are replaced with placeholders), then compared with a checked-in JSON file. Unlike the old line-sorted text snapshots, span parent links are kept (as labels), and every tag and header is compared. -Layout: expected////.json, where variant is -the most specific of "-", "", "default" that -exists. `UPDATE_EXPECTED=true` writes "-" files for the -current run; `python -m harness.snapshots dedupe` (from tests/integration) -folds them into "default" plus overrides only where output really differs. +Layout (see LEVELS): + spans: expected/spans///.json + requests: expected/requests///.json for events + that differ from the function's default, and + expected/requests//.json for the function default + metrics: expected/metrics//.json +where variant is the most specific of "-", "", +"default" that exists. Event files win over function files. `UPDATE_EXPECTED=true` +writes "-" files for the current run; +`python -m harness.snapshots dedupe` (from tests/integration) folds them into +the fewest files that resolve every case to the same content. Pure Python, no AWS dependencies; unit tested in tests/test_integration_harness.py. """ @@ -26,8 +32,19 @@ from pathlib import Path from typing import Any, Dict, Iterable, List, Optional, Tuple +from . import settings + EXPECTED_DIR = Path(__file__).resolve().parent.parent / "expected" -CATEGORIES = ("spans", "requests", "metrics", "logs") +# Which file levels a category uses: +# "event" //.json, one per event +# "function" /.json, shared by every event +# Event files win over function files, and a runtime's file wins over "default". +LEVELS = { + "spans": ("event",), + "requests": ("event", "function"), + "metrics": ("function",), +} +CATEGORIES = tuple(LEVELS) ARCHES = ("amd64", "arm64") _MIN_LITERAL_LEN = 8 @@ -190,6 +207,10 @@ def _metric_tag(tag: str) -> str: return "datadog_lambda:" if key == "dd_lambda_layer": return "dd_lambda_layer:" + _VERSION_RE.sub("", value) + # Warm or cold depends on the invocation's order, not on the code; the + # baseline tests assert the actual value against the Lambda's init phase. + if key == "cold_start": + return "cold_start:" return tag @@ -243,50 +264,63 @@ def normalize_metrics(metrics: Iterable[Any], ctx: Context) -> List[Dict]: # -------------------------------------------------------------------------- -# Other log lines +# Files # -------------------------------------------------------------------------- -# Lines written by the Lambda platform, not by the library or the function. -_PLATFORM_LINE_RES = [ - re.compile(p) - for p in ( - r"^INIT_START ", - r"^INIT_REPORT ", - r"^EXTENSION\s", - r"^TELEMETRY\s", - r"init complete at epoch", # preview runtimes - r"main started at epoch", # preview runtimes - r"\[tls-profile\]", # preview runtimes - ) -] -_ISO_TS_RE = re.compile(r"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z?") -_HEX_ADDR_RE = re.compile(r"\b0x[0-9a-f]{6,}\b") - -def normalize_log_lines(lines: Iterable[str], ctx: Context) -> List[str]: - """Lines the parser did not recognize (warnings, prints, unparseable output), - minus platform lines, with timestamps and memory addresses replaced.""" - out = [] - for line in lines: - if any(r.search(line) for r in _PLATFORM_LINE_RES): - continue - line = _HEX_ADDR_RE.sub("", _ISO_TS_RE.sub("", line)) - out.append(_sub_literals(line.rstrip(), ctx)) - return sorted(out) +# Runtimes whose snapshots are identical to another runtime's. They keep no files +# of their own and fall back to the parent's. dedupe checks the equality and fails +# if it stops holding, so a divergence is never silently dropped. +SHARED_RUNTIMES = {"python39": "python38"} -# -------------------------------------------------------------------------- -# Files -# -------------------------------------------------------------------------- +def variants(runtime_key: str, arch: str) -> List[str]: + """Lookup order, most specific first: the runtime, then any runtime it shares + files with, then "default".""" + order: List[str] = [] + rk: Optional[str] = runtime_key + while rk is not None: + order += ["%s-%s" % (rk, arch), rk] + rk = SHARED_RUNTIMES.get(rk) + return order + ["default"] + + +def _path( + root: Path, category: str, variant: str, function: str, event: Optional[str] +) -> Path: + """//.json, or /.json when the + category is stored per function (event is None).""" + if event is None: + return root / category / variant / (function + ".json") + return root / category / variant / function / (event + ".json") -def variants(runtime_key: str, arch: str) -> List[str]: - """Lookup order, most specific first.""" - return ["%s-%s" % (runtime_key, arch), runtime_key, "default"] +# What dedupe folds: every baseline function and every input event. +FUNCTIONS = tuple(settings.BASELINE_FUNCTIONS) +EVENTS = tuple(settings.EVENT_NAMES) -def _path(root: Path, category: str, variant: str, function: str, event: str) -> Path: - return root / category / variant / function / (event + ".json") +def _candidates( + category: str, + runtime_key: str, + arch: str, + function: str, + event: Optional[str], + root: Path, +) -> List[Path]: + """Every file that may hold this case's snapshot, most specific first.""" + paths: List[Path] = [] + if "event" in LEVELS[category] and event is not None: + paths += [ + _path(root, category, v, function, event) + for v in variants(runtime_key, arch) + ] + if "function" in LEVELS[category]: + paths += [ + _path(root, category, v, function, None) + for v in variants(runtime_key, arch) + ] + return paths def resolve( @@ -294,11 +328,10 @@ def resolve( runtime_key: str, arch: str, function: str, - event: str, + event: Optional[str], root: Path = EXPECTED_DIR, ) -> Optional[Path]: - for variant in variants(runtime_key, arch): - path = _path(root, category, variant, function, event) + for path in _candidates(category, runtime_key, arch, function, event, root): if path.exists(): return path return None @@ -313,7 +346,7 @@ def write_current( runtime_key: str, arch: str, function: str, - event: str, + event: Optional[str], value: Any, root: Path = EXPECTED_DIR, ) -> Path: @@ -335,54 +368,137 @@ def diff(expected_text: str, actual: Any, expected_name: str) -> str: ) -def dedupe(runtime_keys: List[str], root: Path = EXPECTED_DIR) -> None: - """Fold per-run files into 'default' plus overrides that really differ. +def _mode(values): + return Counter(values).most_common(1)[0][0] + - For every runtime/arch combination, the effective snapshot is whatever - resolve() finds today (fresh "-" files win). The most - common one becomes "default"; a runtime gets a "" file when - both arches agree on something else, or "-" files when - the arches differ. +def _plan( + category: str, + effective: Dict[Tuple[str, Optional[str]], Dict[Tuple[str, str], str]], + runtime_keys: List[str], +) -> Dict[Tuple[str, str, Optional[str]], str]: + """Files to write for one category, as {(variant, function, event): content}. + + effective maps (function, event) to {(runtime_key, arch): content}, where + event is None for function-level categories. Every case must resolve to its + content afterwards, so each file written is checked against the order in + _candidates: a file is only written where the fallback would be wrong. + """ + levels = LEVELS[category] + plan: Dict[Tuple[str, str, Optional[str]], str] = {} + + def variant_for(rk: str, arch: str, arches: List[str]) -> str: + return rk if len(arches) == len(ARCHES) else "%s-%s" % (rk, arch) + + for fn in sorted({f for f, _ in effective}): + events = sorted({e for f, e in effective if f == fn}, key=lambda e: e or "") + func_value: Dict[Tuple[str, str], str] = {} + default = None + if "function" in levels: + combos = {c for ev in events for c in effective[(fn, ev)]} + for c in combos: + func_value[c] = _mode( + [effective[(fn, ev)][c] for ev in events if c in effective[(fn, ev)]] + ) + default = _mode(func_value.values()) + plan[("default", fn, None)] = default + for rk in runtime_keys: + present = [(rk, a) for a in ARCHES if (rk, a) in func_value] + values = {func_value[c] for c in present} + if not present or values == {default}: + continue + if len(present) == len(ARCHES) and len(values) == 1: + plan[(rk, fn, None)] = values.pop() + continue + for rk_, a in present: + if func_value[(rk_, a)] != default: + plan[("%s-%s" % (rk_, a), fn, None)] = func_value[(rk_, a)] + + if "event" in levels: + for ev in events: + per = effective[(fn, ev)] + if not per: + continue + mode = _mode(per.values()) + if "function" in levels: + # Only needed when this event disagrees with the function default. + x_ev = mode if mode != default else None + else: + x_ev = mode + if x_ev is not None: + plan[("default", fn, ev)] = x_ev + fallback = { + c: (x_ev if x_ev is not None else func_value[c]) for c in per + } + wrong = {c: v for c, v in per.items() if v != fallback[c]} + for rk in runtime_keys: + bad = [(rk, a) for a in ARCHES if (rk, a) in wrong] + if not bad: + continue + present = [(rk, a) for a in ARCHES if (rk, a) in per] + contents = {wrong[c] for c in bad} + if len(contents) == 1 and len(bad) == len(present): + plan[(rk, fn, ev)] = contents.pop() + else: + for rk_, a in bad: + plan[("%s-%s" % (rk_, a), fn, ev)] = wrong[(rk_, a)] + return plan + + +def dedupe( + runtime_keys: List[str], + root: Path = EXPECTED_DIR, + functions: Iterable[str] = FUNCTIONS, + events: Iterable[str] = EVENTS, +) -> None: + """Fold per-run files into 'default' plus the fewest overrides that keep every + case resolving to what it does today. + + Function-level categories get one "default" file per function, with a + runtime file where a runtime differs. Event-level categories get a default + per event, with runtime files where a runtime differs. Categories with both + levels (requests) add a function default and only the event files that + disagree with it. Fresh "-" files from UPDATE_EXPECTED + take part like any other file. """ + functions = list(functions) + events = list(events) + # Shared runtimes are planned through their parent, so only the parents are + # planned. A shared runtime must resolve to its parent's content everywhere. + planned = [rk for rk in runtime_keys if rk not in SHARED_RUNTIMES] for category in CATEGORIES: cat_dir = root / category if not cat_dir.exists(): continue - cases = sorted({(p.parent.name, p.stem) for p in cat_dir.glob("*/*/*.json")}) - plans = {} - for function, event in cases: - effective = {} - for rk in runtime_keys: - for arch in ARCHES: - path = resolve(category, rk, arch, function, event, root) - if path: - effective[(rk, arch)] = path.read_text() - if not effective: - continue - default = Counter(effective.values()).most_common(1)[0][0] - files = {"default": default} - for rk in runtime_keys: - per_arch = { - a: effective[(rk, a)] for a in ARCHES if (rk, a) in effective - } - if not per_arch: - continue - if len(set(per_arch.values())) == 1: - content = next(iter(per_arch.values())) - if content != default: - files[rk] = content - else: - for arch, content in per_arch.items(): - if content != default: - files["%s-%s" % (rk, arch)] = content - plans[(function, event)] = files - + event_list = events if "event" in LEVELS[category] else [None] + effective: Dict[Tuple[str, Optional[str]], Dict[Tuple[str, str], str]] = {} + for fn in functions: + for ev in event_list: + for child, parent in SHARED_RUNTIMES.items(): + if child not in runtime_keys: + continue + for arch in ARCHES: + c = resolve(category, child, arch, fn, ev, root) + p = resolve(category, parent, arch, fn, ev, root) + if (c.read_text() if c else None) != (p.read_text() if p else None): + raise ValueError( + "%s %s/%s/%s differs from %s; remove %s from SHARED_RUNTIMES" + % (category, child, fn, ev, parent, child) + ) + per = {} + for rk in planned: + for arch in ARCHES: + path = resolve(category, rk, arch, fn, ev, root) + if path: + per[(rk, arch)] = path.read_text() + if per: + effective[(fn, ev)] = per + plan = _plan(category, effective, planned) shutil.rmtree(cat_dir) - for (function, event), files in plans.items(): - for variant, content in files.items(): - path = _path(root, category, variant, function, event) - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(content) + for (variant, fn, ev), content in plan.items(): + path = _path(root, category, variant, fn, ev) + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(content) def _supported_runtime_keys() -> List[str]: diff --git a/tests/integration/template.yaml b/tests/integration/template.yaml index 17b6af7a4..a735fde0e 100644 --- a/tests/integration/template.yaml +++ b/tests/integration/template.yaml @@ -22,6 +22,10 @@ Parameters: DdApiKey: Type: String NoEcho: true + Default: "" + DdApiKeySecretArn: + Type: String + Default: "" MockIntakeApiKey: Type: String NoEcho: true @@ -77,6 +81,7 @@ Resources: DD_COLD_START_TRACING: "false" DD_SERVICE: integration-tests-python DD_API_KEY: !Ref DdApiKey + DD_API_KEY_SECRET_ARN: !Ref DdApiKeySecretArn DD_FLUSH_TO_LOG: "true" AsyncMetricsLogGroup: @@ -101,6 +106,7 @@ Resources: DD_COLD_START_TRACING: "false" DD_SERVICE: integration-tests-python DD_API_KEY: !Ref DdApiKey + DD_API_KEY_SECRET_ARN: !Ref DdApiKeySecretArn SyncMetricsLogGroup: Type: AWS::Logs::LogGroup diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index cf511433a..3f7c0c9c3 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -10,10 +10,8 @@ import pytest -from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES, load_event +from .harness.settings import EVENT_NAMES -CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] -CASE_IDS = ["%s-%s" % c for c in CASES] # The handler calls https://datadoghq.com, which redirects to www. FIRST_URL = "https://datadoghq.com/" REDIRECT_URL = "https://www.datadoghq.com/" @@ -21,12 +19,6 @@ METRICS_FLUSH_PATH = "/api/v1/distribution_points" -@pytest.fixture(params=CASES, ids=CASE_IDS) -def case(request, baseline_invocations): - fn, event_name = request.param - return fn, event_name, baseline_invocations[(fn, event_name)] - - def _function_span(inv): spans = inv.logs.spans_named("aws.lambda") assert len(spans) == 1, "expected one aws.lambda span, got %r" % inv.logs.spans @@ -50,39 +42,74 @@ def _describe_span_id(inv, span_id): return "no span in this invocation" +# What the handler returns for each input event: the API Gateway request ID, and +# the SQS / SNS message IDs, as they appear in input_events/.json. Written +# out rather than read back from the events, so a handler that mis-parses an +# event cannot also compute the expectation. +EXPECTED_RETURN_IDS = { + "api-gateway-get": ("77375676-xmpl-4b79-853a-f982474efe18", []), + "appsync": (None, []), + "dynamodb": (None, []), + "eventbridge-custom": (None, []), + "http-api": ("FaHnXjKCGjQEJ7A=", []), + "kinesis": (None, []), + "s3": (None, []), + "sns": (None, ["95df01b4-ee98-5cb9-9903-4c221d41eb5e"]), + "sqs": ( + None, + ["059f36b4-87a3-44ab-83d2-661975830a7d", "2e1424d4-f796-459a-8184-9c92662be6da"], + ), + "websocket": ("Fc5S3EvdGjQFtsQ=", []), +} + + +def test_expected_return_ids_cover_every_event(): + assert sorted(EXPECTED_RETURN_IDS) == EVENT_NAMES + + def test_return_value(case): _, event_name, inv = case - event = load_event(event_name) - record_ids = [] - for record in event.get("Records", []): - if record.get("messageId"): - record_ids.append(record["messageId"]) - if record.get("Sns", {}).get("MessageId"): - record_ids.append(record["Sns"]["MessageId"]) + request_id, record_ids = EXPECTED_RETURN_IDS[event_name] assert inv.function_error is None, inv.response assert inv.response == { "statusCode": 200, "body": { "message": "hello, dog!", - "request_id": event.get("requestContext", {}).get("requestId"), + "request_id": request_id, "event_record_ids": record_ids, }, } -def test_no_errors_logged(case): +def test_no_unexpected_log_lines(case): + """Nothing unexpected in the logs: no warnings, prints, or tracebacks, beyond + the Lambda platform lines the harness already ignores. Expected output that + a change legitimately adds goes on an allow-list here, not in a snapshot file.""" _, _, inv = case - assert inv.logs.error_lines() == [] + assert inv.logs.unexpected_lines() == [] def test_init_duration_only_on_cold_start(case): - # The cold_start tag itself is in the snapshots; this ties it to what the - # Lambda runtime reports. + # The cold_start tags are normalized out of the metrics snapshot, so they are + # checked here against what the Lambda runtime reports. _, event_name, inv = case cold = event_name == EVENT_NAMES[0] assert (inv.logs.report.init_duration_ms is not None) == cold assert _function_span(inv).meta.get("cold_start") == str(cold).lower() + (enhanced,) = inv.logs.metrics_named("aws.lambda.enhanced.invocations") + assert enhanced.tag("cold_start") == str(cold).lower() + + +def test_dynamodb_stream_metric_only_for_dynamodb_event(case): + # Only the DynamoDB event emits this metric; it is left out of the + # per-function metrics snapshot. + _, event_name, inv = case + found = inv.logs.metrics_named("datadog.serverless.dynamodb.stream.type") + if event_name == "dynamodb": + assert [m.tag("streamtype") for m in found] == ["NEW_AND_OLD_IMAGES"] + else: + assert found == [] def test_single_trace(case): diff --git a/tests/integration/test_snapshots.py b/tests/integration/test_snapshots.py index 20b3815cf..61eeb9578 100644 --- a/tests/integration/test_snapshots.py +++ b/tests/integration/test_snapshots.py @@ -1,6 +1,6 @@ -"""Structured snapshots of every span field, outgoing request header, metric -field, and any other log line for the baseline invocations (see -harness/snapshots.py). +"""Structured snapshots of every span field, outgoing request header, and metric +field for the baseline invocations (see harness/snapshots.py). Unexpected log +output is asserted in test_baseline.py instead. To create or update the expected files, see "Snapshots" in CONTRIBUTING.md. """ @@ -11,20 +11,21 @@ import pytest -from .conftest import BASELINE_FUNCTIONS, EVENT_NAMES from .harness import settings as settings_mod from .harness import snapshots UPDATE = os.environ.get("UPDATE_EXPECTED") == "true" ACCOUNT_ID = settings_mod.LAMBDA_ROLE_ARN.split(":")[4] -CASES = [(fn, ev) for fn in BASELINE_FUNCTIONS for ev in EVENT_NAMES] +# Metrics that only some events emit. They are asserted in test_baseline.py and +# left out of the per-function metrics snapshot. +EVENT_SPECIFIC_METRICS = {"datadog.serverless.dynamodb.stream.type"} -@pytest.fixture(params=CASES, ids=["%s-%s" % c for c in CASES]) -def case(request, baseline_invocations, run_settings): - fn, event_name = request.param - inv = baseline_invocations[(fn, event_name)] +@pytest.fixture +def snapshot_case(case, run_settings): + """The shared case, plus the run-specific values the normalizers replace.""" + fn, event_name, inv = case ctx = snapshots.Context( function_name=inv.function_name, request_id=inv.request_id, @@ -36,7 +37,9 @@ def case(request, baseline_invocations, run_settings): def _check(category, actual, fn, event_name, run_settings): + """event_name is None for function-level categories (metrics).""" rk, arch = run_settings.runtime_key, run_settings.arch + label = fn if event_name is None else "%s/%s" % (fn, event_name) if UPDATE: path = snapshots.write_current(category, rk, arch, fn, event_name, actual) print("wrote %s" % path) @@ -44,8 +47,8 @@ def _check(category, actual, fn, event_name, run_settings): path = snapshots.resolve(category, rk, arch, fn, event_name) if path is None: pytest.fail( - "No %s snapshot for %s/%s on %s-%s. Generate one with UPDATE_EXPECTED=true " - "(see CONTRIBUTING.md)." % (category, fn, event_name, rk, arch) + "No %s snapshot for %s on %s-%s. Generate one with UPDATE_EXPECTED=true " + "(see CONTRIBUTING.md)." % (category, label, rk, arch) ) expected = path.read_text() if expected != snapshots.dumps(actual): @@ -57,26 +60,25 @@ def _check(category, actual, fn, event_name, run_settings): ) -def test_span_snapshot(case, run_settings): - fn, event_name, inv, ctx = case +def test_span_snapshot(snapshot_case, run_settings): + fn, event_name, inv, ctx = snapshot_case raw = [s.raw for s in inv.logs.spans] _check("spans", snapshots.normalize_spans(raw, ctx), fn, event_name, run_settings) -def test_request_snapshot(case, run_settings): - fn, event_name, inv, ctx = case +def test_request_snapshot(snapshot_case, run_settings): + fn, event_name, inv, ctx = snapshot_case actual = snapshots.normalize_requests(inv.logs.http_requests, ctx) _check("requests", actual, fn, event_name, run_settings) -def test_metric_snapshot(case, run_settings): - fn, event_name, inv, ctx = case - actual = snapshots.normalize_metrics(inv.logs.metrics, ctx) - _check("metrics", actual, fn, event_name, run_settings) - - -def test_log_snapshot(case, run_settings): - """Warnings, prints, and anything else unexpected in the logs.""" - fn, event_name, inv, ctx = case - actual = snapshots.normalize_log_lines(inv.logs.other_lines, ctx) - _check("logs", actual, fn, event_name, run_settings) +def test_metric_snapshot(snapshot_case, run_settings): + """One snapshot per function: every event must produce the same metrics, + apart from the event-specific ones.""" + fn, _, inv, ctx = snapshot_case + actual = [ + m + for m in snapshots.normalize_metrics(inv.logs.metrics, ctx) + if m["m"] not in EVENT_SPECIFIC_METRICS + ] + _check("metrics", actual, fn, None, run_settings) \ No newline at end of file diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 386c7f411..5788876ee 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -6,8 +6,10 @@ import re from pathlib import Path +import pytest + from tests.integration.harness.intake import MARKER, decompress, parse_requests -from tests.integration.harness.logs import parse_id, parse_report, split_invocations +from tests.integration.harness.logs import parse_report, split_invocations SNAPSHOTS = Path(__file__).parent / "integration" / "snapshots" / "logs" @@ -67,25 +69,24 @@ def test_split_invocations_groups_by_request_id(): assert first.http_requests[0].headers["traceparent"].startswith("00-") assert first.http_requests[0].data == {} assert first.report.init_duration_ms == 456.78 - assert first.error_lines() == [] + # Only the INIT_START platform line is dropped; the function's own init output stays. + assert first.unexpected_lines() == ["init message"] second = invs[RID_2] assert not second.complete # no REPORT yet assert second.init_lines == [] - assert len(second.error_lines()) == 1 - - -def test_parse_report_without_init_duration(): - report = parse_report( + assert second.unexpected_lines() == [ + "[ERROR]\t2024-01-01T00:00:00Z\t%s\tsomething broke" % RID_2 + ] + # A REPORT without "Init Duration" (a warm invocation) has no init duration. + warm = parse_report( "REPORT RequestId: %s\tDuration: 1.00 ms\tBilled Duration: 2 ms\t" % RID_1 ) - assert report.duration_ms == 1.0 - assert report.init_duration_ms is None + assert warm.duration_ms == 1.0 and warm.init_duration_ms is None + + -def test_parse_id(): - assert parse_id("00000000000000FF") == 255 - assert parse_id(7) == 7 def _snapshot_as_cloudwatch_lines(path): @@ -159,14 +160,15 @@ def test_parse_intake_requests_reassembles_chunks(): assert requests[0].normalized_path == "/api/v0.2/traces" assert requests[0].body == b"payload-with-function-name" - -def test_decompress_identity_and_deflate(): + # Identity and raw/zlib deflate bodies, for the other Content-Encodings. import zlib assert decompress(b"x", "") == b"x" assert decompress(zlib.compress(b"x"), "deflate") == b"x" + + def test_requirements_markers_resolved_for_target_runtime(): from tests.integration.harness.requirements import resolve @@ -187,6 +189,7 @@ def test_settings_repr_hides_api_key(): region="eu-west-1", run_id="abcd", dd_api_key="super-secret-key", + dd_api_key_secret_arn="", extension_layer_version="105", existing_stack=None, keep_stack=False, @@ -347,59 +350,9 @@ def test_normalize_requests_checks_header_formats(): assert out["https://x/"]["headers"]["traceparent"] == "garbage" -def test_snapshot_resolve_and_dedupe(tmp_path): - from tests.integration.harness import snapshots as snap - keys = ["python38", "python313", "python314"] - common, old, zstd_amd = '{"a": 1}\n', '{"a": 0}\n', '{"a": 2}\n' - for rk in keys: - for arch in snap.ARCHES: - content = common - if rk == "python38": - content = old - if rk == "python314" and arch == "amd64": - content = zstd_amd - path = snap.write_current("spans", rk, arch, "fn", "ev", {}, root=tmp_path) - path.write_text(content) - - snap.dedupe(keys, root=tmp_path) - files = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) - assert files == [ - "spans/default/fn/ev.json", - "spans/python314-amd64/fn/ev.json", - "spans/python38/fn/ev.json", - ] - read = lambda rk, arch: snap.resolve( - "spans", rk, arch, "fn", "ev", tmp_path - ).read_text() - assert read("python313", "arm64") == common - assert read("python38", "amd64") == old - assert read("python314", "amd64") == zstd_amd - assert read("python314", "arm64") == common - - # A later update for one runtime only keeps everything else as it was. - path = snap.write_current( - "spans", "python313", "amd64", "fn", "ev", {}, root=tmp_path - ) - path.write_text(common) - snap.dedupe(keys, root=tmp_path) - assert read("python38", "arm64") == old and read("python314", "amd64") == zstd_amd -def test_parser_keeps_unrecognized_and_trailing_lines(): - stream = _stream() + [ - "REPORT RequestId: %s\tDuration: 1.00 ms\t" % RID_2, - "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tshutting down" % RID_2, - ] - invs = split_invocations(stream) - # INIT output is attributed to the first invocation. - assert "init message" in invs[RID_1].other_lines - assert any("something broke" in line for line in invs[RID_2].other_lines) - # Output after the stream's last REPORT goes to the last invocation. - assert any("shutting down" in line for line in invs[RID_2].other_lines) - # Recognized lines are not repeated as "other". - assert not any(line.startswith(("{", "HTTP ")) for line in invs[RID_1].other_lines) - def test_span_snapshot_keeps_unmodeled_fields_and_span_pointers(): from tests.integration.harness.snapshots import normalize_spans @@ -423,6 +376,7 @@ def test_span_snapshot_keeps_unmodeled_fields_and_span_pointers(): def test_metric_snapshot_keeps_unmodeled_fields(): + from tests.integration.harness.logs import Metric from tests.integration.harness.snapshots import normalize_metrics line = json.dumps( @@ -443,16 +397,146 @@ def test_metric_snapshot_keeps_unmodeled_fields(): "type": "distribution", } + # cold_start is normalized: warm and cold invocations give the same snapshot. + warm = Metric("aws.lambda.enhanced.invocations", 1, ["cold_start:false"]) + cold = Metric("aws.lambda.enhanced.invocations", 1, ["cold_start:true"]) + assert normalize_metrics([warm], _ctx()) == normalize_metrics([cold], _ctx()) -def test_normalize_log_lines(): - from tests.integration.harness.snapshots import normalize_log_lines - lines = [ + + + + + + + + +def test_shared_runtime_folds_into_parent_and_refuses_divergence(tmp_path, monkeypatch): + from tests.integration.harness import snapshots as snap + + monkeypatch.setitem(snap.SHARED_RUNTIMES, "python39", "python38") + assert snap.variants("python39", "amd64") == [ + "python39-amd64", + "python39", + "python38-amd64", + "python38", + "default", + ] + assert snap.variants("python310", "amd64") == ["python310-amd64", "python310", "default"] + keys = ["python310", "python38", "python39"] + same = "same\n" + for arch in snap.ARCHES: + for rk, value in (("python310", same), ("python38", "old\n"), ("python39", "old\n")): + snap.write_current("spans", rk, arch, "fn", "ev", {}, root=tmp_path).write_text(value) + + snap.dedupe(keys, root=tmp_path, functions=["fn"], events=["ev"]) + files = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) + assert not any("python39" in f for f in files), files + assert snap.resolve("spans", "python39", "amd64", "fn", "ev", tmp_path).read_text() == "old\n" + + # python39 diverges from python38: dedupe must refuse rather than drop its file. + snap.write_current("spans", "python39", "amd64", "fn", "ev", {}, root=tmp_path).write_text("new\n") + before = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) + with pytest.raises(ValueError, match="remove python39 from SHARED_RUNTIMES"): + snap.dedupe(keys, root=tmp_path, functions=["fn"], events=["ev"]) + assert sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) == before + + +def test_split_attributes_init_and_trailing_output(): + from tests.integration.harness.logs import InvocationLogs + + stream = _stream() + [ + "REPORT RequestId: %s\tDuration: 1.00 ms\t" % RID_2, + "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tshutting down" % RID_2, + ] + invs = split_invocations(stream) + # INIT output is attributed to the first invocation. + assert "init message" in invs[RID_1].other_lines + assert any("something broke" in line for line in invs[RID_2].other_lines) + # Output after the stream's last REPORT goes to the last invocation. + assert any("shutting down" in line for line in invs[RID_2].other_lines) + # Recognized lines are not repeated as "other". + assert not any(line.startswith(("{", "HTTP ")) for line in invs[RID_1].other_lines) + + # Platform lines are dropped from the unexpected output; anything else is kept. + inv = InvocationLogs(RID_1) + inv.other_lines = [ "INIT_START Runtime Version: python:3.13.v20", "EXTENSION\tName: datadog-agent\tState: Ready", - "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tobject at 0xdeadbeef1234 leaked" - % RID_1, - ] - assert normalize_log_lines(lines, _ctx()) == [ - "[WARNING]\t\t\tobject at leaked" + "TELEMETRY\tSubscription: ok", + "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tobject at 0xdeadbeef1234 leaked" % RID_1, ] + assert inv.unexpected_lines() == [inv.other_lines[-1]] + + +def _dedupe_value(rk, arch, ev): + """A scenario with every kind of override: python38 differs everywhere, python314 + differs on amd64 only, and event "b" differs everywhere. Function-level + categories pass ev=None.""" + if ev == "b": + return "exception\n" + if rk == "python38": + return "old\n" + if (rk, arch) == ("python314", "amd64"): + return "zstd\n" + return "common\n" + + +@pytest.mark.parametrize( + "category, expected_files", + [ + ( + "spans", + [ + "spans/default/fn/a.json", + "spans/default/fn/b.json", + "spans/default/fn/c.json", + "spans/python38/fn/a.json", + "spans/python38/fn/c.json", + "spans/python314-amd64/fn/a.json", + "spans/python314-amd64/fn/c.json", + ], + ), + ( + "metrics", + [ + "metrics/default/fn.json", + "metrics/python38/fn.json", + "metrics/python314-amd64/fn.json", + ], + ), + ( + "requests", + [ + "requests/default/fn.json", + "requests/default/fn/b.json", + "requests/python38/fn.json", + "requests/python314-amd64/fn.json", + ], + ), + ], +) +def test_dedupe_keeps_every_case_and_writes_only_needed_files( + tmp_path, category, expected_files +): + """Each layout folds into the fewest files, and every case still resolves to + the content it had before dedupe.""" + from tests.integration.harness import snapshots as snap + + keys = ["python310", "python311", "python38", "python314"] + events = ["a", "b", "c"] + per_event = "event" in snap.LEVELS[category] + cases = [] + for rk in keys: + for arch in snap.ARCHES: + for ev in events if per_event else [None]: + value = _dedupe_value(rk, arch, ev) + snap.write_current(category, rk, arch, "fn", ev, {}, root=tmp_path).write_text(value) + cases.append((rk, arch, ev, value)) + + snap.dedupe(keys, root=tmp_path, functions=["fn"], events=events) + files = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) + assert files == sorted(expected_files) + for rk, arch, ev, value in cases: + path = snap.resolve(category, rk, arch, "fn", ev, tmp_path) + assert path.read_text() == value, (rk, arch, ev) From 66d4398aad905d6b4274f3736d1cefdae4b06257 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 4 Dec 2026 12:16:24 -0500 Subject: [PATCH 11/13] nits --- CONTRIBUTING.md | 2 +- .../async-metrics/api-gateway-get.json | 2 +- .../default/sync-metrics/api-gateway-get.json | 2 +- .../async-metrics/api-gateway-get.json | 2 +- .../sync-metrics/api-gateway-get.json | 2 +- tests/integration/harness/snapshots.py | 8 +++ tests/integration/test_baseline.py | 54 ++++++++++++++----- tests/test_integration_harness.py | 11 ++++ 8 files changed, 66 insertions(+), 17 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e47278a0..e3193bc2e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,7 +47,7 @@ We love pull requests. For new features, consider opening an issue to discuss th `DD_API_KEY_SECRET_ARN=` can stand in for `DD_API_KEY`. The deployed functions read the key from Secrets Manager, so their role must be allowed to read that secret. Leave out `PYTHON_VERSION` to run every supported version, one after another. The tests that use the Datadog Extension (with a mock intake) use the layer version pinned in `DEFAULT_EXTENSION_LAYER_VERSION` in `tests/integration/harness/settings.py` by default; set `DD_EXTENSION_LAYER_VERSION` to another version number, or to `none` to skip them. In CI this suite only runs in pipelines with `RUN_PYTEST_INTEGRATION_TESTS=true`, as two jobs per runtime: `integration-test-pytest` (library only, no Extension) and `integration-test-pytest-extension` (the Extension tests, using that same pinned version). While iterating, set `KEEP_STACK=true` once, then `INTEGRATION_STACK_NAME=` to skip redeploying. -1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). Requests and metrics are condensed: every event emits the same metrics, so there is one file per function (`metrics//.json`), and requests have one file per function (`requests//.json`) plus an event file only where an event's requests differ (for example `appsync` on `default`, and the `zstd` `Accept-Encoding` on python314/315). python39 has no files of its own: its snapshots match python38's, so it falls back to them (`SHARED_RUNTIMES` in `tests/integration/harness/snapshots.py`). If the two ever diverge, `dedupe` fails and asks for the alias to be removed. The `cold_start` tag and the DynamoDB-only stream metric are asserted in `tests/integration/test_baseline.py` instead. Unexpected log output (warnings, prints, tracebacks) is not snapshotted: `test_no_unexpected_log_lines` in `tests/integration/test_baseline.py` requires it to be empty, and an intended new line goes on that test's allow-list. To update the snapshots after an intended change: +1. The pytest suite compares every span tag, outgoing request header, and metric tag against structured snapshots in `tests/integration/expected/` (`///.json`, where the variant is `default` or a runtime override such as `python38` or `python314-amd64`). Requests and metrics are condensed: every event emits the same metrics, so there is one file per function (`metrics//.json`), and requests have one file per function (`requests//.json`) plus an event file only where an event's requests differ (for example `appsync` on `default`, and the `zstd` `Accept-Encoding` on python314/315). python39 has no files of its own: its snapshots match python38's, so it falls back to them (`SHARED_RUNTIMES` in `tests/integration/harness/snapshots.py`). If the two ever diverge, `dedupe` fails and asks for the alias to be removed. The `cold_start` tag and the DynamoDB-only stream metric (value and tags) are asserted in `tests/integration/test_baseline.py` instead. Unexpected log output (warnings, prints, tracebacks) is not snapshotted: `test_no_unexpected_log_lines` in `tests/integration/test_baseline.py` requires it to be empty, and an intended new line goes on `ALLOWED_LOG_LINES` in that file (Lambda platform lines are filtered by `_PLATFORM_LINE_RES` in `tests/integration/harness/logs.py`). To update the snapshots after an intended change: 1. Run the suite with `UPDATE_EXPECTED=true`, locally (writes files for that runtime) or in CI with `RUN_PYTEST_INTEGRATION_TESTS=true UPDATE_EXPECTED=true` (each `integration-test-pytest` job saves `tests/integration/expected/` as an artifact; extract all of them into the repo). 1. Fold the per-run files into defaults plus overrides: `cd tests/integration && python -m harness.snapshots dedupe`. 1. Review the diff and commit it. diff --git a/tests/integration/expected/spans/default/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/default/async-metrics/api-gateway-get.json index c05bc2d31..2a10abb3f 100644 --- a/tests/integration/expected/spans/default/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/spans/default/async-metrics/api-gateway-get.json @@ -20,7 +20,7 @@ "http.route": "/", "http.status_code": "200", "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "http.useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json index d19a0607e..225644ae9 100644 --- a/tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/spans/default/sync-metrics/api-gateway-get.json @@ -20,7 +20,7 @@ "http.route": "/", "http.status_code": "200", "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "http.useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json index 8df0c4976..e716f216b 100644 --- a/tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json +++ b/tests/integration/expected/spans/python38/async-metrics/api-gateway-get.json @@ -17,7 +17,7 @@ "http.route": "/", "http.status_code": "200", "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "http.useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json b/tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json index bea165742..ace3ee7a1 100644 --- a/tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json +++ b/tests/integration/expected/spans/python38/sync-metrics/api-gateway-get.json @@ -17,7 +17,7 @@ "http.route": "/", "http.status_code": "200", "http.url": "https://70ixmpl4fl.execute-api.us-east-2.amazonaws.com/", - "http.useragent": "Mozilla/X (Windows NT X; Win64; x64) AppleWebKit/X (KHTML, like Gecko) Chrome/X Safari/X", + "http.useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/harness/snapshots.py b/tests/integration/harness/snapshots.py index 186caa0b5..95c34551f 100644 --- a/tests/integration/harness/snapshots.py +++ b/tests/integration/harness/snapshots.py @@ -89,7 +89,15 @@ def _sub_literals(value: Any, ctx: Context) -> Any: return value +# User agents of the clients the handler and library use, whose versions change +# with dependency bumps. Other user agents (such as a browser's in an input +# event) are compared exactly. +_CLIENT_USER_AGENT_PREFIXES = ("python-requests/", "datadogpy/") + + def _versions(value: str) -> str: + if not value.startswith(_CLIENT_USER_AGENT_PREFIXES): + return value return _ARCH_RE.sub("", _VERSION_RE.sub("X", value)) diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index 3f7c0c9c3..26c17e3f1 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -8,6 +8,8 @@ from __future__ import annotations +import re + import pytest from .harness.settings import EVENT_NAMES @@ -82,20 +84,37 @@ def test_return_value(case): } +# Log lines a change legitimately adds, as regexes matched with re.search. +# Lambda platform lines are already filtered out by _PLATFORM_LINE_RES in +# harness/logs.py; add library or handler output here, not to a snapshot file. +ALLOWED_LOG_LINES = [re.compile(p) for p in ()] + + def test_no_unexpected_log_lines(case): """Nothing unexpected in the logs: no warnings, prints, or tracebacks, beyond - the Lambda platform lines the harness already ignores. Expected output that - a change legitimately adds goes on an allow-list here, not in a snapshot file.""" + the Lambda platform lines the harness already ignores and ALLOWED_LOG_LINES.""" _, _, inv = case - assert inv.logs.unexpected_lines() == [] + unexpected = [ + line + for line in inv.logs.unexpected_lines() + if not any(r.search(line) for r in ALLOWED_LOG_LINES) + ] + assert unexpected == [] -def test_init_duration_only_on_cold_start(case): - # The cold_start tags are normalized out of the metrics snapshot, so they are - # checked here against what the Lambda runtime reports. +def test_cold_start_tags(case): + """The cold_start tags are normalized out of the snapshots, so they are + checked here against the invocation order and what Lambda reports. + + Lambda leaves Init Duration out of REPORT for proactively initialized + environments, so its absence does not mean a warm start. Its presence (or + init-phase log lines) does mean a fresh environment, which Lambda may also + use for a later invocation.""" _, event_name, inv = case - cold = event_name == EVENT_NAMES[0] - assert (inv.logs.report.init_duration_ms is not None) == cold + new_environment = ( + inv.logs.report.init_duration_ms is not None or bool(inv.logs.init_lines) + ) + cold = event_name == EVENT_NAMES[0] or new_environment assert _function_span(inv).meta.get("cold_start") == str(cold).lower() (enhanced,) = inv.logs.metrics_named("aws.lambda.enhanced.invocations") assert enhanced.tag("cold_start") == str(cold).lower() @@ -103,13 +122,24 @@ def test_init_duration_only_on_cold_start(case): def test_dynamodb_stream_metric_only_for_dynamodb_event(case): # Only the DynamoDB event emits this metric; it is left out of the - # per-function metrics snapshot. + # per-function metrics snapshot, so its value and tags are checked here. _, event_name, inv = case found = inv.logs.metrics_named("datadog.serverless.dynamodb.stream.type") - if event_name == "dynamodb": - assert [m.tag("streamtype") for m in found] == ["NEW_AND_OLD_IMAGES"] - else: + if event_name != "dynamodb": assert found == [] + return + assert len(found) == 1, found + (metric,) = found + assert metric.value == 1 + # The layer tag is the one every metric carries, which the metrics + # snapshot already pins down. + (enhanced,) = inv.logs.metrics_named("aws.lambda.enhanced.invocations") + layer = enhanced.tag("dd_lambda_layer") + assert layer is not None + assert metric.tags == [ + "streamtype:NEW_AND_OLD_IMAGES", + "dd_lambda_layer:" + layer, + ] def test_single_trace(case): diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 5788876ee..b3d6dda0f 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -540,3 +540,14 @@ def test_dedupe_keeps_every_case_and_writes_only_needed_files( for rk, arch, ev, value in cases: path = snap.resolve(category, rk, arch, "fn", ev, tmp_path) assert path.read_text() == value, (rk, arch, ev) + + +def test_user_agent_versions_only_normalized_for_known_clients(): + from tests.integration.harness.snapshots import _versions + + assert _versions("python-requests/2.33.1") == "python-requests/X" + assert _versions( + "datadogpy/0.52.1 (python 3.13.1; os linux; arch aarch64)" + ) == "datadogpy/X (python X; os linux; arch )" + browser = "Mozilla/5.0 (Windows NT 10.0) Chrome/80.0.3987.132 Safari/537.36" + assert _versions(browser) == browser From 253c7a4aa3ef8281273ab3b6075cb009d1511f88 Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 4 Dec 2026 12:21:25 -0500 Subject: [PATCH 12/13] linting --- tests/integration/harness/snapshots.py | 10 ++++- tests/integration/test_baseline.py | 9 ++-- tests/integration/test_snapshots.py | 2 +- tests/test_integration_harness.py | 61 ++++++++++++++------------ 4 files changed, 47 insertions(+), 35 deletions(-) diff --git a/tests/integration/harness/snapshots.py b/tests/integration/harness/snapshots.py index 95c34551f..b7004a888 100644 --- a/tests/integration/harness/snapshots.py +++ b/tests/integration/harness/snapshots.py @@ -406,7 +406,11 @@ def variant_for(rk: str, arch: str, arches: List[str]) -> str: combos = {c for ev in events for c in effective[(fn, ev)]} for c in combos: func_value[c] = _mode( - [effective[(fn, ev)][c] for ev in events if c in effective[(fn, ev)]] + [ + effective[(fn, ev)][c] + for ev in events + if c in effective[(fn, ev)] + ] ) default = _mode(func_value.values()) plan[("default", fn, None)] = default @@ -488,7 +492,9 @@ def dedupe( for arch in ARCHES: c = resolve(category, child, arch, fn, ev, root) p = resolve(category, parent, arch, fn, ev, root) - if (c.read_text() if c else None) != (p.read_text() if p else None): + if (c.read_text() if c else None) != ( + p.read_text() if p else None + ): raise ValueError( "%s %s/%s/%s differs from %s; remove %s from SHARED_RUNTIMES" % (category, child, fn, ev, parent, child) diff --git a/tests/integration/test_baseline.py b/tests/integration/test_baseline.py index 26c17e3f1..5d78b52f3 100644 --- a/tests/integration/test_baseline.py +++ b/tests/integration/test_baseline.py @@ -59,7 +59,10 @@ def _describe_span_id(inv, span_id): "sns": (None, ["95df01b4-ee98-5cb9-9903-4c221d41eb5e"]), "sqs": ( None, - ["059f36b4-87a3-44ab-83d2-661975830a7d", "2e1424d4-f796-459a-8184-9c92662be6da"], + [ + "059f36b4-87a3-44ab-83d2-661975830a7d", + "2e1424d4-f796-459a-8184-9c92662be6da", + ], ), "websocket": ("Fc5S3EvdGjQFtsQ=", []), } @@ -111,8 +114,8 @@ def test_cold_start_tags(case): init-phase log lines) does mean a fresh environment, which Lambda may also use for a later invocation.""" _, event_name, inv = case - new_environment = ( - inv.logs.report.init_duration_ms is not None or bool(inv.logs.init_lines) + new_environment = inv.logs.report.init_duration_ms is not None or bool( + inv.logs.init_lines ) cold = event_name == EVENT_NAMES[0] or new_environment assert _function_span(inv).meta.get("cold_start") == str(cold).lower() diff --git a/tests/integration/test_snapshots.py b/tests/integration/test_snapshots.py index 61eeb9578..4ce44d8ae 100644 --- a/tests/integration/test_snapshots.py +++ b/tests/integration/test_snapshots.py @@ -81,4 +81,4 @@ def test_metric_snapshot(snapshot_case, run_settings): for m in snapshots.normalize_metrics(inv.logs.metrics, ctx) if m["m"] not in EVENT_SPECIFIC_METRICS ] - _check("metrics", actual, fn, None, run_settings) \ No newline at end of file + _check("metrics", actual, fn, None, run_settings) diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index b3d6dda0f..4ad35cf31 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -85,10 +85,6 @@ def test_split_invocations_groups_by_request_id(): assert warm.duration_ms == 1.0 and warm.init_duration_ms is None - - - - def _snapshot_as_cloudwatch_lines(path): """Turn a normalized, pretty-printed snapshot back into one-line-per-event CloudWatch output, with synthetic request IDs.""" @@ -167,8 +163,6 @@ def test_parse_intake_requests_reassembles_chunks(): assert decompress(zlib.compress(b"x"), "deflate") == b"x" - - def test_requirements_markers_resolved_for_target_runtime(): from tests.integration.harness.requirements import resolve @@ -350,10 +344,6 @@ def test_normalize_requests_checks_header_formats(): assert out["https://x/"]["headers"]["traceparent"] == "garbage" - - - - def test_span_snapshot_keeps_unmodeled_fields_and_span_pointers(): from tests.integration.harness.snapshots import normalize_spans @@ -403,14 +393,6 @@ def test_metric_snapshot_keeps_unmodeled_fields(): assert normalize_metrics([warm], _ctx()) == normalize_metrics([cold], _ctx()) - - - - - - - - def test_shared_runtime_folds_into_parent_and_refuses_divergence(tmp_path, monkeypatch): from tests.integration.harness import snapshots as snap @@ -422,24 +404,41 @@ def test_shared_runtime_folds_into_parent_and_refuses_divergence(tmp_path, monke "python38", "default", ] - assert snap.variants("python310", "amd64") == ["python310-amd64", "python310", "default"] + assert snap.variants("python310", "amd64") == [ + "python310-amd64", + "python310", + "default", + ] keys = ["python310", "python38", "python39"] same = "same\n" for arch in snap.ARCHES: - for rk, value in (("python310", same), ("python38", "old\n"), ("python39", "old\n")): - snap.write_current("spans", rk, arch, "fn", "ev", {}, root=tmp_path).write_text(value) + for rk, value in ( + ("python310", same), + ("python38", "old\n"), + ("python39", "old\n"), + ): + snap.write_current( + "spans", rk, arch, "fn", "ev", {}, root=tmp_path + ).write_text(value) snap.dedupe(keys, root=tmp_path, functions=["fn"], events=["ev"]) files = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) assert not any("python39" in f for f in files), files - assert snap.resolve("spans", "python39", "amd64", "fn", "ev", tmp_path).read_text() == "old\n" + assert ( + snap.resolve("spans", "python39", "amd64", "fn", "ev", tmp_path).read_text() + == "old\n" + ) # python39 diverges from python38: dedupe must refuse rather than drop its file. - snap.write_current("spans", "python39", "amd64", "fn", "ev", {}, root=tmp_path).write_text("new\n") + snap.write_current( + "spans", "python39", "amd64", "fn", "ev", {}, root=tmp_path + ).write_text("new\n") before = sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) with pytest.raises(ValueError, match="remove python39 from SHARED_RUNTIMES"): snap.dedupe(keys, root=tmp_path, functions=["fn"], events=["ev"]) - assert sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) == before + assert ( + sorted(str(p.relative_to(tmp_path)) for p in tmp_path.rglob("*.json")) == before + ) def test_split_attributes_init_and_trailing_output(): @@ -464,7 +463,8 @@ def test_split_attributes_init_and_trailing_output(): "INIT_START Runtime Version: python:3.13.v20", "EXTENSION\tName: datadog-agent\tState: Ready", "TELEMETRY\tSubscription: ok", - "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tobject at 0xdeadbeef1234 leaked" % RID_1, + "[WARNING]\t2026-12-01T00:00:00.123Z\t%s\tobject at 0xdeadbeef1234 leaked" + % RID_1, ] assert inv.unexpected_lines() == [inv.other_lines[-1]] @@ -531,7 +531,9 @@ def test_dedupe_keeps_every_case_and_writes_only_needed_files( for arch in snap.ARCHES: for ev in events if per_event else [None]: value = _dedupe_value(rk, arch, ev) - snap.write_current(category, rk, arch, "fn", ev, {}, root=tmp_path).write_text(value) + snap.write_current( + category, rk, arch, "fn", ev, {}, root=tmp_path + ).write_text(value) cases.append((rk, arch, ev, value)) snap.dedupe(keys, root=tmp_path, functions=["fn"], events=events) @@ -546,8 +548,9 @@ def test_user_agent_versions_only_normalized_for_known_clients(): from tests.integration.harness.snapshots import _versions assert _versions("python-requests/2.33.1") == "python-requests/X" - assert _versions( - "datadogpy/0.52.1 (python 3.13.1; os linux; arch aarch64)" - ) == "datadogpy/X (python X; os linux; arch )" + assert ( + _versions("datadogpy/0.52.1 (python 3.13.1; os linux; arch aarch64)") + == "datadogpy/X (python X; os linux; arch )" + ) browser = "Mozilla/5.0 (Windows NT 10.0) Chrome/80.0.3987.132 Safari/537.36" assert _versions(browser) == browser From 9d8983be7e01736621dd88d7b54a916ea36ca72d Mon Sep 17 00:00:00 2001 From: Rithika Narayan Date: Fri, 4 Dec 2026 12:41:18 -0500 Subject: [PATCH 13/13] update snapshots --- .../expected/spans/default/async-metrics/http-api.json | 2 +- .../expected/spans/default/sync-metrics/http-api.json | 2 +- .../expected/spans/python38/async-metrics/http-api.json | 2 +- .../expected/spans/python38/sync-metrics/http-api.json | 2 +- tests/test_integration_harness.py | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/integration/expected/spans/default/async-metrics/http-api.json b/tests/integration/expected/spans/default/async-metrics/http-api.json index 3e81364ae..0b9b001a4 100644 --- a/tests/integration/expected/spans/default/async-metrics/http-api.json +++ b/tests/integration/expected/spans/default/async-metrics/http-api.json @@ -22,7 +22,7 @@ "http.source_ip": "38.122.226.210", "http.status_code": "200", "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", + "http.useragent": "curl/7.64.1", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/default/sync-metrics/http-api.json b/tests/integration/expected/spans/default/sync-metrics/http-api.json index c2cbf4a19..df113f5ae 100644 --- a/tests/integration/expected/spans/default/sync-metrics/http-api.json +++ b/tests/integration/expected/spans/default/sync-metrics/http-api.json @@ -22,7 +22,7 @@ "http.source_ip": "38.122.226.210", "http.status_code": "200", "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", + "http.useragent": "curl/7.64.1", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/python38/async-metrics/http-api.json b/tests/integration/expected/spans/python38/async-metrics/http-api.json index db5b7ac25..8dddfa9da 100644 --- a/tests/integration/expected/spans/python38/async-metrics/http-api.json +++ b/tests/integration/expected/spans/python38/async-metrics/http-api.json @@ -19,7 +19,7 @@ "http.source_ip": "38.122.226.210", "http.status_code": "200", "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", + "http.useragent": "curl/7.64.1", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/integration/expected/spans/python38/sync-metrics/http-api.json b/tests/integration/expected/spans/python38/sync-metrics/http-api.json index 711fe6bcb..f26d7b8b2 100644 --- a/tests/integration/expected/spans/python38/sync-metrics/http-api.json +++ b/tests/integration/expected/spans/python38/sync-metrics/http-api.json @@ -19,7 +19,7 @@ "http.source_ip": "38.122.226.210", "http.status_code": "200", "http.url": "https://x02yirxc7a.execute-api.eu-west-1.amazonaws.com/httpapi/get", - "http.useragent": "curl/X", + "http.useragent": "curl/7.64.1", "language": "python", "peer.service": "integration-tests-python", "request_id": "", diff --git a/tests/test_integration_harness.py b/tests/test_integration_harness.py index 4ad35cf31..d21aeac1f 100644 --- a/tests/test_integration_harness.py +++ b/tests/test_integration_harness.py @@ -265,8 +265,13 @@ def test_normalize_spans_keeps_structure_and_hides_run_values(): req = _span("requests.request", 1, 12, 11, **{"http.url": "https://x/"}) req["meta"]["http.useragent"] = "python-requests/2.33.1" + # Only the library's own clients have their versions normalized. A browser or + # curl user agent comes from the fixed input event, so it is compared exactly. + root["meta"]["http.useragent"] = "curl/7.64.1" + spans = normalize_spans([req, lam, root], _ctx()) by_name = {s["name"]: s for s in spans} + assert by_name["aws.apigateway"]["meta"]["http.useragent"] == "curl/7.64.1" assert by_name["aws.apigateway"]["parent"] is None assert by_name["aws.lambda"]["parent"] == "aws.apigateway GET /" assert by_name["requests.request"]["parent"] == "aws.lambda "