SUPPRESS_LANGUAGE_MODEL_INSTRUMENTATION_KEY on langchain instrumentation #2542
Unanswered
naghost-dev
asked this question in
Q&A
Replies: 1 comment
-
@naghost-dev we didn't want to report spans and metrics twice that is why it's implemented like that - did you face an issue with this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have recently been reviewing the integration of Langchain instrumentation and I see that when an invocation is made, the value SUPPRESS_LANGUAGE_MODEL_INSTRUMENTATION_KEY is set to True, causing the underlying instrumentations such as OpenAI or Bedrock not to add new metrics or spans information. I understand that this behavior is to avoid duplication of information, but sometimes the Langchain instrumentation will not extract as much information as OpenAI's. Do you know if it is feasible to move this to a configuration so that both instrumentations can coexist without interfering with each other?
Beta Was this translation helpful? Give feedback.
All reactions