Commit bfd6524
committed
fix(celery): Get
Under the hood within Kombu (the messaging library used by Celery),
the `driver_type` is ultimately derived from the broker's URL that's
provided in the Celery configuration by the user via either the
`broker` or `broker_url` arguments.
We can accomplish the same thing in our context, removing the need to
open a connection to the broker to determine the `driver_type` to
set in the span.
Fixes PY-2071
Fixes #5428driver_type from broker's URL1 parent 1eeb5df commit bfd6524
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
400 | 399 | | |
401 | 400 | | |
402 | 401 | | |
| |||
0 commit comments