mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
opentelemetry: send logs (#4175)
* opentelemetry: logs property * opentelemetry: support for span events with the Task dump output * opentelemetry: support property to disable the logs * bump the version when supported * add section ini * test: fix change of signature * [opentelemetry][callback] changelog fragment * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
dc2d3c24fa
commit
8c04133284
3 changed files with 41 additions and 12 deletions
|
@ -68,7 +68,8 @@ class TestOpentelemetry(unittest.TestCase):
|
|||
self.opentelemetry.finish_task(
|
||||
tasks_data,
|
||||
'ok',
|
||||
self.my_task_result
|
||||
self.my_task_result,
|
||||
""
|
||||
)
|
||||
|
||||
task_data = tasks_data['myuuid']
|
||||
|
@ -85,7 +86,8 @@ class TestOpentelemetry(unittest.TestCase):
|
|||
self.opentelemetry.finish_task(
|
||||
tasks_data,
|
||||
'ok',
|
||||
result
|
||||
result,
|
||||
""
|
||||
)
|
||||
|
||||
task_data = tasks_data['myuuid']
|
||||
|
@ -104,7 +106,8 @@ class TestOpentelemetry(unittest.TestCase):
|
|||
self.opentelemetry.finish_task(
|
||||
tasks_data,
|
||||
'ok',
|
||||
result
|
||||
result,
|
||||
""
|
||||
)
|
||||
|
||||
self.assertEqual(self.opentelemetry.ansible_version, '1.2.3')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue