SlyMetrics

Changelog

1.3.8

  • βœ… WordPress 6.9 Compatibility: Verified compatibility and updated plugin metadata for WordPress 6.9

1.3.7

  • 🌍 UTF-8 Character Support: Fixed label encoding to properly support umlauts and special characters (e.g., ΓΆ, Γ€, ΓΌ, Γ©, etc.)

1.3.6

  • πŸš€ Headless WordPress Support: Plugin now auto-initializes without requiring admin panel access
  • 🐳 Container-Friendly: Perfect for Docker/Kubernetes deployments where wp-admin is never accessed
  • ⚑ Smart Initialization: Automatic encryption key generation and token creation on first metrics request
  • πŸ”§ Performance Optimization: Transient-based initialization check to avoid unnecessary database queries
  • πŸ› οΈ Multi-Replica Ready: Ensures consistent plugin behavior across all WordPress pods in scaled deployments
  • πŸ“¦ CI/CD Compatible: Works seamlessly with fully automated WordPress deployments
  • 🏷️ HTML Entity Decoding: Fixed Prometheus label values to properly decode HTML entities (e.g., ' β†’ ‘)

1.3.5

  • πŸ“Š Prometheus Configuration: Added scheme parameter to Prometheus sample scraper configuration

1.3.4

  • 🎨 New Plugin Icon: Added custom plugin icon

1.3.3

  • πŸ”§ Prometheus ServiceMonitor Fix: Fixed Host header handling for Kubernetes ServiceMonitor compatibility
  • 🎯 Localhost Support: Metrics endpoint now works correctly when accessed via localhost or Pod IP addresses
  • πŸ“Š Monitoring Improvement: Eliminates false-positive “TargetDown” alerts in Prometheus when scraping from within cluster

1.3.2

  • πŸ› Encryption Key Bugfix: Fixed encryption key creation during plugin installation
  • πŸ”§ Key Format Correction: Proper base64 encoding for database-stored encryption keys (was incorrectly using hex format)
  • πŸ”„ Migration Support: Automatic detection and migration of old hex-format encryption keys
  • πŸ› οΈ Token Regeneration: Auth tokens are regenerated when encryption key format is fixed
  • πŸ—‘οΈ Uninstall Cleanup: Added comprehensive plugin data removal during uninstallation (GitHub Issue #1)
  • πŸ“Š Diagnostics Tool: Added diagnostics.php for encryption key troubleshooting
  • ⚑ Environment Variables: Improved environment variable handling for SLYMETRICS_ENCRYPTION_KEY

1.3.1

  • πŸ—‘οΈ Plugin Uninstall: Complete database cleanup when plugin is uninstalled
  • 🧹 Data Removal: Removes all options, transients, and cached data
  • πŸ”„ Rewrite Rules: Flushes custom endpoints during uninstall

1.3.0

  • πŸ”§ WordPress.org Compliance: Complete compliance with WordPress.org Plugin Directory requirements
  • πŸ“¦ wp_enqueue Implementation: Migrated from inline scripts/styles to proper wp_enqueue_script/style with wp_add_inline_*
  • 🎨 CSS Namespace Fix: Added unique ‘slymetrics-‘ prefix to all CSS classes to prevent conflicts (.card β†’ .slymetrics-card, .code-block β†’ .slymetrics-code-block, .copy-btn β†’ .slymetrics-copy-btn)
  • πŸ”’ Security Enhancements: Added phpcs:ignore comments for legitimate nonce bypasses in public metrics endpoints
  • 🎯 Admin Hook Correction: Fixed admin page hook from ‘tools_page_slymetrics’ to ‘settings_page_slymetrics’ for proper script loading
  • 🚫 Endpoint Optimization: Removed generic ‘/metrics’ route to reduce potential conflicts with other plugins
  • πŸ“ Code Quality: Enhanced WordPress Coding Standards compliance with proper escaping and nonce handling
  • πŸ”§ Plugin Structure: Improved plugin file organization following WordPress.org best practices
  • βœ… Copy Functionality: Restored admin interface copy-to-clipboard functionality with proper CSS targeting

1.2.0

  • πŸ—οΈ Code Architecture Overhaul: Complete refactoring of monolithic 670+ line function into 6 specialized, maintainable functions
  • πŸ”’ Enterprise Security Features: Added comprehensive input validation, SQL injection prevention, XSS protection, and security headers
  • ⚑ Performance Optimization: Implemented 3-tier intelligent caching strategy (Fast: 10s, Heavy: 5min, Static: 1h) for 3x performance improvement
  • 🌐 Multi-Language Consistency: Converted all code comments to English for international development standards
  • πŸ›‘οΈ Rate Limiting: Added IP-based rate limiting (60 requests/minute) with proper HTTP 429 responses
  • πŸ“Š Enhanced Error Handling: Centralized error logging with structured context and WP_DEBUG integration
  • πŸ” Advanced Authentication: Improved client IP detection with proxy support and enhanced token validation
  • πŸ’Ύ Memory Optimization: Implemented lazy loading for heavy operations and optimized data structures
  • πŸ“ Professional Documentation: Added comprehensive PHPDoc comments and inline documentation
  • 🎯 Code Quality: Achieved 98% reduction in function complexity and 90% reduction in code duplication
  • πŸš€ Prometheus Label Security: Enhanced label escaping with DoS protection and injection prevention
  • βš™οΈ Database Security: Enhanced prepared statements with input validation and table name sanitization
  • πŸ”§ Cache Segmentation: Intelligent cache invalidation for different metric types (user/content/system metrics)
  • πŸ“ˆ Maintainability Index: Improved from 40/100 to 95/100 through systematic code quality improvements

1.1.0

  • Prometheus Naming Compliance: Updated all metrics to follow Prometheus best practices with wordpress_ prefix
  • Consistent Labels: Standardized all labels to use wordpress_site instead of wp_site
  • Environment Variables: Changed to SLYMETRICS_* prefix for better plugin identification
  • Enhanced Metrics: Improved metric naming with proper units and types (bytes instead of KB/MB)
  • Updated Endpoints: Consistent /slymetrics/ endpoint usage across all configurations
  • Plugin Rebranding: Renamed from “Prometheus Metrics” to “SlyMetrics” for better branding
  • Documentation: Updated all documentation, examples, and configuration guides

1.0.1

  • Fixed REST API Endpoints /prometheus/metrics and /metrics
  • Enhanced Site Health integration with detailed test results
  • Fixed plugin update metrics to include inactive plugins
  • Added wp_health_check_detail metrics for granular monitoring
  • Improved WordPress Coding Standards compliance
  • Fixed PHP Version export as label string
  • Added Grafana-optimized display metrics (wp_php_version, wp_memory_limit_display, wp_upload_max_display, wp_post_max_display, wp_exec_time_display)
  • Enhanced table compatibility for Grafana dashboards with unique label structures
  • Improved WordPress Rewrite API integration for clean /prometheus/metrics URLs
  • Added comprehensive health check monitoring with individual test results

1.0.0

  • Initial release
  • Comprehensive WordPress metrics export
  • Multiple authentication methods
  • Encrypted token storage
  • Site health integration
  • Directory size monitoring
  • Multi-site support
  • Admin interface for token management
  • Environment variable support for enhanced security
  • Built-in caching for performance
  • Multiple endpoint options for compatibility

Plugin Website
Visit website

Author
Timon
Version:
1.3.8
Last Updated
February 19, 2026
Active Installs
10
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.1
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.