Skip to content

(Feat) - allow including dd-trace in litellm base image - #7587

Merged
ishaan-jaff merged 7 commits into
mainfrom
litellm_include_dd_trace
Jan 7, 2025
Merged

ishaan-jaff merged 7 commits into
mainfrom
litellm_include_dd_trace

Conversation

@ishaan-jaff

@ishaan-jaff ishaan-jaff commented Jan 6, 2025 •

Copy link
Copy Markdown
Contributor

(Feat) - allow including dd-trace in litellm base image

Adds support for using ddtrace-run

Datadog Tracing

Use ddtrace-run to enable Datadog Tracing on litellm proxy

Pass USE_DDTRACE=true to the docker run command. When USE_DDTRACE=true, the proxy will run ddtrace-run litellm as the ENTRYPOINT instead of just litellm

docker run \
    -v $(pwd)/litellm_config.yaml:/app/config.yaml \
    -e USE_DDTRACE=true \
    -p 4000:4000 \
    ghcr.io/berriai/litellm:main-latest \
    --config /app/config.yaml --detailed_debug

Relevant issues

Type

🆕 New Feature
🚄 Infrastructure
✅ Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

If UI changes, send a screenshot/GIF of working UI fixes

@vercel

vercel Bot commented Jan 6, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 0:10am

@codecov

codecov Bot commented Jan 7, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
litellm/proxy/proxy_server.py 66.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@ishaan-jaff
ishaan-jaff merged commit 6125ba1 into main Jan 7, 2025
@ishaan-berri
ishaan-berri deleted the litellm_include_dd_trace branch March 26, 2026 21:54
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
* introduce USE_DDTRACE=true

* update dd tracer

* update

* bump dd trace

* use og slim image

* DD tracing

* fix _init_dd_tracer

This branch was successfully deployed

1 active deployment
Preview — 049e2a45 Deployed Jan 7, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant