fix(observability): Emit OpenInference LLM cost lookup attributes for span exports#1988
Conversation
Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
Signed-off-by: Yuchen Zhang <yuchenz@nvidia.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
WalkthroughThis PR extends observability telemetry to capture LLM metadata during span export. Two new span attribute keys are added to the data model, span exporter logic conditionally records model name and provider for LLM spans, and a test validates the behavior. ChangesLLM Span Attribute Tracking
Unresolved ChangesTwo documentation hyperlinks were removed from 🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Description
llm.model_nameandllm.providerspan attributes for LLM spansIntermediateStepPayload.nameIntermediateStepPayload.frameworkBy Submitting this PR I confirm:
Summary by CodeRabbit
Documentation
New Features