2.1.33 "Chaavis" - August 17, 2022
Improvements:
- Add option
stop_agent_on_failurefor each monitor's configuration. Iftrue, the agent will stop if the monitor fails. For Kubernetes deployments this istrueby default for the Kubernetes monitor (scalyr_agent.builtin_monitors.kubernetes_monitor). The agent's pod will restart if the monitor fails.
Kubernetes Explorer:
- Update code to calculate per second rate for various metrics used by Kubernetes Explorer on the client (agent) side. This may result in slight CPU and memory usage increase when using Kubernetes Explorer functionality.
Windows:
- Add new
jsonconfig option to thewindows_event_logmonitor. When this option is set to true, events are formatted as JSON.
Other:
- Changed log severity level from
ERRORtoWARNINGfor non-fatal and temporary network client error. - Update agent packages to also bundle new LetsEncrypt CA root certificate (ISRG Root X2). Some of the environments use LetsEncrypt issued certificates.
- Update agent code base to log a warning with the server side SSL certificate in PEM format on SSL certificate validation failure for easier troubleshooting.
- Upgrade various bundled dependencies (orjson, docker).
Bug fixes:
- Set new
stop_agent_on_failuremonitor config option totruein the agent Docker image for Kubernetes deployments. Solves an issue, present in some rare edge cases, where the Kubernetes Monitor (scalyr_agent.builtin_monitors.kubernetes_monitor) exits, but the agent continues to run. The agent's pod will restart if the monitor fails.