You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -136,7 +135,7 @@ with sentry_sdk.start_span(name="Background Task", op="task", only_as_child_span
136
135
137
136
### Adding Span Attributes
138
137
139
-
Span attributes customize information you can get through tracing. This information can be found in the traces views in Sentry, once you drill into a span. You can capture additional context with span attributes. These can be key-value pairs of various Python types.
138
+
Span attributes customize information you can get through tracing. This information can be found in the traces views in Sentry, once you drill into a span. You can capture additional context with span attributes. These are key-value pairs where the keys are non-empty strings and the values are either primitive Python types (excluding `None`), or a list of a single primitive Python type.
140
139
141
140
```python
142
141
import sentry_sdk
@@ -146,7 +145,7 @@ with sentry_sdk.start_span(op="db", name="Query Users") as span:
146
145
users = db.query("SELECT * FROM users WHERE active = true")
0 commit comments