1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/callback
patchback[bot] ef0665843f
[PR #6531/58958fc4 backport][stable-7] opentelemetry: add span event attributes (#6631)
opentelemetry: add span event attributes (#6531)

* add span event attributes (task name and host name)

* add fragment

* refactor: use set_attributes

* Add same span attributes to the event

* chore: change description in the fragment

* as mentioned in the code review

* use flag to disable the attributes in logs

there are some vendors that might not require those attributes since those details are shown in the UI when accessing the spans, i.e.: jaeger

* Update plugins/callback/opentelemetry.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 58958fc417)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
2023-06-06 22:11:00 +02:00
..
cgroup_memory_recap.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
context_demo.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
counter_enabled.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
dense.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
diy.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
elastic.py Fix copyright lines (make sure 'Copyright' is there). (#5083) 2022-08-05 22:12:10 +02:00
hipchat.py Normalize more booleans. (#5247) 2022-09-06 20:42:17 +02:00
jabber.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
log_plays.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
loganalytics.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
logdna.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
logentries.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
logstash.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
mail.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
nrdp.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
null.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
opentelemetry.py [PR #6531/58958fc4 backport][stable-7] opentelemetry: add span event attributes (#6631) 2023-06-06 22:11:00 +02:00
say.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
selective.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
slack.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
splunk.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
sumologic.py Improve callback docs (#5760) 2023-01-07 11:03:58 +01:00
syslog_json.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00
unixy.py unixy Callback: Fix typo using ansibles config manager (#5744) 2022-12-30 22:35:03 +01:00
yaml.py Remove unneccessary imports (#5940) 2023-02-12 19:48:39 +01:00