Skip to content

Commit c2265c9

Browse files
authored
fix(develop): Clearer wording for attrs on current scope (#15866)
1 parent c668b07 commit c2265c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/telemetry/scopes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The method SHOULD accept a dictionary/map/object where:
9898

9999
- Attributes set on the global scope MUST be applied to all logs and metrics
100100
- Attributes set on the isolation scope MUST be applied to all logs and metrics in that execution context
101-
- Attributes set on the current scope MUST be applied only to the current log and current metric
101+
- Attributes set on the current scope MUST be applied only to the logs and metrics that are captured while that current scope is active
102102
- When the same attribute key exists in multiple scopes, the more specific scope's value takes precedence (current > isolation > global)
103103
- When the same attribute key exists on the current log or metric, it MUST take precedence over an attribute with the same key set on any scope (log/metric > current > isolation > global)
104104
- The SDK SHOULD keep the attribute format consistent with the user-set format until user-provided processing callbacks like `before_send_log` have been called. This ensures compatibility with already existing callbacks and avoids unexpected changes to the attribute format.

0 commit comments

Comments
 (0)