litellm/tests/unit/integrations/datadog
Kerry Lu 0dd7673bf5
fix(datadog): start total latency at proxy receive time so it covers overhead (#55223)
* fix(datadog): start total latency at proxy receive time so it covers overhead

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(datadog): compare receive time and end time as timestamps

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(datadog): read the receive time through typed logging kwargs

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(datadog): drop the extra metadata type from the receive time lookup

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-12-01 13:39:23 -08:00
..
__init__.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_datadog.py test(unit): keep unix socket paths in unit tests under the macOS AF_UNIX limit (#45040) 2026-10-28 20:23:22 -07:00
test_datadog_cost_management.py fix(logging): mark mirrored silent_model calls with is_silent_experiment in spend logs (#48888) 2026-10-29 05:12:50 -07:00
test_datadog_llm_obs.py refactor(types): parameterize the bare list and dict fields of StandardLoggingPayload (#55383) 2026-12-01 02:58:22 +00:00
test_datadog_llm_obs_agent.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_datadog_logger_batching.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_datadog_metrics.py fix(datadog): start total latency at proxy receive time so it covers overhead (#55223) 2026-12-01 13:39:23 -08:00
test_datadog_tags_regression.py fix(datadog): send DD_TAGS on Datadog logs and LLM Observability spans (#52415) 2026-11-18 20:27:30 +00:00
test_datadog_team_handler.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00