Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/parametric/test_otlp_trace_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ def _data_point_services(metrics: list[Any]) -> set[Any]:


def _trace_requests(test_agent: TestAgentAPI) -> list[AgentRequest]:
"""Native Datadog trace export requests (v0.4/v0.5/v0.7), regardless of the wire version used."""
return [r for r in test_agent.requests() if r["url"].endswith(("/v0.4/traces", "/v0.5/traces", "/v0.7/traces"))]
"""Native Datadog trace export requests, regardless of the wire version used."""
trace_endpoints = ("/v0.4/traces", "/v0.5/traces", "/v0.7/traces", "/v1.0/traces")
return [r for r in test_agent.requests() if r["url"].endswith(trace_endpoints)]


def _trace_count(request: AgentRequest) -> int:
Expand Down
Loading