Skip to content

Commit cba8dfa

Browse files
author
mriamah
committed
Add back attribute MESSAGING_DESTINATION_KIND to celery instrumentation test
1 parent 2c93115 commit cba8dfa

File tree

1 file changed

+2
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-celery/tests

1 file changed

+2
-0
lines changed

instrumentation/opentelemetry-instrumentation-celery/tests/test_tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def test_task(self):
9090
{
9191
"celery.action": "apply_async",
9292
"celery.task_name": "tests.celery_test_tasks.task_add",
93+
SpanAttributes.MESSAGING_DESTINATION_KIND: "queue",
9394
SpanAttributes.MESSAGING_DESTINATION: "celery",
9495
},
9596
)
@@ -154,6 +155,7 @@ def test_task_raises(self):
154155
{
155156
"celery.action": "apply_async",
156157
"celery.task_name": "tests.celery_test_tasks.task_raises",
158+
SpanAttributes.MESSAGING_DESTINATION_KIND: "queue",
157159
SpanAttributes.MESSAGING_DESTINATION: "celery",
158160
},
159161
)

0 commit comments

Comments
 (0)