{"id":252165,"date":"2025-09-29T18:36:59","date_gmt":"2025-09-29T18:36:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/prometheus-metrics\/"},"modified":"2026-02-19T16:36:32","modified_gmt":"2026-02-19T16:36:32","slug":"slymetrics","status":"publish","type":"plugin","link":"https:\/\/ta-lk.wordpress.org\/plugins\/slymetrics\/","author":13775390,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.8","stable_tag":"1.3.8","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"SlyMetrics","header_author":"Timon F\u00f6rst","header_description":"Export comprehensive WordPress metrics in Prometheus format for monitoring and observability.","assets_banners_color":"","last_updated":"2026-02-19 16:36:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/slydlake\/slymetrics","header_author_uri":"https:\/\/github.com\/slydlake","rating":0,"author_block_rating":0,"active_installs":20,"downloads":968,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.2":{"tag":"1.3.2","author":"TimonF","date":"2025-09-29 18:36:31"},"1.3.3":{"tag":"1.3.3","author":"TimonF","date":"2025-11-01 12:01:33"},"1.3.4":{"tag":"1.3.4","author":"TimonF","date":"2025-11-05 21:42:24"},"1.3.5":{"tag":"1.3.5","author":"TimonF","date":"2025-11-08 13:18:46"},"1.3.6":{"tag":"1.3.6","author":"TimonF","date":"2025-11-08 23:18:30"},"1.3.7":{"tag":"1.3.7","author":"TimonF","date":"2025-11-10 18:46:08"},"1.3.8":{"tag":"1.3.8","author":"TimonF","date":"2026-02-19 16:36:32"}},"upgrade_notice":{"1.3.8":"<p>WordPress 6.9 compatibility update: Plugin metadata now declares testing with WordPress 6.9.<\/p>","1.3.6":"<p>Headless WordPress support: Plugin now auto-initializes on first request without requiring admin access. Perfect for containerized, and Kubernetes deployments where wp-admin is never accessed.<\/p>","1.3.3":"<p>Important fix for Kubernetes\/Prometheus users: Resolves Host header issues that caused metrics endpoints to return 404 when accessed from ServiceMonitors. Highly recommended for containerized deployments.<\/p>","1.3.2":"<p>Critical bugfix: Fixes encryption key creation during installation. Existing installations will be automatically migrated. Plugin now properly removes all data during uninstall.<\/p>","1.3.1":"<p>Adds proper plugin uninstall functionality with complete database cleanup. No action required for existing installations.<\/p>","1.3.0":"<p>WordPress.org compliance update: Proper wp_enqueue implementation, unique CSS classes, and security improvements. Fully backward compatible with enhanced admin interface.<\/p>","1.2.0":"<p>Major enterprise upgrade: 3x performance boost, advanced security (rate limiting, input validation), intelligent caching, and professional code architecture. Fully backward compatible.<\/p>","1.1.0":"<p>Major update with Prometheus naming compliance and rebranding to SlyMetrics. All metric names have changed from <code>wp_*<\/code> to <code>wordpress_*<\/code> and labels from <code>wp_site<\/code> to <code>wordpress_site<\/code>. Update your Prometheus queries and Grafana dashboards accordingly.<\/p>","1.0.0":"<p>Initial release of Prometheus Metrics Wordpress Plugin. Install to start monitoring your WordPress site with Prometheus and Grafana.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3390717,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3390717,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3390717,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3369957,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3369957,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3369957,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3369957,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3369957,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3369957,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Admin settings page for endpoint","2":"Admin settings page for authentication methods","3":"Admin settings page for user sampels","4":"Grafana dashboard displaying WordPress metrics and health status","5":"Grafana dashboard displaying WordPress metrics and health status","6":"Grafana dashboard selectable Websites"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3283,5603,248562,247,248561],"plugin_category":[54],"plugin_contributors":[248563],"plugin_business_model":[],"class_list":["post-252165","plugin","type-plugin","status-publish","hentry","plugin_tags-metrics","plugin_tags-monitoring","plugin_tags-observability","plugin_tags-performance","plugin_tags-prometheus","plugin_category-security-and-spam-protection","plugin_contributors-timonf","plugin_committers-timonf"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/slymetrics\/assets\/icon.svg?rev=3390717","icon":"https:\/\/ps.w.org\/slymetrics\/assets\/icon.svg?rev=3390717","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-1.png?rev=3369957","caption":"Admin settings page for endpoint"},{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-2.png?rev=3369957","caption":"Admin settings page for authentication methods"},{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-3.png?rev=3369957","caption":"Admin settings page for user sampels"},{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-4.png?rev=3369957","caption":"Grafana dashboard displaying WordPress metrics and health status"},{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-5.png?rev=3369957","caption":"Grafana dashboard displaying WordPress metrics and health status"},{"src":"https:\/\/ps.w.org\/slymetrics\/assets\/screenshot-6.png?rev=3369957","caption":"Grafana dashboard selectable Websites"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Prometheus Naming Compliance<\/strong> - All metrics follow Prometheus best practices with consistent naming<\/li>\n<li><strong>Secure Authentication<\/strong> - Multiple authentication methods with encrypted token storage and rate limiting<\/li>\n<li><strong>Comprehensive Metrics<\/strong> - WordPress users, posts, pages, plugins, themes, comments, categories, tags, and media<\/li>\n<li><strong>Advanced Monitoring<\/strong> - WordPress version tracking, autoload performance, PHP configuration, database size<\/li>\n<li><strong>Site Health Integration<\/strong> - WordPress Site Health API integration for security and performance monitoring<\/li>\n<li><strong>Directory Size Monitoring<\/strong> - Track uploads, themes, and plugins directory sizes with intelligent caching<\/li>\n<li><strong>REST API Integration<\/strong> - Uses native WordPress REST API with enhanced security<\/li>\n<li><strong>Performance Optimization<\/strong> - 3-tier caching system with lazy loading and memory optimization<\/li>\n<li><strong>Enterprise Security<\/strong> - Input validation, SQL injection prevention, XSS protection, and security headers<\/li>\n<li><strong>Environment Variable Support<\/strong> - Enhanced security with external encryption key management<\/li>\n<li><strong>Admin Interface<\/strong> - User-friendly settings page with token management<\/li>\n<li><strong>Multi-Site Support<\/strong> - All metrics include site labels for multi-site filtering<\/li>\n<li><strong>Grafana Optimized<\/strong> - Display-friendly metrics specifically designed for clean table visualizations<\/li>\n<li><strong>Clean URL Support<\/strong> - WordPress Rewrite API integration for \/slybase\/metrics endpoints<\/li>\n<li><strong>Professional Code Quality<\/strong> - Enterprise-grade architecture with comprehensive error handling<\/li>\n<\/ul>\n\n<p><strong>Available Metrics:<\/strong><\/p>\n\n<ul>\n<li>User counts per role<\/li>\n<li>Post and page statistics by status<\/li>\n<li>Plugin and theme information<\/li>\n<li>Comment statistics<\/li>\n<li>WordPress version and update status<\/li>\n<li>Database and directory sizes<\/li>\n<li>PHP configuration details<\/li>\n<li>Site health check results<\/li>\n<li>Grafana-optimized display metrics for clean table visualizations<\/li>\n<li>Individual health check test results with detailed descriptions<\/li>\n<li>And much more...<\/li>\n<\/ul>\n\n<p><strong>Authentication Methods:<\/strong><\/p>\n\n<ol>\n<li>Bearer Token (Recommended)<\/li>\n<li>API Key (URL Parameter)<\/li>\n<li>WordPress Administrator (Automatic access for logged-in admins)<\/li>\n<\/ol>\n\n<p><strong>Security Features:<\/strong><\/p>\n\n<ul>\n<li>AES-256-CBC encryption for token storage<\/li>\n<li>Environment variable support for encryption keys<\/li>\n<li>Secure random token generation<\/li>\n<li>Multiple fallback authentication methods<\/li>\n<li>Enterprise-grade input validation and sanitization<\/li>\n<li>Advanced SQL injection prevention<\/li>\n<li>XSS and CSRF protection with security headers<\/li>\n<li>Rate limiting with IP-based throttling<\/li>\n<li>Enhanced client IP detection with proxy support<\/li>\n<\/ul>\n\n<p><strong>Performance Features:<\/strong><\/p>\n\n<ul>\n<li>3-tier intelligent caching strategy<\/li>\n<li>Lazy loading for heavy operations<\/li>\n<li>Memory-optimized data structures<\/li>\n<li>Database query optimization<\/li>\n<li>Segmented cache invalidation<\/li>\n<li>Background processing for directory scans<\/li>\n<\/ul>\n\n<h3>Additional Information<\/h3>\n\n<p><strong>GitHub Repository:<\/strong> https:\/\/github.com\/slydlake\/slymetrics<\/p>\n\n<p><strong>Grafana Dashboard:<\/strong> Included in the plugin package for comprehensive WordPress monitoring.<\/p>\n\n<p><strong>Support:<\/strong> For issues and feature requests, please visit the GitHub repository.<\/p>\n\n<p><strong>Security:<\/strong> 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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>In Wordpress: Install the plugin in the plugin section. Manual: Download and upload the plugin files to the <code>\/wp-content\/plugins\/slymetrics\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Navigate to 'Settings' \u2192 'SlyMetrics' to configure authentication tokens<\/li>\n<li>Copy your Bearer Token or API Key for use in your Prometheus configuration<\/li>\n<li>Configure your Prometheus server to scrape the metrics endpoint<\/li>\n<\/ol>\n\n<p>For detailed information take a look on the Github Page https:\/\/github.com\/slydlake\/slymetrics<\/p>\n\n<p><strong>Prometheus Configuration Example:<\/strong><\/p>\n\n<pre><code>`yaml\n<\/code><\/pre>\n\n<p>scrape_configs:\n  - job_name: 'wordpress'\n    static_configs:\n      - targets: ['yoursite.com']\n    metrics_path: '\/slymetrics\/metrics'\n    authorization:\n      type: Bearer\n      credentials: 'your_bearer_token_here'\n    scrape_interval: 60s\n    `<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20endpoints%20are%20available%20for%20metrics%3F\"><h3>What endpoints are available for metrics?<\/h3><\/dt>\n<dd><p>The plugin provides multiple endpoint options:<\/p>\n\n<ul>\n<li>Primary: <code>\/slymetrics\/metrics<\/code> (requires permalink support)<\/li>\n<li>Alternative: <code>\/slymetrics<\/code> (requires permalink support)<\/li>\n<li>REST API: <code>\/wp-json\/slymetrics\/v1\/metrics<\/code><\/li>\n<li>Fallback: <code>\/index.php?rest_route=\/slymetrics\/v1\/metrics<\/code><\/li>\n<li>Query parameter: <code>\/?slymetrics=1<\/code><\/li>\n<\/ul><\/dd>\n<dt id=\"do%20i%20need%20to%20configure%20apache%20or%20nginx%3F\"><h3>Do I need to configure Apache or Nginx?<\/h3><\/dt>\n<dd><p>No! The plugin works out-of-the-box without requiring server configuration changes. Fallback URLs are automatically provided if rewrites don't work.<\/p><\/dd>\n<dt id=\"how%20secure%20is%20the%20authentication%3F\"><h3>How secure is the authentication?<\/h3><\/dt>\n<dd><p>Extremely secure with enterprise-grade features. All tokens are encrypted using AES-256-CBC with unique initialization vectors. Version 1.2.0 adds comprehensive security enhancements including input validation, SQL injection prevention, XSS protection, rate limiting (60 requests\/minute), and security headers. You can also use environment variables for the encryption key in production.<\/p><\/dd>\n<dt id=\"what%20metrics%20are%20exported%3F\"><h3>What metrics are exported?<\/h3><\/dt>\n<dd><p>The plugin exports comprehensive metrics including user counts, post\/page statistics, plugin\/theme information, database sizes, PHP configuration, site health data, and much more. All metrics include site labels for multi-site environments.<\/p><\/dd>\n<dt id=\"can%20i%20use%20this%20with%20multi-site%20wordpress%3F\"><h3>Can I use this with multi-site WordPress?<\/h3><\/dt>\n<dd><p>Yes! All metrics include site labels, making it perfect for monitoring multi-site WordPress installations.<\/p><\/dd>\n<dt id=\"what%20are%20the%20system%20requirements%3F\"><h3>What are the system requirements?<\/h3><\/dt>\n<dd><ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<li>OpenSSL PHP extension (recommended for encryption)<\/li>\n<li>WordPress administrator access for configuration<\/li>\n<li>Minimum 64MB PHP memory limit (recommended 128MB for optimal performance)<\/li>\n<li>Database with InnoDB support for performance metrics<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.8<\/h4>\n\n<ul>\n<li><strong>\u2705 WordPress 6.9 Compatibility<\/strong>: Verified compatibility and updated plugin metadata for WordPress 6.9<\/li>\n<\/ul>\n\n<h4>1.3.7<\/h4>\n\n<ul>\n<li><strong>\ud83c\udf0d UTF-8 Character Support<\/strong>: Fixed label encoding to properly support umlauts and special characters (e.g., \u00f6, \u00e4, \u00fc, \u00e9, etc.)<\/li>\n<\/ul>\n\n<h4>1.3.6<\/h4>\n\n<ul>\n<li><strong>\ud83d\ude80 Headless WordPress Support<\/strong>: Plugin now auto-initializes without requiring admin panel access<\/li>\n<li><strong>\ud83d\udc33 Container-Friendly<\/strong>: Perfect for Docker\/Kubernetes deployments where wp-admin is never accessed<\/li>\n<li><strong>\u26a1 Smart Initialization<\/strong>: Automatic encryption key generation and token creation on first metrics request<\/li>\n<li><strong>\ud83d\udd27 Performance Optimization<\/strong>: Transient-based initialization check to avoid unnecessary database queries<\/li>\n<li><strong>\ud83d\udee0\ufe0f Multi-Replica Ready<\/strong>: Ensures consistent plugin behavior across all WordPress pods in scaled deployments<\/li>\n<li><strong>\ud83d\udce6 CI\/CD Compatible<\/strong>: Works seamlessly with fully automated WordPress deployments<\/li>\n<li><strong>\ud83c\udff7\ufe0f HTML Entity Decoding<\/strong>: Fixed Prometheus label values to properly decode HTML entities (e.g., &#039; \u2192 ')<\/li>\n<\/ul>\n\n<h4>1.3.5<\/h4>\n\n<ul>\n<li><strong>\ud83d\udcca Prometheus Configuration<\/strong>: Added scheme parameter to Prometheus sample scraper configuration<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li><strong>\ud83c\udfa8 New Plugin Icon<\/strong>: Added custom plugin icon<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li><strong>\ud83d\udd27 Prometheus ServiceMonitor Fix<\/strong>: Fixed Host header handling for Kubernetes ServiceMonitor compatibility<\/li>\n<li><strong>\ud83c\udfaf Localhost Support<\/strong>: Metrics endpoint now works correctly when accessed via localhost or Pod IP addresses<\/li>\n<li><strong>\ud83d\udcca Monitoring Improvement<\/strong>: Eliminates false-positive \"TargetDown\" alerts in Prometheus when scraping from within cluster<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li><strong>\ud83d\udc1b Encryption Key Bugfix<\/strong>: Fixed encryption key creation during plugin installation<\/li>\n<li><strong>\ud83d\udd27 Key Format Correction<\/strong>: Proper base64 encoding for database-stored encryption keys (was incorrectly using hex format)<\/li>\n<li><strong>\ud83d\udd04 Migration Support<\/strong>: Automatic detection and migration of old hex-format encryption keys<\/li>\n<li><strong>\ud83d\udee0\ufe0f Token Regeneration<\/strong>: Auth tokens are regenerated when encryption key format is fixed<\/li>\n<li><strong>\ud83d\uddd1\ufe0f Uninstall Cleanup<\/strong>: Added comprehensive plugin data removal during uninstallation (GitHub Issue #1)<\/li>\n<li><strong>\ud83d\udcca Diagnostics Tool<\/strong>: Added diagnostics.php for encryption key troubleshooting<\/li>\n<li><strong>\u26a1 Environment Variables<\/strong>: Improved environment variable handling for SLYMETRICS_ENCRYPTION_KEY<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li><strong>\ud83d\uddd1\ufe0f Plugin Uninstall<\/strong>: Complete database cleanup when plugin is uninstalled<\/li>\n<li><strong>\ud83e\uddf9 Data Removal<\/strong>: Removes all options, transients, and cached data<\/li>\n<li><strong>\ud83d\udd04 Rewrite Rules<\/strong>: Flushes custom endpoints during uninstall<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>\ud83d\udd27 WordPress.org Compliance<\/strong>: Complete compliance with WordPress.org Plugin Directory requirements<\/li>\n<li><strong>\ud83d\udce6 wp_enqueue Implementation<\/strong>: Migrated from inline scripts\/styles to proper wp_enqueue_script\/style with wp_add_inline_*<\/li>\n<li><strong>\ud83c\udfa8 CSS Namespace Fix<\/strong>: Added unique 'slymetrics-' prefix to all CSS classes to prevent conflicts (.card \u2192 .slymetrics-card, .code-block \u2192 .slymetrics-code-block, .copy-btn \u2192 .slymetrics-copy-btn)<\/li>\n<li><strong>\ud83d\udd12 Security Enhancements<\/strong>: Added phpcs:ignore comments for legitimate nonce bypasses in public metrics endpoints<\/li>\n<li><strong>\ud83c\udfaf Admin Hook Correction<\/strong>: Fixed admin page hook from 'tools_page_slymetrics' to 'settings_page_slymetrics' for proper script loading<\/li>\n<li><strong>\ud83d\udeab Endpoint Optimization<\/strong>: Removed generic '\/metrics' route to reduce potential conflicts with other plugins<\/li>\n<li><strong>\ud83d\udcdd Code Quality<\/strong>: Enhanced WordPress Coding Standards compliance with proper escaping and nonce handling<\/li>\n<li><strong>\ud83d\udd27 Plugin Structure<\/strong>: Improved plugin file organization following WordPress.org best practices<\/li>\n<li><strong>\u2705 Copy Functionality<\/strong>: Restored admin interface copy-to-clipboard functionality with proper CSS targeting<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li><strong>\ud83c\udfd7\ufe0f Code Architecture Overhaul<\/strong>: Complete refactoring of monolithic 670+ line function into 6 specialized, maintainable functions<\/li>\n<li><strong>\ud83d\udd12 Enterprise Security Features<\/strong>: Added comprehensive input validation, SQL injection prevention, XSS protection, and security headers<\/li>\n<li><strong>\u26a1 Performance Optimization<\/strong>: Implemented 3-tier intelligent caching strategy (Fast: 10s, Heavy: 5min, Static: 1h) for 3x performance improvement<\/li>\n<li><strong>\ud83c\udf10 Multi-Language Consistency<\/strong>: Converted all code comments to English for international development standards<\/li>\n<li><strong>\ud83d\udee1\ufe0f Rate Limiting<\/strong>: Added IP-based rate limiting (60 requests\/minute) with proper HTTP 429 responses<\/li>\n<li><strong>\ud83d\udcca Enhanced Error Handling<\/strong>: Centralized error logging with structured context and WP_DEBUG integration<\/li>\n<li><strong>\ud83d\udd10 Advanced Authentication<\/strong>: Improved client IP detection with proxy support and enhanced token validation<\/li>\n<li><strong>\ud83d\udcbe Memory Optimization<\/strong>: Implemented lazy loading for heavy operations and optimized data structures<\/li>\n<li><strong>\ud83d\udcdd Professional Documentation<\/strong>: Added comprehensive PHPDoc comments and inline documentation<\/li>\n<li><strong>\ud83c\udfaf Code Quality<\/strong>: Achieved 98% reduction in function complexity and 90% reduction in code duplication<\/li>\n<li><strong>\ud83d\ude80 Prometheus Label Security<\/strong>: Enhanced label escaping with DoS protection and injection prevention<\/li>\n<li><strong>\u2699\ufe0f Database Security<\/strong>: Enhanced prepared statements with input validation and table name sanitization<\/li>\n<li><strong>\ud83d\udd27 Cache Segmentation<\/strong>: Intelligent cache invalidation for different metric types (user\/content\/system metrics)<\/li>\n<li><strong>\ud83d\udcc8 Maintainability Index<\/strong>: Improved from 40\/100 to 95\/100 through systematic code quality improvements<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li><strong>Prometheus Naming Compliance<\/strong>: Updated all metrics to follow Prometheus best practices with <code>wordpress_<\/code> prefix<\/li>\n<li><strong>Consistent Labels<\/strong>: Standardized all labels to use <code>wordpress_site<\/code> instead of <code>wp_site<\/code><\/li>\n<li><strong>Environment Variables<\/strong>: Changed to <code>SLYMETRICS_*<\/code> prefix for better plugin identification<\/li>\n<li><strong>Enhanced Metrics<\/strong>: Improved metric naming with proper units and types (bytes instead of KB\/MB)<\/li>\n<li><strong>Updated Endpoints<\/strong>: Consistent <code>\/slymetrics\/<\/code> endpoint usage across all configurations<\/li>\n<li><strong>Plugin Rebranding<\/strong>: Renamed from \"Prometheus Metrics\" to \"SlyMetrics\" for better branding<\/li>\n<li><strong>Documentation<\/strong>: Updated all documentation, examples, and configuration guides<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed REST API Endpoints \/prometheus\/metrics and \/metrics<\/li>\n<li>Enhanced Site Health integration with detailed test results<\/li>\n<li>Fixed plugin update metrics to include inactive plugins<\/li>\n<li>Added wp_health_check_detail metrics for granular monitoring<\/li>\n<li>Improved WordPress Coding Standards compliance<\/li>\n<li>Fixed PHP Version export as label string<\/li>\n<li>Added Grafana-optimized display metrics (wp_php_version, wp_memory_limit_display, wp_upload_max_display, wp_post_max_display, wp_exec_time_display)<\/li>\n<li>Enhanced table compatibility for Grafana dashboards with unique label structures<\/li>\n<li>Improved WordPress Rewrite API integration for clean \/prometheus\/metrics URLs<\/li>\n<li>Added comprehensive health check monitoring with individual test results<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Comprehensive WordPress metrics export<\/li>\n<li>Multiple authentication methods<\/li>\n<li>Encrypted token storage<\/li>\n<li>Site health integration<\/li>\n<li>Directory size monitoring<\/li>\n<li>Multi-site support<\/li>\n<li>Admin interface for token management<\/li>\n<li>Environment variable support for enhanced security<\/li>\n<li>Built-in caching for performance<\/li>\n<li>Multiple endpoint options for compatibility<\/li>\n<\/ul>","raw_excerpt":"A comprehensive WordPress plugin that exports WordPress metrics in Prometheus format for monitoring and observability.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/252165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=252165"}],"author":[{"embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/timonf"}],"wp:attachment":[{"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=252165"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=252165"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=252165"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=252165"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=252165"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ta-lk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=252165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}