Skip to content

fix(spans): Add gen_ai.request.max_tokens to SpanData #4792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 4, 2025

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Jun 4, 2025

Leaving this field implicit subsumes it into the Other variant, which is marked with pii = "true". Since the field name contains the word "token", that means it gets erroneously PII scrubbed by password rules. Splitting out the field remedies that.

#skip-changelog

Leaving this field implicit subsumes it into the `Other` variant,
which is marked with `pii = "true"`. Since the field name contains
the word "token", that means it gets erroneously PII scrubbed by
password rules. Splitting out the field remedies that.
@loewenheim loewenheim requested a review from a team as a code owner June 4, 2025 11:49
Co-authored-by: David Herberth <david.herberth@sentry.io>
@loewenheim loewenheim enabled auto-merge (squash) June 4, 2025 11:55
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

Sweet! Thanks!

@loewenheim loewenheim merged commit b4c09da into master Jun 4, 2025
45 of 47 checks passed
@loewenheim loewenheim deleted the sebastian/gen-ai-tokens branch June 4, 2025 13:00
jan-auer added a commit that referenced this pull request Jun 5, 2025
* master:
  fix(otlp): Propagate all attributes (#4779)
  fix(ourlogs): Add observed nanos for parity with OTel logs (#4795)
  fix(spans): Add `gen_ai.request.max_tokens` to `SpanData` (#4792)
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.

3 participants