Skip to content

[skill-drift] update(sentry-ruby-sdk): add set_attribute APIs and ActiveJob distributed tracing#258

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
skill-drift/sentry-ruby-sdk-skill-drift-update-sentry-ruby-sdk-add-s-1783346762
Open

[skill-drift] update(sentry-ruby-sdk): add set_attribute APIs and ActiveJob distributed tracing#258
github-actions[bot] wants to merge 1 commit into
mainfrom
skill-drift/sentry-ruby-sdk-skill-drift-update-sentry-ruby-sdk-add-s-1783346762

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Warning

Auto-generated from external SDK content. Review all links and code suggestions before acting on them.

Summary

  • Add new set_attribute, set_attributes, and remove_attribute scope APIs (PR #2998)
  • Document ActiveJob distributed tracing support across Sidekiq, Resque, and DelayedJob adapters (PR #2947)
  • Add new config option rails.active_job_propagate_traces (default true)

Changes

New attribute APIs (PR #2998)

Added three new methods for managing scope attributes that apply to telemetry (logs, metrics, traces):

Sentry.set_attribute("user.tier", "premium")
Sentry.set_attribute("response.time", 150, unit: "millisecond")
Sentry.set_attributes(region: "us-west", datacenter: "pdx-1")
Sentry.remove_attribute("user.tier")

These are now documented in:

  • references/error-monitoring.md — "Tags, context, extras, and attributes" section and Scope API Reference

ActiveJob distributed tracing (PR #2947)

ActiveJob now supports distributed tracing out of the box:

  • Emits a queue.publish producer span when enqueuing jobs
  • Propagates trace context through job payloads
  • Creates a queue.active_job consumer transaction on the worker
  • Works automatically with Sidekiq, Resque, and DelayedJob adapters

New config option:

  • config.rails.active_job_propagate_traces = true (default) — disable to turn off trace propagation

Documented in:

  • references/tracing.md — Configuration table and Rails auto-instrumentation section
  • SKILL.md — Configuration Reference table

Version bump

Updated skill version reference from v6.6.2 to v6.7.0+ to reflect these recent additions.

Test plan

  • Added attribute API examples to error-monitoring reference
  • Added attribute methods to Scope API Reference
  • Documented ActiveJob tracing behavior and config option
  • Updated configuration tables in both SKILL.md and tracing.md
  • Bumped version reference

🤖 Generated with Claude Code

Source PRs

…iveJob distributed tracing

Automated drift-fix run.

Co-Authored-By: Claude (claude-sonnet-4-5) <noreply@anthropic.com>
@github-actions github-actions Bot requested a review from a team as a code owner July 6, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants