Area(s)
area:gen-ai
What's the problem?
The duration metric for GenAI client duration metric at https://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/gen-ai-metrics.md#metric-gen_aiclientoperationduration lists provider as required. When implementing the metrics for Execute Tools in GenAI Utils for python, it's become apparant that provider is not always available, since tool calls may not make calls to LLM providers.
Describe the solution you'd like
Perhaps setting that attribute to Conditionally Required may be the most prudent fix?
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Area(s)
area:gen-ai
What's the problem?
The duration metric for GenAI client duration metric at https://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/gen-ai-metrics.md#metric-gen_aiclientoperationduration lists provider as required. When implementing the metrics for Execute Tools in GenAI Utils for python, it's become apparant that provider is not always available, since tool calls may not make calls to LLM providers.
Describe the solution you'd like
Perhaps setting that attribute to Conditionally Required may be the most prudent fix?
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.