mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
test: mutation drop cost span (do not merge)
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
b1864cd5be
commit
3179eae75b
1 changed files with 1 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ class OpenTelemetryV2(CustomLogger):
|
|||
# gets a live phase span instead). Those still feed Prometheus/Datadog via
|
||||
# their own hooks; they just never enter the trace.
|
||||
role: Final = span_role_for_service(data.service_name)
|
||||
if role is None:
|
||||
if role is None or data.service_name == "batch_write_to_db":
|
||||
return None
|
||||
# A metrics-only ping with neither timing nor a parent (in-memory queue
|
||||
# gauges) is not a traceable operation; a span for it would be a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue