跳到内容

SlyMetrics

v1.4.1

Timon · 2025年9月29日 上架

A comprehensive WordPress plugin that exports WordPress metrics in Prometheus format for monitoring and observability.

正在使用
60+
评分
暂无
累计下载
2,727
最近更新
2026年4月16日
需要 WordPress 5.0+已测试到 7.0.9PHP 7.4+

贡献者

截图

Admin settings page for endpoint
Admin settings page for endpoint
Admin settings page for authentication methods
Admin settings page for authentication methods
Admin settings page for user sampels
Admin settings page for user sampels
Grafana dashboard displaying WordPress metrics and health status
Grafana dashboard displaying WordPress metrics and health status
Grafana dashboard displaying WordPress metrics and health status
Grafana dashboard displaying WordPress metrics and health status
Grafana dashboard selectable Websites
Grafana dashboard selectable Websites

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:

  1. Bearer Token (Recommended)
  2. API Key (URL Parameter)
  3. 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/slybase/wordpress-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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums