Releases: scalyr/scalyr-agent-2
Releases · scalyr/scalyr-agent-2
2.2.8 "Marcus" - Nov 20, 2023
Features:
- Added allow_http_monitors root configuration option. If true it forces monitors to use https instead of http where relevant. By default true for fips docker images, false otherwise.
Bug fixes:
- Tls certificate handling defect in 2.2.4 - #1199
- Python2 support fixed (broken with version 2.2.7)
2.2.4 "Trillian" - Aug 14, 2023
Docker Images / Kubernetes:
- Kubernetes and Docker images switched from Debian to Ubuntu. Python version used in those images now matches Python in this distribution.
- Upgraded bundled Python dependencies to the latest stable versions to include all the latest security fixes (requests==2.28,1, pysnmp==4.4.12, docker==6.1.3)
2.2.3 "Elloria" - Jun 22, 2023
Kubernetes:
- Fix a bug with Kubernetes Events monitor not emitting events for
CronJob
objects when using Kubernetes >= 1.25.0. The bug was related to the API endpoint being promoted fromv1beta
tostable
. The code has been updated to support both locations - old one (beta) and the new one (stable). - Update Kubernetes monitor to also log the value of
SCALYR_COMPRESSION_LEVEL
environment variable on start up. Contributed by @MichalKoziorowski-TomTom #1104.
2.2.2 "Pollux" - Apr 26, 2023
Improvements:
- Support SSL connections to PostgreSQL
Kubernetes:
- Kubernetes ClusterRole resource definition now includes Argo Rollouts. The agent won't receive permission errors anymore when it interrogates Argo Rollout resources.
2.2.1 "Frosty" - Mar 29, 2023
Other:
- Added new Linux
deb
andrpm
packages that are shipped with its own Python interpreter, so agent does not have to rely on system Python interpreter anymore. Please refer to the RELEASE_NOTES document, for more information.
Bug fixes:
- Fix bug in the Docker monitor which would, under some edge cases, cause a specific log messages to be logged very often and as such, exhausting the CPU cycles available to the Docker monitor.
2.1.40 "Onone" - Jan 19, 2023
Docker Images / Kubernetes
- Docker images now are built against Python:3.8.16 image. Debian and Alpine based Docker images have also been updated to include all the latest security updates for the system packages.
2.1.39 "Hroderich" - December 15, 2022
Kubernetes:
- Support
Rollout
controllers from argo-rollouts as a source of server metadata with which to annotate events.
2.1.38 "Zaotune" - December 1, 2022
Kubernetes:
- Add
securityContext.allowPrivilegeEscalation: false
annotation to the Scalyr Agent DaemonSet container specification. - Fix bug that caused logging of the Kubernetes cache stats to agent status.
- More accurate docker.mem.usage metric (no longer includes filesystem cache).
- Monitor leader election algorithm now uses pods in the owning ReplicaSet or DaemonSet.
Windows:
- Add support for placeholder parameter (ie %%1234) replacement in event data.
Other
- Added support for
--debug
flag to the scalyr-agent-2 status command. When this flag is used, agent prints additional debug related information with the status output. NOTE: Right now it's only supported with the healthcheck option (--health_check
,-H
).
2.1.37 "Penvolea" - October 17, 2022
Kubernetes:
- Fix a bug / edge case in the Kubernetes caching PodProcessor code which could cause an agent to get stuck in an infinite loop when processing controllers which have a custom Kind which is not supported by the agent defined. Contributed by #xdvpser #998 #999.
- Allows user to configure Docker client library connection timeout and maximum connection pool size when using Docker container enumerator via new
k8s_docker_client_timeout
andk8s_docker_client_max_pool_size
config option.
Docker Images:
- Upgrade Linux Docker images to use Python 3.8.14.
- Upgrade docker-py dependency to v6.0.0.
- Upgrade orjson and yappi dependency to the latest stable version (3.8.0 and 1.3.6).
Windows:
- Upgrade agent Windows binary to use Python 3.10.7.
- Fix a bug where under some scenarios log record would not contain "message" attribute.
Other:
- Log how long it took (in milliseconds) to read data from socket when we encounter HTTP errors (e.g. connection aborted, connection reset, etc.).
- Log which version of docker-py and requests Python library is being used so it's easier to spot if bundled / vendored or system version is used.
2.1.36 "Corrntos" - September 15, 2022
Windows:
- The monitor field is set to
windows_event_log_monitor
in thewindows_event_log
monitor if thejson
config option is true. - Proper handling of forwarded windows events (ie handling of EvtOpenPublisherMetadata exceptions) in the
windows_event_log
monitor.