3 files changed
+33
-19
lines changedLines changed: 25 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
179 | 191 |
| |
180 | 192 |
| |
181 | 193 |
| |
182 | 194 |
| |
183 | 195 |
| |
184 | 196 |
| |
185 | 197 |
| |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 | 198 |
| |
194 | 199 |
| |
195 | 200 |
| |
196 | 201 |
| |
197 | 202 |
| |
198 |
| - | |
| 203 | + | |
199 | 204 |
| |
200 | 205 |
| |
201 | 206 |
| |
| |||
251 | 256 |
| |
252 | 257 |
| |
253 | 258 |
| |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
261 | 271 |
| |
262 | 272 |
| |
263 | 273 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 |
| |
103 | 105 |
| |
104 | 106 |
| |
|
Lines changed: 5 additions & 3 deletions
@@ -683,9 +683,9 @@ def get_trace_context(self):
683
683
rv["status"] = self.status
684
684
685
685
if self.containing_transaction:
686
- rv["dynamic_sampling_context"] = (
687
- self.containing_transaction.get_baggage().dynamic_sampling_context()
688
- )
686
+ rv[
687
+ "dynamic_sampling_context"
688
+ ] = self.containing_transaction.get_baggage().dynamic_sampling_context()
689
689
690
690
data = {}
691
691
@@ -1203,6 +1203,7 @@ def __init__(
1203
1203
start_timestamp=None, # type: Optional[Union[datetime, float]]
1204
1204
origin=None, # type: Optional[str]
1205
1205
name=None, # type: Optional[str]
1206
+ source=TRANSACTION_SOURCE_CUSTOM, # type: str
1206
1207
otel_span=None, # type: Optional[OtelSpan]
1207
1208
**_, # type: dict[str, object]
1208
1209
):
@@ -1232,6 +1233,7 @@ def __init__(
1232
1233
self.op = op
1233
1234
self.description = description
1234
1235
self.name = span_name
1236
+ self.source = source
1235
1237
1236
1238
if status is not None:
1237
1239
self.set_status(status)
0 commit comments