Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iurisilvio/elastic-apm-1912
https://github.com/iurisilvio/elastic-apm-1912
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iurisilvio/elastic-apm-1912
- Owner: iurisilvio
- Created: 2023-11-13T20:41:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-14T08:43:03.000Z (about 1 year ago)
- Last Synced: 2023-11-15T00:26:22.396Z (about 1 year ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible don't close elastic-apm client properly
https://github.com/ansible-collections/community.general/issues/7518
https://github.com/elastic/apm-agent-python/issues/1912A small example to validate elastic connection closing.
Start an apm-server in `http://localhost:8200` and run `tox` to execute some
scenarios:* py311-urllib3bad: After ansible execution, a `Closing the transport connection timed out.`
is logged. The test finish successfully, look for the output.
* py311-urllib3good: Using urllib3<=1.26.15 don't trigger any error, because of
old (thread-unsafe) urllib3 behavior.Other two scenarios apply a patch to close the `apm_cli`, like before, but now
both works:* py311-urllib3badpatched
* py311-urllib3goodpatched