Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feat) datadog_llm_observability callback - emit request_tags on logs #7883

Merged
merged 6 commits into from
Jan 21, 2025

Conversation

ishaan-jaff
Copy link
Contributor

@ishaan-jaff ishaan-jaff commented Jan 20, 2025

(Feat) datadog_llm_observability callback - emit request_tags on logs

Usage example

curl -i http://0.0.0.0:4000/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
            "model": "openai/gpt-4o",
            "tags": ["test-2", "app-2"],
            "messages": [
                {
                    "role": "user", 
                    "content":"hi"
                }
            ]
        }'
  • Emit request_tags on datadog_llm_observability logging callback
Xnapper-2025-01-20-10 53 39

Relevant issues

Type

🆕 New Feature
✅ Test

Changes

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

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

Copy link

vercel bot commented Jan 20, 2025

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 20, 2025 11:48pm

@ishaan-jaff ishaan-jaff merged commit 806df5d into main Jan 21, 2025
29 of 31 checks passed
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