airfleet/airfleet-monitoring-plugin

Project releases

airfleet-monitoring-plugin

Release 1.3.0

Sentry events are skipped while the plugin is being installed or updated.

GitHub
View full changelog

Added

  • Skip sending Sentry events when airfleet_plugin_manager_install_in_progress transient is active (set by Plugin Manager during plugin install/update)
airfleet-monitoring-plugin

Release 1.2.0

Deprecated errors from known vendor paths are filtered out and non-critical errors from other plugins are skipped.

GitHub
View full changelog

Changed

  • Filtered out deprecated errors from known vendor paths (thecodingmachine/safe) in Airfleet plugins to reduce Sentry noise from third-party package deprecations.

Fixed

  • Skip non-critical errors from non-Airfleet plugins.
airfleet-monitoring-plugin

Release 1.1.3

Corrected an uncaught TypeError where the return value must be of type array.

GitHub
View full changelog

Fixed

  • Fixed error Uncaught TypeError: Return value must be of type array
airfleet-monitoring-plugin

Release 1.1.2

Fixed a warning about the incorrect call to the _load_textdomain_just_in_time function.

GitHub
View full changelog

Fixed

  • Fixed warning Notice: Function _load_textdomain_just_in_time was called incorrectly
airfleet-monitoring-plugin

Release 1.1.0

Adds monitoring settings and performance optimizations including lazy Sentry initialization and caching, while fixing payload calculation bugs.

GitHub
View full changelog

Added

  • Added Settings tab under Tools > Monitoring
  • Added option to configure daily cron hour (default: 3 AM)
  • Added option to enable/disable PageSpeed test during data collection
  • Added filter airfleet/monitoring/skip_pagespeed to skip PageSpeed test
  • Added filter airfleet/monitoring/skip_dir_sizes to skip directory size calculations
  • Added source_type tag to Sentry events for filtering (airfleet, third-party-plugin, third-party-theme, wp-core)

Changed

  • Sentry SDK now initializes lazily only when an error occurs (significant performance improvement)
  • Optimized user counting with direct SQL query instead of loading all users into memory
  • Optimized post/taxonomy counting by eliminating duplicate wp_count_posts() calls
  • Directory sizes are now cached for 24 hours to reduce filesystem overhead
  • Directory sizes are now always recalculated during cron jobs to ensure fresh data is sent
  • PageSpeed test failure no longer fails the entire data collection job
  • Plugin activation now skips PageSpeed and directory size calculations to prevent timeout
  • Sentry now tracks critical errors (E_ERROR, E_PARSE, etc.) from all sources including third-party plugins, themes, and WP core
  • Sentry tracks all error severities for Airfleet plugins but only critical errors for non-Airfleet sources
  • Fatal errors in shutdown handler are now tracked regardless of source
  • No longer throws exceptions during Sentry initialization, only log them

Fixed

  • Fixed Sentry payload being calculated 2-3x on cold cache due to transient timing bug
airfleet-monitoring-plugin

Release 1.0.2

Fixed a fatal error in multisite by ensuring Sentry is initialized after plugins are loaded

GitHub
View full changelog

Fixed

  • Fixed fatal error in multisite by ensuring Sentry is initialized after plugins are loaded
airfleet-monitoring-plugin

Release 1.0.1

Fixed a deprecation issue by migrating to WP_REST_Site_Health_Controller.

GitHub
View full changelog

Fixed

  • Fixed deprecation issue with getting sizes using WP_Debug_Data, migration to WP_REST_Site_Health_Controller.
airfleet-monitoring-plugin

Release 1.0.0

Switched package manager to Bun and updated dependencies.

GitHub
View full changelog

Changed

  • Added plugin dependencies in main plugin file (Requires Plugins metadata field)
  • Internal: Increased Node.js version requirement to >=24
  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.0.0
  • Internal: Bump composer dependency airfleet/wordpress-dev to ^4.0.0
  • Internal: Switched package manager to Bun
  • Internal: Updated linters and development tools
  • Internal: Updated configuration for development tools
  • Internal: Moved configuration sections from package.json to dedicated config files
  • Internal: Updated browserslist configuration
  • Internal: Updated package.json scripts to use Airfleet CLI
  • Internal: Updated README.md to remove Getting Started and Documentation sections
  • Internal: Updated Plugin URI metadata field in main plugin file
  • Internal: Updated GitHub workflows
  • Internal: Updated scoper.custom.php to add excluded constants for WordPress and WooCommerce requests
  • Bump composer dependency airfleet/wordpress-framework to ^1.19.1
  • Bump composer dependency sentry/sentry to ^4.19.1
airfleet-monitoring-plugin

Release 0.13.0

Disable sending data for local environment.

GitHub
View full changelog

Changed

  • Disable sending data for local environment.
airfleet-monitoring-plugin

Release 0.12.0

PageSpeed is disabled in the local environment.

GitHub
View full changelog

Changed

  • Disable running PageSpeed for local environment.
airfleet-monitoring-plugin

Release 0.11.0

Added separate PageSpeed call next to push.

GitHub
View full changelog

Changed

  • Added separate PageSpeed call next to push.
airfleet-monitoring-plugin

Release 0.10.0

Increased push timeout to 60 seconds for longer tasks.

GitHub
View full changelog

Changed

  • Increased push timeout to 60 seconds to expect more long task in case of PageSpeed.
airfleet-monitoring-plugin

Release 0.9.0

Frontend error tracking is now disabled by default, with an added filter to re-enable it.

GitHub
View full changelog

Removed

  • Disabled tracking frontend errors by default.
  • Disabled tracking for third-party plugins.
  • Disabled tracking deprecated errors for non-platform and legacy themes when fired from theme's files.

Added

  • Added filter airfleet/monitoring/frontend_enabled to enable/disable the frontend tracking (disabled by default).
airfleet-monitoring-plugin

Release 0.8.2

Fixed issue with monitoring data indexing discouraged messages not being sent correctly.

GitHub
View full changelog

Fixed

  • Fixed issue with the monitoring data Indexing discouraged not being sent correctly.
airfleet-monitoring-plugin

Release 0.8.0

Environment information is now included in monitoring data.

GitHub
View full changelog

Added

  • Added Environment info to the monitoring data.
airfleet-monitoring-plugin

Release 0.7.0

Added two new tracking events for monitoring data updates.

GitHub
View full changelog

Added

  • Added tracking event airfleet_monitoring_data_update by clicking the Update Data button.
  • Added tracking event airfleet_monitoring_data_updated after sending new data.
airfleet-monitoring-plugin

Release 0.6.0

Reduced Sentry replays session sample rate to 0.01 and fixed theme type detection

GitHub
View full changelog

Changed

  • Sentry: Reduced replaysSessionSampleRate to 0.01.

Fixed

  • Sentry: Fixed theme type detection
airfleet-monitoring-plugin

Release 0.5.0

Sentry integration updated with various improvements and changes.

GitHub
View full changelog

Changed

  • Sentry: Disabled integration for local environments.
  • Sentry: Updated to only track errors and asserts, in regards to console messages.
  • Sentry: Reduced traceSampleRate to 0.1.
  • Sentry: Added site title to context.
  • Sentry: Additional error protection. When initialization fails and it catches the error, the error will be silent on production, but will still throw on other environments.
  • Sentry: Improved stack trace file paths, fingerprint rules, and issues titles.
airfleet-monitoring-plugin

Release 0.4.1

Added error handling for data retrieval and fixed Sentry SDK and plugin issues.

GitHub
View full changelog

Changed

  • Added try/catch when getting data.

Fixed

  • Fixed TypeError in Sentry SDK caused by not having a current user email.
  • Fixed get_plugins missing function.
airfleet-monitoring-plugin

Release 0.4.0

Added Sentry integration for error tracking, including sending PHP and JavaScript errors to Sentry.

GitHub
View full changelog

Added

  • Sentry integration for error tracking
  • Sending PHP errors to Sentry for any users
  • Sending JS errors to Sentry for logged in users

Changed

  • Internal: Added .airfleet-license and .airfleet-visible
airfleet-monitoring-plugin

Release 0.3.0

Added various monitoring information and improved history table display.

GitHub
View full changelog

Added

  • Added common info: Site Title, WordPress Version, Is Multisite, Is IndexingDiscouraged.
  • Added languages info: Backend Languages, WPML Languages, Is WPML Multi Language.
  • Added plugins info: Total Count, Total Airfleet Count, and for each plugin Name, Slug, Folder, Filename, Version, Is Active.
  • Added posts info: Total Published Posts Count, Name, Label, Status, Post Count.
  • Added taxonomies info: Name, Label, Post Count.
  • Added users info: Total Users, Airfleet Users.
  • Added views info: Total Views Count, Views Count by type, and separate counts for Theme/Non-Theme views.
  • Added server info: WordPress Size, Themes Size, Plugins Size, Uploads Size, Database Size, Total Installation Size, Web Server, PHP version, PHP Memory Limit, PHP Time Limit, PHP Input Time, PHP Max Upload Filesize, PHP Post Max Size, Database Server Version, Constants WP_MEMORY_LIMIT, WP_DEBUG, WP_CACHE, WP_MAX_MEMORY_LIMIT.

Changed

  • History table shows nested tables for better readability.
airfleet-monitoring-plugin

Release 0.2.0

A button has been added to manually run a task that pushes monitoring data to the Worker.

GitHub
View full changelog

Added

  • Button to manually run task to push monitoring data to the Worker
airfleet-monitoring-plugin

Release 0.1.0

Added a cron job that runs daily, monitors site and theme information, and filters monitoring data.

GitHub
View full changelog

Added

  • Added cron job (runs daily)
  • Monitor basic site and theme info (domain and theme info)
  • Added filter airfleet/monitoring/data to filter monitoring data