Nov 06, 2023
Long query sanitization, debug logging and other improvements
Ruby3.4.14
Changed
- Add an exponential backoff to the retry sleep time to bind to the StatsD, NGINX and OpenTelemetry HTTP ports. This gives the agent a longer time to connect to the ports if they become available within a 4 minute window.
- Sanitize SQL queries before truncating them. This fixes an issue where long SQL queries would be truncated at arbitrary points.
- Logs from the agent and extension now use a more consistent format for spans and transactions.
- The "debug" log level should now be enough for debugging most support issues.
- Add
memory_in_percentages
andswap_in_percentages
host metrics that represents metrics in percentages. - Ignore
/snap/
disk mountpoints when measuring disk usage in volumes. - Fix issue with the open span count in logs being logged as a negative number.
- Fix agent's OpenTelemetry HTTP server getting stuck when two requests are made within the same fraction of a second.
See the Ruby gem 3.4.14 changelog for more information.