Releases: scalyr/scalyr-agent-2
Releases · scalyr/scalyr-agent-2
Ithkul
Features:
- Added
journald_monitorfor collecting logs from a localjournaldservice. Requires installation of the Pythonsystemdlibrary. - Added
garbage_monitorfor debugging memory consumption issues in the agent. - Added
verify_k8s_api_queriesoption to thekubernetes_monitorto allow disabling SSL verification on local API calls.
Bug fixes:
- Fixed issues causing the
linux_process_metrics_monitorto throw exceptions when the monitored process dies. - Additional debug flags to aide in investigating memory issues with the agent.
Horta
Features:
- Relaxed configuration rules to allow for any config option to be specified in a configuration fragment in the
agent.ddirectory.
Bug fixes:
- Fixed bug in
linux_process_metricsthat would generate errors when a monitored process died - Fixed issue in the docker and kubernetes monitors that would prevent the agent from sending logs from short lived containers
- Fixed issue in the docker and kubernetes monitors that could cause the tail end of a containers logs to not be uploaded after it exits
- Fixed issue in docker monitor where the
metrics_onlyconfig option was not being obeyed. - Added various options to help investigate memory leak
Fallers
- Added kubernetes support with introduction of new kubernetes monitor along with kubernete image published on dockerhub.com under scalyr/scalyr-k8s-agent. See online documentation for more information.
- Added
network_interface_suffixoption tolinux_system_metricsmonitor to control regular expression used to validate interfaces names. Additionally, widened existing rule to accept letters at the end of the interface name. - Added
aggregate_multiple_processestolinux_process_metricswhich allows multiple processes to be matched by process matching rule. The reported metrics will include the statistics from all matching processed. - Added
include_child_processestolinux_process_metricsto include all child processes from the matched process in the reported metrics.
Ewoks
Features:
- Changed default for
max_line_sizeto 9900 to match new largermessagefield support on the server.
Bug fixes:
- Fixed bug causing the Docker plugin to
leakfile descriptors as new containers were added while using thedocker_apimode.
Dyson Aliens
Features:
- Support to parse log lines written as a JSON object to extract line content before sending to Scalyr. You may turn this on by setting
parse_lines_as_jsontotruein your log configuration stanza for a particular file. This is useful when uploading raw Docker logs. - Read the Scalyr api key from an environment variable
- Add support for
PUTrequests to thehttp_monitor. - Add support for replacing redacted values with a hash of the actual value. See the redaction documentation for more details.
Bug fixes:
- Fix win32 build such that it correctly pulls packages from the third party repository. This fixes a bug resulting in SOCK5 proxy support not working under Windows.
Changling
New features:
- Upgraded
requestslibrary to support new proxy protocols such asSOCKS5. To useSOCKS5, use either thesocks5orsocks5hprotocol when specifying the proxy address (socks5resolves DNS addresses locally, whereassocks5hresolves addresses at theSOCKS5server).
For example, to use a SOCKS5 proxy to proxy traffic to Scalyr, you would add the following to your agent.json configuration file:
use_requests_lib: true, // Proxy support requires use of the request library.
https_proxy: "socks5://yoursocksserver.company.com:8080” // Replace with your SOCKS5 address
Bug fixes:
- Fix bug preventing multiple instances of the
syslog_monitorfrom logging to separate log files.
Borg
2.0.27 "Borg" - Jun 2, 2017
New features:
- Added new option
report_container_metricstodocker_monitorto allow disabling of gathering and reporting metrics for each Docker container.
Bug fixes:
- Fix recent breakage causing the
run_monitorcode to fail. - Fix error / warning logging in
syslog_monitorto better capture issues with Docker support.
Anomine
New features:
- Added feature to allow completely disabling the use of the Docker socket in certain Docker configurations.
- New
max_log_sizeandmax_log_rotationsconfiguration options that can be used to set the maximum length an agent-generated log file can grow before it is rotated and the maximum number of rotations to keep.
Bug fixes:
- Fix bug preventing rotated Docker files from being deleted
- Fix bug that resulted in
https_proxyand ``http_proxy` configuration options being ignored.
Zany Zebra
New features:
- Docker integration: Old docker log files will be deleted after unused for 1 day (by default).
- Change to pidfile format in preparation for better
systemdsupport
Bug fixes:
- Syslog/Docker fix that was causing logs being uploaded with default parser instead of user-specified parser
- Minor fixes for BMP unicode
Yucky Yak
New features:
- New
rename_logfileoption to change the file name and path for a log file when uploading it to Scalyr. - New
copy_from_startoption to instruct the agent to copy a log file from its start when it first matches. - New metric in
linux_system_metricsto record number of CPUs used by a machine. Metric name issys.cpu.count. - New
strip_domain_from_default_server_hostconfiguration option to remove any domain name fromserverHostwhen using the default value.
Bug fixes:
- Syslog/Docker fix that generated a
port already in useerror when reading new configuration file - Syslog/Docker fix that caused dropped log lines when write rate exceeded certain threshold
- Syslog CPU performance improvements