TGViewer
rtfm.co.ua | English rtfm.co.ua | English @rtfmcoua_en · 21 subscribers
Post #45 20
LiteLLM: Custom Callback for Traffic Mirroring and OTel Tracing to VictoriaTraces

We’re currently setting up our own hardware server where we want to run self-hosted models. But we can’t just switch client traffic to them right away – first we need to see how these self-hosted LLMs will actually perform. So the general idea for now is to keep sending traffic to the primary provider, OpenAI…

https://rtfm.co.ua/en/litellm-custom-callback-for-traffic-mirroring-and-otel-tracing-to-victoriatraces/

#AI #LiteLLM #LLM #OpenTelemetry #Python #VictoriaTraces
RTFM: Linux, DevOps, and system administration | DevOps-engineering, and system administration. Cases from practice. LiteLLM: Custom Callback for Traffic Mirroring and OTel Tracing to VictoriaTraces Writing your own LiteLLM Custom Callback in Python to implement traffic mirroring on a self-hosted LLM and configure OTel tracing with custom spans to VictoriaTraces
More from @rtfmcoua_en
  1. Sep 30, 2026AI: LLMs, Agents, Work, and Us – Engineers. Personal Thoughts. A very random text. Wasn’t…
  2. Sep 24, 2026AI: LLM Spend Control with LiteLLM Budgets and OpenAI Limits The main goal we had when int…
  3. Sep 16, 2026LiteLLM: Debugging AI Cost Monitoring with VictoriaMetrics Had a pretty interesting case w…
  4. Sep 11, 2026LiteLLM: Custom Callbacks and LLM Evaluations with Judge LLM A quick recap of what we are…
  5. Aug 21, 2026LiteLLM: Traffic Mirroring, Batch Completions, and Traffic to Two Providers We’re getting…
  6. Aug 21, 2026llama.cpp: Metrics and Monitoring with VictoriaMetrics We have a server where we’re going…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →