• v0.5.1 52fd6da1d1

    Release 0.5.1
    All checks were successful
    Create Release Package / test (push) Successful in 43s
    Create Release Package / build-release (push) Successful in 49s
    Stable

    magdev released this 2026-03-07 16:20:21 +00:00 | 0 commits to main since this release

    Fixed

    • Custom metric name sanitization: sanitize_key() was stripping colons and lowercasing names, silently mangling valid Prometheus metric names (e.g. my:Custom_metric became mycustom_metric). Added dedicated sanitize_metric_name() that preserves valid Prometheus characters.

    Changed

    • Consolidated 3 separate transient COUNT queries into a single query with conditional aggregation for better database performance.
    • Deduplicated inline HPOS check in WooCommerce customer metrics to use existing is_hpos_enabled() method.
    • Added license domain binding for authorized deployment domains.
    Downloads
  • v0.5.0 9a94b4a7a5

    Release 0.5.0
    All checks were successful
    Create Release Package / test (push) Successful in 1m13s
    Create Release Package / build-release (push) Successful in 1m17s
    Stable

    magdev released this 2026-02-26 07:42:13 +00:00 | 1 commits to main since this release

    Added

    • Comprehensive PHPUnit test suite with 189 tests and 329 assertions:
      • CustomMetricBuilderTest (35 tests) - validation, CRUD, import/export
      • AuthenticationTest (13 tests) - Bearer token, query param, header extraction
      • StorageFactoryTest (25 tests) - adapter config, env vars, connection testing
      • RuntimeCollectorTest (22 tests) - endpoint normalization, histograms, singleton
      • DashboardProviderTest (27 tests) - registration validation, path traversal security
      • InstallerTest (11 tests) - activation, deactivation, uninstall cleanup
      • CollectorTest (10 tests) - registry, metric registration, render output
      • MetricsEndpointTest (5 tests) - rewrite rules, request routing
    • Test bootstrap with WordPress function stubs and GlobalFunctionState helper
    • CI/CD test job in Gitea release workflow that gates release builds
    • php-mock/php-mock-phpunit dependency for mocking WordPress functions in namespaced code

    Changed

    • Release pipeline now requires passing tests before building release packages
    Downloads
  • v0.4.8 9bfed06466

    Release 0.4.8
    All checks were successful
    Create Release Package / build-release (push) Successful in 54s
    Stable

    magdev released this 2026-02-07 10:44:24 +00:00 | 4 commits to main since this release

    Fixed

    • Fixed _load_textdomain_just_in_time notice on admin pages (WordPress 6.7+ compatibility)
    • Deferred load_plugin_textdomain() to init action instead of plugins_loaded
    • Deferred Settings tab label and DashboardProvider initialization to avoid early translation loading
    Downloads
  • v0.4.7 3b71a0f7c9

    Release 0.4.7
    All checks were successful
    Create Release Package / build-release (push) Successful in 56s
    Stable

    magdev released this 2026-02-03 18:28:07 +00:00 | 7 commits to main since this release

    Added

    • Database query duration distribution panel in Grafana Runtime dashboard
    • wordpress_db_query_duration_seconds metric now listed in Help tab
    • Documentation for enabling SAVEQUERIES constant for query timing

    Changed

    • Updated README with instructions for enabling database query timing
    • Grafana Runtime dashboard now includes bucket distribution chart for DB queries
    Downloads
  • v0.4.6 5aaa73ec24

    Release 0.4.6
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m5s
    Stable

    magdev released this 2026-02-03 10:16:51 +00:00 | 8 commits to main since this release

    Added

    • Dashboard extension hook wp_prometheus_register_dashboards for third-party plugins
    • Third-party plugins can now register their own Grafana dashboard templates
    • Support for file-based and inline JSON dashboard registration
    • "Extension" badge for third-party dashboards in admin UI
    • Plugin attribution display for third-party dashboards
    • Security: Path traversal protection for registered dashboard files
    • Isolated mode support for dashboard registration hook

    Changed

    • DashboardProvider now supports both built-in and third-party registered dashboards
    • Dashboard cards show source (built-in vs extension) with visual distinction
    Downloads
  • v0.4.5 e5f2edbafa

    Release 0.4.5
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m2s
    Stable

    magdev released this 2026-02-02 22:13:02 +00:00 | 9 commits to main since this release

    Fixed

    • Settings now persist correctly across Metrics sub-tabs
    • Auth token no longer gets cleared when saving from Selection sub-tab
    • Enabled metrics no longer get cleared when saving from Endpoint sub-tab
    • Isolated mode setting no longer gets cleared when saving from other sub-tabs

    Changed

    • Split Metrics settings into separate WordPress option groups per sub-tab
    • Each sub-tab now uses its own settings group to prevent cross-tab overwrites
    Downloads
  • v0.4.3 192da4588a

    Release 0.4.3
    All checks were successful
    Create Release Package / build-release (push) Successful in 59s
    Stable

    magdev released this 2026-02-02 20:49:40 +00:00 | 11 commits to main since this release

    Added

    • Sub-tabs navigation within Metrics tab (Endpoint, Selection, Runtime, Advanced)
    • Option to disable early mode in admin settings (Metrics → Advanced)
    • Support for WP_PROMETHEUS_DISABLE_EARLY_MODE environment variable
    • Early mode status display in settings

    Fixed

    • Early mode setting now saves correctly (moved into form with proper settings group)

    Changed

    • Reorganized Metrics tab into logical sub-sections for better usability
    • Early mode can now be disabled for users who need the wp_prometheus_collect_metrics hook
    • Updated translations with sub-tab and early mode strings (English and German)
    Downloads
  • v0.4.2 19d75ab7b2

    Release 0.4.2
    All checks were successful
    Create Release Package / build-release (push) Successful in 56s
    Stable

    magdev released this 2026-02-02 20:09:27 +00:00 | 13 commits to main since this release

    Added

    • Option to disable early mode in admin settings (Metrics tab)
    • Support for WP_PROMETHEUS_DISABLE_EARLY_MODE environment variable
    • Early mode status display in settings

    Changed

    • Early mode can now be disabled for users who need the wp_prometheus_collect_metrics hook for custom metrics
    • Updated translations with new early mode strings (English and German)
    Downloads
  • v0.4.1 41f16a9fbd

    Release 0.4.1
    All checks were successful
    Create Release Package / build-release (push) Successful in 57s
    Stable

    magdev released this 2026-02-02 19:23:41 +00:00 | 15 commits to main since this release

    Fixed

    • Fixed memory exhaustion when wp-fedistream (Twig-based) plugin is active
    • Added early metrics endpoint handler that intercepts /metrics requests before full WordPress initialization
    • Removed content filters (the_content, the_excerpt, get_the_excerpt, the_title) during metrics collection to prevent recursion
    • Skip third-party extensibility hooks during early metrics mode to avoid conflicts
    • Changed template_redirect hook to parse_request for earlier request interception
    Downloads
  • v0.4.0 898af5e9d2

    Release 0.4.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 56s
    Stable

    magdev released this 2026-02-02 15:16:04 +00:00 | 17 commits to main since this release

    Added

    • Persistent Storage Support:
      • Redis storage adapter for shared metrics across multiple instances
      • APCu storage adapter for single-server high-performance caching
      • StorageFactory class for automatic adapter selection and fallback
      • Connection testing with detailed error messages
    • New "Storage" tab in admin settings:
      • Storage adapter selection (In-Memory, Redis, APCu)
      • Redis configuration (host, port, password, database, key prefix)
      • APCu configuration (key prefix)
      • Connection test button
      • Environment variables documentation
    • Environment variable configuration for Docker/containerized environments:
      • WP_PROMETHEUS_STORAGE_ADAPTER - Select storage adapter
      • WP_PROMETHEUS_REDIS_HOST - Redis server hostname
      • WP_PROMETHEUS_REDIS_PORT - Redis server port
      • WP_PROMETHEUS_REDIS_PASSWORD - Redis authentication
      • WP_PROMETHEUS_REDIS_DATABASE - Redis database index (0-15)
      • WP_PROMETHEUS_REDIS_PREFIX - Redis key prefix
      • WP_PROMETHEUS_APCU_PREFIX - APCu key prefix
    • Automatic fallback to In-Memory storage if configured adapter fails
    • Docker Compose example in admin settings

    Changed

    • Settings page now has 6 tabs: License, Metrics, Storage, Custom Metrics, Dashboards, Help
    • Updated translations with all new strings (English and German)
    • Collector now uses StorageFactory for storage adapter instantiation
    Downloads