Skip to content

Commit

Permalink
add otel callback
Browse files Browse the repository at this point in the history
  • Loading branch information
yujonglee committed Jun 5, 2024
1 parent 1751204 commit 58e12c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
- `REDIS_SSL`
- `SLACK_WEBHOOK_URL`
- `SLACK_DAILY_REPORT_FREQUENCY`
- `OTEL_ENDPOINT`
- `OTEL_HEADERS`
3 changes: 3 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ model_list:
api_key: os.environ/ANYSCALE_API_KEY
litellm_settings:
drop_params: true
callbacks:
- otel
router_settings:
routing_strategy: simple-shuffle
timeout: 60
Expand All @@ -132,3 +134,4 @@ general_settings:
alerting_threshold: 120
environment_variables:
AZURE_API_VERSION: 2024-05-01-preview
OTEL_EXPORTER: otlp_http

0 comments on commit 58e12c8

Please sign in to comment.