Skip to content

refactor!: update Telemetry Processor logic#1180

Merged
giortzisg merged 4 commits intomasterfrom
chore/telemetry-processor-ref
Jan 27, 2026
Merged

refactor!: update Telemetry Processor logic#1180
giortzisg merged 4 commits intomasterfrom
chore/telemetry-processor-ref

Conversation

@giortzisg
Copy link
Contributor

@giortzisg giortzisg commented Jan 22, 2026

Description

Refactoring the Telemetry Buffer to match this page https://develop.sentry.dev/sdk/telemetry/telemetry-processor/.
Changes include:

  • naming changes to components to adhere to the spec
  • separating envelopeItemConvertible to batchable and itemconvertible, so that we don't need to implement ToEnvelopeItem for a single log.
  • delete unused ToEnvelopeItem(dsn)

Issues

Changelog Entry Instructions

To add a custom changelog entry, uncomment the section above. Supports:

  • Single entry: just write text
  • Multiple entries: use bullet points
  • Nested bullets: indent 4+ spaces

For more details: custom changelog entries

Reminders

Changelog Entry

  • refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible
    • remove ToEnvelopeItem from single log items
    • rename TelemetryBuffer to Telemetry Processor to adhere to spec
    • remove unsed ToEnvelopeItem(dsn) from Event.

@giortzisg giortzisg requested a review from Litarnus January 22, 2026 13:10
@giortzisg giortzisg self-assigned this Jan 22, 2026
@giortzisg giortzisg force-pushed the chore/telemetry-processor-ref branch from 69fa1eb to 681485d Compare January 26, 2026 16:06
@github-actions
Copy link

github-actions bot commented Jan 26, 2026

Semver Impact of This PR

🔴 Major (breaking changes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Breaking Changes 🛠

  • refactor Telemetry Processor to use TelemetryItem instead of ItemConvertible by giortzisg in #1180
    • remove ToEnvelopeItem from single log items
    • rename TelemetryBuffer to Telemetry Processor to adhere to spec
    • remove unsed ToEnvelopeItem(dsn) from Event.

New Features ✨

  • Add metric support by aldy505 in #1151
    • support for three metric methods (counter, gauge, distribution)
    • custom metric units
    • unexport batchlogger

Internal Changes 🔧

Release

  • Fix changelog-preview permissions by BYK in #1181
  • Switch from action-prepare-release to Craft by BYK in #1167

Other

  • (repo) Add Claude Code settings with basic permissions by philipphofmann in #1175
  • Update release and changelog-preview workflows by giortzisg in #1177
  • Bump echo to 4.10.1 by giortzisg in #1174

🤖 This preview updates automatically when you update the PR.

@giortzisg giortzisg force-pushed the chore/telemetry-processor-ref branch from 681485d to 7b749a2 Compare January 26, 2026 16:20
@giortzisg giortzisg changed the title ref: update Telemetry Processor logic refactor!: update Telemetry Processor logic Jan 26, 2026
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 1 potential issue.

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

@giortzisg giortzisg merged commit ba17897 into master Jan 27, 2026
22 checks passed
@giortzisg giortzisg deleted the chore/telemetry-processor-ref branch January 27, 2026 10:07
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