• 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 | 10 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