mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-31 00:51:23 -07:00
[opentelemetry][callback] Add support for http exporter (#8321)
* [opentelemetry][callback] Add support for http exporter The previous version of the callback was supporting only the grpc exporter. This was counter intuitive as the documentation was mentioning `<your endpoint (OTLP/HTTP)>`. Users were left with a error similar to `Transient error StatusCode.UNAVAILABLE encountered while exporting traces to <endpoint>, retrying in 1s.` The following commit fix this situation by support both HTTP and GRPC via the standard environment variables and ansible.cfg See as well https://github.com/ansible-collections/community.general/issues/7888 Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> * [opentelemetry][callback] Take into account review Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com> --------- Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>
This commit is contained in:
parent
fabf6263f1
commit
6889e0478d
2 changed files with 39 additions and 4 deletions
2
changelogs/fragments/8321-fix-opentelemetry-callback.yml
Normal file
2
changelogs/fragments/8321-fix-opentelemetry-callback.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- opentelemetry - add support for HTTP trace_exporter and configures the behavior via ``OTEL_EXPORTER_OTLP_TRACES_PROTOCOL`` (https://github.com/ansible-collections/community.general/issues/7888, https://github.com/ansible-collections/community.general/pull/8321).
|
Loading…
Add table
Add a link
Reference in a new issue