Endora
Features:
- Ability to upload logs to different Scalyr team accounts by specifying different API keys for different log files. See RELEASE_NOTES for more details.
- New configuration option
default_workers_per_api_keywhich creates more than one session with the Scalyr servers to increase upload throughput. This may be set using theSCALYR_DEFAULT_WORKERS_PER_API_KEYenvironment variable. - New configuration option
use_multiprocess_copying_workerswhich uses separate processes for each upload session, thereby providing more CPU resources to the agent. This may be set using theSCALYR_USE_MULTIPROCESS_COPYING_WORKERSenvironment variable.
Improvements: - Linux system metrics monitor now ignores the following special mounts points by default:
/sys/*,/dev*,/run*. If you want still capturedf.*metrics for those mount points, please refer to RELEASE_NOTES. - Update
url_monitorso it sends correctUser-Agentheader which identifies requests are originating from the agent.
Misc:
- The default value for the
k8s_cri_query_filesystemKubernetes monitor config option (set via theSCALYR_K8S_CRI_QUERY_FILESYSTEMenvironment var) has changed toTrue. This means that by default when in CRI mode, the monitor will only query the filesystem for the list of active containers, rather than first querying the Kubelet API. If you wish to revert to the original default to prefer using the Kubelet API, setSCALYR_K8S_CRI_QUERY_FILESYSTEMthe environment variable to "false" for the Scalyr Agent daemonset. - New
global_monitor_sample_interval_enable_jitterconfig option has been added which is enabled by default. When this option is enabled, random sleep between 2/10 and 8/10 of the configured monitor sample gather interval is used before gathering the sample for the first time. This ensures that sample gathering for all the monitors doesn't run at the same time. This comes in handy when running agent configured with many monitors on lower powered devices to spread the monitor sample gathering related load spike across a longer time frame.
Bug fixes:
- Fix to make sure we don't expect a valid Docker socket when running Kubernetes monitor in CRI mode. This fixes an issue preventing the K8s monitor from running in CRI mode if Docker is not available.
- Fix line grouping code and make sure we don't throw if line data contains bad or partial unicode escape sequence.
- Fix
scalyr_agent/run_monitor.pyscript so it also works correctly out of the box when using source code installation. - Update Windows System Metrics monitor to better handle a situation when disk io counters are not available.
- Docker monitor has been fixed that when running in "API mode" (
docker_raw_logs: false) it also correctly ingests logs from containerstderr. Previously only logs fromstdouthave been ingested.