litellm-mirror/litellm/integrations/gcs_bucket
Ishaan Jaff 00c596a852
(Feat) - Allow viewing Request/Response Logs stored in GCS Bucket (#8449)
* BaseRequestResponseFetchFromCustomLogger

* get_active_base_request_response_fetch_from_custom_logger

* get_request_response_payload

* ui_view_request_response_for_request_id

* fix uiSpendLogDetailsCall

* fix get_request_response_payload

* ui fix RequestViewer

* use 1 class AdditionalLoggingUtils

* ui_view_request_response_for_request_id

* cache the prefetch logs details

* refactor prefetch

* test view request/resp logs

* fix code quality

* fix get_request_response_payload

* uninstall posthog
prevent it from being added in ci/cd

* fix posthog

* fix traceloop test

* fix linting error
2025-02-10 20:38:55 -08:00
..
gcs_bucket.py (Feat) - Allow viewing Request/Response Logs stored in GCS Bucket (#8449) 2025-02-10 20:38:55 -08:00
gcs_bucket_base.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
Readme.md (code clean up) use a folder for gcs bucket logging + add readme in folder (#6080) 2024-10-05 16:58:10 +05:30

GCS (Google Cloud Storage) Bucket Logging on LiteLLM Gateway

This folder contains the GCS Bucket Logging integration for LiteLLM Gateway.

Folder Structure

  • gcs_bucket.py: This is the main file that handles failure/success logging to GCS Bucket
  • gcs_bucket_base.py: This file contains the GCSBucketBase class which handles Authentication for GCS Buckets

Further Reading