
Admin settings page for endpoint
The SlyMetrics WordPress plugin is a powerful monitoring plugin that exports comprehensive WordPress metrics in Prometheus format. Perfect for DevOps teams and system administrators who want to monitor their WordPress sites using modern observability tools.
Key Features:
- Prometheus Naming Compliance – All metrics follow Prometheus best practices with consistent naming
- Secure Authentication – Multiple authentication methods with encrypted token storage and rate limiting
- Comprehensive Metrics – WordPress users, posts, pages, plugins, themes, comments, categories, tags, and media
- Advanced Monitoring – WordPress version tracking, autoload performance, PHP configuration, database size
- Site Health Integration – WordPress Site Health API integration for security and performance monitoring
- Directory Size Monitoring – Track uploads, themes, and plugins directory sizes with intelligent caching
- REST API Integration – Uses native WordPress REST API with enhanced security
- Performance Optimization – 3-tier caching system with lazy loading and memory optimization
- Enterprise Security – Input validation, SQL injection prevention, XSS protection, and security headers
- Environment Variable Support – Enhanced security with external encryption key management
- Admin Interface – User-friendly settings page with token management
- Multi-Site Support – All metrics include site labels for multi-site filtering
- Grafana Optimized – Display-friendly metrics specifically designed for clean table visualizations
- Clean URL Support – WordPress Rewrite API integration for /slybase/metrics endpoints
- Professional Code Quality – Enterprise-grade architecture with comprehensive error handling
Available Metrics:
- User counts per role
- Post and page statistics by status
- Plugin and theme information
- Comment statistics
- WordPress version and update status
- Database and directory sizes
- PHP configuration details
- Site health check results
- Grafana-optimized display metrics for clean table visualizations
- Individual health check test results with detailed descriptions
- And much more…
Authentication Methods:
- Bearer Token (Recommended)
- API Key (URL Parameter)
- WordPress Administrator (Automatic access for logged-in admins)
Security Features:
- AES-256-CBC encryption for token storage
- Environment variable support for encryption keys
- Secure random token generation
- Multiple fallback authentication methods
- Enterprise-grade input validation and sanitization
- Advanced SQL injection prevention
- XSS and CSRF protection with security headers
- Rate limiting with IP-based throttling
- Enhanced client IP detection with proxy support
Performance Features:
- 3-tier intelligent caching strategy
- Lazy loading for heavy operations
- Memory-optimized data structures
- Database query optimization
- Segmented cache invalidation
- Background processing for directory scans
Additional Information
GitHub Repository: https://github.com/slydlake/slymetrics
Grafana Dashboard: Included in the plugin package for comprehensive WordPress monitoring.
Support: For issues and feature requests, please visit the GitHub repository.
Security: For enhanced security in production, use environment variables for encryption keys and implement network-level access controls. Version 1.2.0 includes enterprise-grade security features including rate limiting, input validation, and comprehensive protection against common web vulnerabilities.