2.1.32 "Occao" - July 27, 2022
Windows:
- Fix bug in Windows System Metrics and Windows Process Metrics monitor where user wasn't able to override / change default sampling rating of 30 seconds (
sample_intervalmonitor config option). - Update Windows Process Metrics monitor to log a message in case process with the specified pid / command line string is not found when retrieving process metrics.
- Update Windows Process Metrics monitor to throw an error in case invalid monitor configuration is specified (neither "pid" nor "commandline" config option is specified or both config options which are mutually exclusive are specified).
Bug fixes:
- Fix a bug with
import_varsfunctionality which didn't work correctly when the same variable name prefix was used (e.g.SCALYR_FOO_TEST,SCALYR_FOO). - Fix a bug with handling the log file of the Kubernetes Event Monitor twice, which led to duplication in the agent's status.
- Fix a bug in scalyr-agent-2-config
--export-config,import-configoptions caused by Python 2 and 3 code incompatibility. - Fix a bug with the wrong executable
scalyr-agent-2-configin Docker and Kubernetes, due to which it could not be used.
Docker images:
- Upgrade various dependencies: orjson, requests, zstandard, lz4, docker.
Other:
- Support for Python 2.6 has been dropped.
- Support for
ujsonJSON library (json_libraryconfiguration option) has been removed in favor oforjson. - Update agent log messages to include full name of the module which produced the message.