mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
* 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>
(cherry picked from commit 8c04133284)
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user