litellm/tests/logging_callback_tests
Ishaan Jaff cdda7c243f
(refactor) prometheus async_log_success_event to be under 100 LOC (#6416)
* unit testig for prometheus

* unit testing for success metrics

* use 1 helper for _increment_token_metrics

* use helper for _increment_remaining_budget_metrics

* use _increment_remaining_budget_metrics

* use _increment_top_level_request_and_spend_metrics

* use helper for _set_latency_metrics

* remove noqa violation

* fix test prometheus

* test prometheus

* unit testing for all prometheus helper functions

* fix prom unit tests

* fix unit tests prometheus

* fix unit test prom
2024-10-24 16:41:09 +04:00
..
conftest.py (refactor) use helper function _assemble_complete_response_from_streaming_chunks to assemble complete responses in caching and logging callbacks (#6220) 2024-10-15 12:45:12 +05:30
test_assemble_streaming_responses.py (refactor) use helper function _assemble_complete_response_from_streaming_chunks to assemble complete responses in caching and logging callbacks (#6220) 2024-10-15 12:45:12 +05:30
test_langfuse_unit_tests.py (fix) Langfuse key based logging (#6372) 2024-10-23 18:24:22 +05:30
test_otel_logging.py Revert "(fix) standard logging metadata + add unit testing (#6366)" (#6381) 2024-10-22 23:20:01 +05:30
test_prometheus_unit_tests.py (refactor) prometheus async_log_success_event to be under 100 LOC (#6416) 2024-10-24 16:41:09 +04:00
test_unit_tests_init_callbacks.py (refactor) prometheus async_log_success_event to be under 100 LOC (#6416) 2024-10-24 16:41:09 +04:00