Skip to content

Conversation

@shellmayr
Copy link
Member

  • Just returning that the cost calculation had result none does not tell us what went wrong
  • Track whether the missing cost data comes from lack of token data on the span, or lack of model pricing information

Closes TET-1892

@linear
Copy link

linear bot commented Feb 4, 2026

@shellmayr shellmayr marked this pull request as ready for review February 5, 2026 07:12
@shellmayr shellmayr requested a review from a team as a code owner February 5, 2026 07:12
@shellmayr shellmayr changed the title chore(ai): track reason for missing cost in ai cost calculation chore(ai): Track reason for missing cost in ai cost calculation Feb 5, 2026
CHANGELOG.md Outdated
- Add `gen_ai.cost_calculation.result` metric to track AI cost calculation outcomes by integration and platform. ([#5560](https://github.com/getsentry/relay/pull/5560))
- Normalizes and validates trace metric names. ([#5589](https://github.com/getsentry/relay/pull/5589))
- Add manual category to cost calculation metric origin tag ([#5603](https://github.com/getsentry/relay/pull/5603))
- Differentiate between reasons for missing cost calculation([#5611](https://github.com/getsentry/relay/pull/5611))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to skip the changelog for changes which aren't "outside" visible

Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't tell if cursor is correct :shipit:

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@shellmayr shellmayr force-pushed the shellmayr/chore/track-reason-for-no-cost-in-ai branch from 9b2d09e to 7da2a06 Compare February 11, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants