You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add span attributes and metrics for total cost for each model we instrument. Right now we only send token usage but we can easily extend this and send cost as well - we just need to define a prices const in each instrumentation and multiple the prompt/completion token usage.
🎤 Why is this feature needed ?
Better visibility into the cost for OpenLLMetry usage. Right now we only provide token usage which is basically just a proxy for cost.
✌️ How do you aim to achieve this?
See feature decsription
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
I checked and didn't find similar issue
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered:
Which component is this feature for?
All Packages
🔖 Feature description
Add span attributes and metrics for total cost for each model we instrument. Right now we only send token usage but we can easily extend this and send cost as well - we just need to define a prices const in each instrumentation and multiple the prompt/completion token usage.
🎤 Why is this feature needed ?
Better visibility into the cost for OpenLLMetry usage. Right now we only provide token usage which is basically just a proxy for cost.
✌️ How do you aim to achieve this?
See feature decsription
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: