litellm/tests/unit/integrations/datadog
yucheng-berri 76f3664132 fix(datadog_metrics): keep rejected distributions out of the flush trigger and cap them at one batch
When only /api/v1/distribution_points failed, the requeued distributions kept the queue at or above
batch_size, so every request flushed and re-posted the whole growing backlog (up to the 50,000-entry
queue cap). Rejected distributions now no longer count toward batch_size, and only the newest
batch_size of them are kept for the next flush; older ones are dropped with a warning.
2026-10-17 01:31:21 -07: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): wait on the work itself instead of fixed sleeps (#46261) 2026-10-13 12:41:06 -07:00
test_datadog_cost_management.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_datadog_llm_obs.py refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07: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_metrics): keep rejected distributions out of the flush trigger and cap them at one batch 2026-10-17 01:31:21 -07:00
test_datadog_tags_regression.py test: move tests/test_litellm integrations and secret_managers into tests/unit (#43194) 2026-09-25 12:57:07 -07:00
test_datadog_team_handler.py refactor: expose core private helpers under public names (#44871) 2026-10-07 00:05:27 +00:00