Hydrus
Features:
- Add new
initial_stopped_container_collection_windowconfiguration option to the Kubernetes monitor, which can be configured by setting theSCALY_INITIAL_STOPPED_CONTAINER_COLLECTION_WINDOWenvironment variable. By default, the Scalyr Agent does not collect the logs from any pods stopped before the agent was started. To override this, set this parameter to the number of seconds the agent will look in the past (before it was started). It will collect logs for any pods that was started and stopped during this window. This can be useful in autoscaling environments to ensure all pod logs are captured since node creation, even if the Scalyr Agent daemonset starts just after other pods.
Improvements:
- Improve logging in the Kubernetes monitor.
- On agent start up we now also log the locale (language code and encoding) used by the agent process. This will make it easier to troubleshoot issues which are related to the agent process not using UTF-8 coding.
- Default value for
tcp_buffer_sizeSyslog monitor config option has been increased from 2048 to 8192 bytes. - New
message_size_can_exceed_tcp_bufferconfig option has been added to Syslog monitor. When set to True, monitor will support messages which are larger thantcp_buffer_sizebytes in size andtcp_buffer_sizeconfig option will tell how much bytes we try to read from the socket at once / in a single recv() call. For backward compatibility reasons, it defaults to False.
Bug fixes:
- Fix a bug / race-condition in Docker monitor which could cause, under some scenarios, when monitoring containers running on the same host, logs to stop being ingested after the container restart. There was a relatively short time window when this could happen and it was more likely to affect containers which take longer to stop / start.
- Update code for all the monitors to correctly use UTC timezone everywhere. Previously some of the code incorrectly used local server time instead of UTC. This means some of those monitors could exhibit incorrect / undefined behavior when running the agent on a server which has local time set to something else than UTC.
- Fix
docker_raw_logs: falsefunctionality in the Docker monitor which has been broken for a while now. - Update Windows System Metrics monitor to better handle a situation when disk io counters are not available.