2.1.34 "Tadongolia" - August 30, 2022
Improvements:
- Add support for tracemalloc based memory profiler (
"memory_profiler": "tracemalloc"config option). Keep in mind that tracemalloc is only available when running the agent under >= Python 3.5. - Add new
memory_profiler_max_itemsconfig option which sets maximum number of items by memory usage reported by the memory profiler. - Add new
enable_cpu_profilingandenable_memory_profilingconfig option with which user can enable either CPU or memory profiler, or both. Existingenable_profilingconfig behavior didn't change and setting it totruewill enable both profilers (CPU and memory). - Allow user to specify additional trace filters (path globs) for tracemalloc memory profiler using
memory_profiler_ignore_path_globsconfig option. (e.g.memory_profiler_ignore_path_globs: ["**/scalyr_agent/util.py", "**/scalyr_agent/json_lib/**"]). - Update syslog_monitor to ignore errors when decoding data from bytes into unicode if data falls outside of the utf-8 range.
Bug fixes:
- Update windows_event_log_monitor to handle embedded double quotes in fields.