Commit ee0b995
fix(pika): pass destination instead of task_name to _enrich_span (#4563)
* Update span enrichment to use destination instead of task_name
* Refactor enrich_span assertion in test_utils.py
- tightened the test_get_span assertion to verify _enrich_span
is called with destination, not task_name.
- changed enrich_span.assert_called_once() to enrich_span.assert_called_once_with(...) with destination as the argument.
* Update CHANGELOG.md
* Update CHANGELOG with recent fixes and improvements
- Update CHANGELOG.md
- Updated the Pull Request URL
* Update CHANGELOG.md
* Add changelog fragment for pika destination fix
* Update .changelog/4563.fixed
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
* Update 4563.fixed
---------
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>1 parent b1b872b commit ee0b995
3 files changed
Lines changed: 9 additions & 2 deletions
File tree
- .changelog
- instrumentation/opentelemetry-instrumentation-pika
- src/opentelemetry/instrumentation/pika
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
instrumentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
0 commit comments