Skip to content

Add attribute APIs to Scope class #18140

@Lms24

Description

@Lms24

Problem Statement

ref: https://linear.app/getsentry/issue/SDK-46/new-global-attributes-api-on-the-scope

As per https://develop.sentry.dev/sdk/telemetry/scopes/#setting-attributes, the Scope class should implement setAttribute(s) APIs.

Solution Brainstorm

Implement it as a first step, apply to logs, metrics, span envelopes afterwards

Additional Context

Tip: React with 👍 to help prioritize this improvement. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions