fix: double counting in langfuse instrumentation (#13202)

This commit is contained in:
Aakash Bakhle
2026-01-13 18:52:38 +05:30
committed by GitHub
parent 1a220b2982
commit bddf06907b
4 changed files with 64 additions and 3 deletions

View File

@@ -30,7 +30,6 @@ module Integrations::LlmInstrumentation
result = nil
executed = false
tracer.in_span(params[:span_name]) do |span|
set_request_attributes(span, params)
set_metadata_attributes(span, params)
# By default, the input and output of a trace are set from the root observation