Millenium Falcon
czerwingithub
released this
31 Mar 01:20
·
1016 commits
to release
since this release
Features
- Major update of code base to support running under Python 2 and 3. See release notes for more information.
- Agent now supports Python 2.6, 2.7 and >= 3.5
- When installing using RPM or Debian, Python 2 will be used by default unless unavailable.
- The Python version used to run the Agent may be controlled using the
scalyr-switch-python
command. - The K8s manifest files have been changed to run the Agent in the
scalyr
namespace instead of thedefault
namespace. When updating an existing Scalyr Agent K8s instance, you must follow the upgrade instructions described in the upgrade notes. - RPM and Debian packages no longer declare dependency on Python to promote cross-distribution compatibility. The dependency is now verified at package install time.
- Added option to
scalyr-agent-2 status -v
to emit JSON (--format=[text|json]
). - Add new
metric_name_blacklist
supported attribute to each monitor configuration section. With this attribute, user can define a list of metric names which should be excluded and not shipped to Scalyr. - Add support for
orjson
JSON library when running under Python 3. This library offers significantly better performance and can be enabled by settingjson_library
config option toorjson
and installingorjson
Python package using pip.
Bugs
- Fix authentication issue in
kubernetes_monitor
when accessing kublet API. - Better error messages issued when missing required certificate files.
- Updated Kubernetes manifest file to use
apps/v1
for DaemonSet API version instead of beta version. - Update scalyr client code to log raw uncompressed body under debug log level to aid with troubleshooting.
- Metric type for
app.disk.requests.{read,write}
metrics has been fixed. - Fix
iostat
monitor so it also works with newer versions of Linux kernel. - Fix invalid extra field for two
tomcat.runtime.threads
metrics in the Tomcat monitor (all of the metrics had type set tomax
whereas one should have type set toactive
and the other tobusy
).
Minor updates
- The
/etc/init.d/scalyr-agent-2
symlink is no longer marked as a conf file in Debian packages. - Update of embedded ecsda library to 0.13.3
- Docker support now requires the docker 4.1 client library
- Changed which signal is used to execute
scalyr-agent-2 status -v
under Linux to improve handling of SIGINT. PreviouslySIGINT
was used, nowSIGUSR1
is used. - When running in foreground mode (
--no-fork
flag), SIGINT signal (aka CTRL+C) now starts the graceful shutdown procedure. - Two new metrics (
app.io.wait
,app.mem.majflt
) are now emitted by the Linux process monitor. If you want those metrics to be excluded for your monitors, you can utilize newmetric_name_blacklist
monitor config option.
Testing updates
- Numerous changes to improve testing and coverage reporting