New Features:
-
PostgreSQL Diagnostics: Added support for capturing PostgreSQL database diagnostics using the yc-360 script. The script collects diagnostic data related to slow queries, blocked sessions, table bloat, and capacity issues. When database log files are accessible, it also captures deadlocks, timeouts, and errors. See the documentation for more details
-
JFR Recording Options: Added support for JFR recordings using the JDK's default settings, profile settings, or custom .jfc files through the jfrSettings option. Introduced the excludeSensitiveData option to exclude environment variables and system properties from JFR recordings.
-
Node.js Memory Profiling: Introduced an opt-in Node.js memory profiling feature (-nodejsMemoryProfile) that identifies functions responsible for allocating memory that remains in use, without requiring a heap dump. This feature performs a full GC, which may cause a pause in the application.
-
Node.js Process Overview in M3: Added a process overview for Node.js applications in every M3 sample, including heap usage, active resources, and worker details.
-
Disk Usage Monitoring in M3: Enhanced M3 to capture and upload disk usage metrics during every monitoring cycle.
-
Startup Configuration Logging: M3 and API modes now log their active configuration at startup, making configuration issues easier to identify and troubleshoot.
Improvements:
-
Extended Application Log Capture: Increased the default application log capture limit from 10,000 to 100,000 lines. This limit can be customized using the appLogLineCount option.
-
Enhanced Startup Configuration Validation: Strengthened configuration validation to detect invalid settings at startup:
-
Improved Error Messages: Enhanced error messages to provide clearer explanations and actionable guidance for resolving issues related to missing or invalid arguments, missing server URLs or API keys, nonexistent log paths, and JVMs started with attach functionality disabled.
-
Enhanced Command Timeout Handling: Improved the -cmdTimeout option to terminate commands that exceed the configured timeout and automatically proceed with alternative data collection methods.
-
M3 mode now validates that processTokens is configured and contains no blank entries.
-
Prevents startup when m3Frequency is set to zero.
-
Validates whether -appRuntime matches the target process. M3 and API modes skip processes that do not match.
-
Detects arguments missing the required - prefix instead of silently ignoring them.