• v0.7.4 73ba7fb929

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

    magdev released this 2026-02-03 09:52:59 +00:00 | 3 commits to main since this release

    Added

    • Prometheus Metrics Integration: Expose license and API metrics for monitoring
      • New "Metrics" settings tab with enable/disable toggle
      • License gauges: total by status, lifetime, expiring, expiring soon
      • Download gauges: total downloads, active versions count
      • API counters: requests by endpoint/result, rate limit exceeded events, validation errors by type
      • Requires WP Prometheus plugin

    New Files

    • src/Metrics/PrometheusController.php - Prometheus metrics collection and registration

    Technical Details

    • Hooks into wp_prometheus_collect_metrics action for metric collection
    • API counters stored persistently in WordPress options (wclp_prometheus_counters)
    • Static methods for incrementing counters from API controllers
    • Metrics only collected when enabled in settings
    Downloads