Millenium Falcon
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-pythoncommand. - The K8s manifest files have been changed to run the Agent in the
scalyrnamespace instead of thedefaultnamespace. 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 -vto emit JSON (--format=[text|json]). - Add new
metric_name_blacklistsupported 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
orjsonJSON library when running under Python 3. This library offers significantly better performance and can be enabled by settingjson_libraryconfig option toorjsonand installingorjsonPython package using pip.
Bugs
- Fix authentication issue in
kubernetes_monitorwhen accessing kublet API. - Better error messages issued when missing required certificate files.
- Updated Kubernetes manifest file to use
apps/v1for 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
iostatmonitor so it also works with newer versions of Linux kernel. - Fix invalid extra field for two
tomcat.runtime.threadsmetrics in the Tomcat monitor (all of the metrics had type set tomaxwhereas one should have type set toactiveand the other tobusy).
Minor updates
- The
/etc/init.d/scalyr-agent-2symlink 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 -vunder Linux to improve handling of SIGINT. PreviouslySIGINTwas used, nowSIGUSR1is used. - When running in foreground mode (
--no-forkflag), 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_blacklistmonitor config option.
Testing updates
- Numerous changes to improve testing and coverage reporting