[stable-7] fix(opentelemetry): avoid storing inmemory if logs are disabled (#8373) (#8391)

fix(opentelemetry): avoid storing inmemory if logs are disabled (#8373)

* fix(opentelemetry): avoid storing inmemory if logs are disabled

* changelog

* fix syntax

* refactor

* chore

* chore

* chore

* fix

(cherry picked from commit d87b9fe0dc)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
This commit is contained in:
Felix Fontein
2024-05-19 21:57:30 +02:00
committed by GitHub
parent f7b1393752
commit fec312eb54
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
bugfixes:
- opentelemetry callback plugin - honour the ``disable_logs`` option to avoid storing task results since they are not used regardless (https://github.com/ansible-collections/community.general/pull/8373).