2.1.31 "Irati" - Jun 28, 2022
Windows:
- Update base Python interpreter for Windows MSI package from 3.8 to 3.10.
- Upgrade various bundled dependencies (pywin32, orjson, urllib3, six).
Bug fixes:
- Fix a regression introduced in v2.1.29 which would cause the agent to inadvertently skip connectivity check on startup.
- Default value for
check_remote_if_no_ttyconfig option isFalse. Previously the changelog entry incorrectly stated it defaults toTrue. This means that a connectivity check is not performed on startup if tty is not available. - Fix a bug in syslog monitor on Windows under Python 3 which would prevent TCP handler from working.
- Fixed agent checkpoint selection bug that could cause old log files to be re-uploaded.
- Small bug with command line argument parsing for the Agent. Agent raised unhandled exception instead of normal argparse error message when agent main command wasn't specified.
- Fix a bug in the Agent's custom JSON parser, which did not raise error on unexpected ending of the JSON document which might be caused by a JSON syntax error.
Docker images:
- Upgrade orjson dependency
Other:
- Monitor
emit_value()method now correctly sanitizes / escapes metric field names which are "reserved" (logfile, metric, value, serverHost, instance, severity). This is done to prevent possible collisions with special / reserved metric event attribute names which could cause issues with some queries. Metric field names which are escaped get added_suffix (e.g.metricbecomesmetric_). - Upgrade dependency
requestslibrary to 2.25.1.