MikeOT
MikeOT5mo ago

Trying to debug an issue on my tracing

Trying to debug an issue on my tracing self-hosted dash. The Total Cost on the Trace List page shows 0 while showing up correctly on Trace Detail. Example of fetched trace from the list page is returning:
...
calculatedInputCost: "0.0661"
calculatedOutputCost: "0.01014"
calculatedTotalCost: "0"
...
calculatedInputCost: "0.0661"
calculatedOutputCost: "0.01014"
calculatedTotalCost: "0"
It seems to have the necessary data as it correctly displays on the detail page... not sure where I went wrong 😬
1 Reply
MikeOT
MikeOT5mo ago
welp, I fixed it by not passing usage with both input/output AND inputCost/outputCost 🤦‍♂️