Lasso
Features:
- Add copy truncate log rotation support. This is enabled by default. It does not support copy truncate with compression unless the
delaycompressoption is used. This feature can be disabled by settingenable_copy_truncate_log_rotation_supportto false.
Improvements:
- Add new
tcp_request_parserandtcp_message_delimiterconfig option. Valid values fortcp_request_parserincludedefaultandbatch. New TCP recv batch oriented request parser is much more efficient than the default one and should be a preferred choice in most situations. For backward compatibility reasons, the default parser hasn't been changed yet. shell_monitornow outputs two additional metrics during each sample gather interval -durationandexit_code. First one represents how many seconds it took to execute the shell command / script and the second one represents that script exit (status).
Misc:
- On startup and when parsing a config file, agent now emits a warning if the config file is readable by others.
- Add the config option
enable_worker_process_metrics_gatherto enable 'linux_process_metrics' monitor for each multiprocess worker. - Each session, which runs in a separate process, periodically writes its stats in the log file. The interval between writes can be changed by using the
default_worker_session_status_message_interval - Rename some of the configuration parameters:
use_miltiprocess_copying_workerstouse_multiprocess_workers,default_workers_per_api_keytodefault_sessions_per_api_key. Previous option names are preserved for the backward compatibility but they are marked as deprecated. NOTE: The appropriate environment variable names are changed too. - Update docker monitor so we don't log some non-fatal errors under warning log level when consuming logs using Docker API.
- Add support for
compression_type: noneconfig option which completely disables compression for outgoing requests. Right now one of the main bottle necks in the high volume scenarios in the agent is compression operation. Disabling it can, in some scenarios, lead to large increase to the overall throughput (up to 2x). Disabling the compression will in most cases result in larger data egress traffic which may incur additional charges on your infrastructure provider so this option should never be set tononeunless explicitly advised by the technical support. - Linux system metrics monitor has been updated to also ignore
/var/lib/docker/*and/snap/*mount points by default. Capturing metrics for those mount points usually offers no additional insight to the end user. For information on how to change the ignore list via configuration option, please see RELEASE_NOTES. - The agent install bash script now adds the Scalyr repositories directly without installing the
scalyr-repopackages. This also eliminates errors caused by re-acquiring the package manager's lock file during the pre/post install/uninstall scripts. The issue occurred in bothaptandrpmpackage managers.
Security fixes and improvements:
- Agent installation artifacts have been updated so the default
agent.jsonfile which is bundled with the agent is not readable by "other" system users by default anymore. For more context, details and impact, please see RELEASE_NOTES.