• v0.9.0 13fd25f84c

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

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

    Added

    • Prometheus Metrics Integration:
      • New src/Integration/Prometheus.php class for metrics collection
      • Integration with wp-prometheus plugin via wp_prometheus_collect_metrics hook
      • Inventory metrics: buildings total, rooms by status, services by status
      • Booking metrics: bookings by status, check-ins/check-outs today, upcoming 7 days, avg duration
      • Guest metrics: total guests, guests by status, repeat guests, new guests this month
      • Occupancy metrics: current rate, monthly rate, occupied rooms, total bed capacity
      • Revenue metrics: this month, YTD, average booking value, services revenue
    • Grafana Dashboard:
      • Pre-configured dashboard at assets/grafana/wp-bnb-dashboard.json
      • Automatic registration with wp-prometheus dashboard provider
      • Occupancy gauges with color-coded thresholds
      • Pie charts for bookings, rooms, and guests by status
      • Revenue and guest statistics panels
      • Responsive grid layout with 24 panels
    • Settings page Metrics tab:
      • Enable/disable metrics collection toggle
      • WP Prometheus detection with status indicator
      • Complete metrics reference table
      • Dashboard file location and export info

    Changed

    • Plugin.php updated to initialize Prometheus integration
    • Settings page now has six tabs: General, Pricing, License, Updates, Metrics
    Downloads