You've already forked wp-prometheus
feat: Add WooCommerce, cron, and transient metrics (v0.2.0)
All checks were successful
Create Release Package / build-release (push) Successful in 56s
All checks were successful
Create Release Package / build-release (push) Successful in 56s
- WooCommerce integration metrics (products, orders, revenue, customers) - Cron job metrics (events by hook, overdue count, next run timestamp) - Transient cache metrics (total, expiring, expired) - Support for WooCommerce HPOS storage - Updated settings page with new metric categories - Updated translations and documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# This file is distributed under the GPL v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WP Prometheus 0.1.0\n"
|
||||
"Project-Id-Version: WP Prometheus 0.2.0\n"
|
||||
"Report-Msgid-Bugs-To: https://src.bundespruefstelle.ch/magdev/wp-prometheus/issues\n"
|
||||
"POT-Creation-Date: 2026-02-02T00:00:00+00:00\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -12,184 +12,347 @@ msgstr ""
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: src/Admin/Settings.php:40
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Metrics Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:41
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:58
|
||||
msgid "License Settings"
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:65
|
||||
msgid "Authentication"
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Help"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:73
|
||||
msgid "Default Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:150
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License settings saved."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:195
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License is active and valid."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:196
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License is invalid."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:197
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License has expired."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:198
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License has been revoked."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:199
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License is inactive."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:200
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License has not been validated yet."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:201
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License server is not configured."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Unknown status."
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Expiration date
|
||||
#: src/Admin/Settings.php:214
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Expires: %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Time ago
|
||||
#: src/Admin/Settings.php:225
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Last checked: %s ago"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:239
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License Server URL"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:249
|
||||
#: src/Admin/Settings.php
|
||||
msgid "License Key"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:259
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Server Secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:264
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Leave empty to keep existing."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:270
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Save License Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:272
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Validate License"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:275
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Activate License"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:301
|
||||
msgid "Configure authentication for the /metrics endpoint."
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:310
|
||||
msgid "Select which default metrics to expose."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:324
|
||||
msgid "Regenerate"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:327
|
||||
msgid "Use this token to authenticate Prometheus scrape requests."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:340
|
||||
msgid "WordPress Info (version, PHP version, multisite)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:341
|
||||
msgid "Total Users by Role"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:342
|
||||
msgid "Total Posts by Type and Status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:343
|
||||
msgid "Total Comments by Status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:344
|
||||
msgid "Total Plugins (active/inactive)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:345
|
||||
msgid "HTTP Requests Total (by method, status, endpoint)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:346
|
||||
msgid "HTTP Request Duration (histogram)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:347
|
||||
msgid "Database Queries Total (by endpoint)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:369
|
||||
msgid "Prometheus Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:370
|
||||
msgid "Add the following to your prometheus.yml:"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Endpoint URL
|
||||
#: src/Admin/Settings.php:385
|
||||
msgid "Metrics endpoint: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:93
|
||||
msgid "Auth Token"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:101
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Enabled Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Plugin.php:120
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Configure authentication for the /metrics endpoint."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Select which metrics to expose on the /metrics endpoint."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Auth Token"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Select Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Regenerate"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Use this token to authenticate Prometheus scrape requests."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Static Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WordPress Info (version, PHP version, multisite)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total Users by Role"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total Posts by Type and Status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total Comments by Status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total Plugins (active/inactive)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Cron Events (scheduled tasks, overdue, next run)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Transients (total, expiring, expired)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Runtime Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Runtime metrics track data across requests. Enable only what you need to minimize performance impact."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "HTTP Requests Total (by method, status, endpoint)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "HTTP Request Duration (histogram)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Database Queries Total (by endpoint)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Metrics specific to WooCommerce stores. Only available when WooCommerce is active."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce Products (by status and type)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce Orders (by status)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce Revenue (all time, today, month)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce Customers (registered, guest)"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Prometheus Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Add the following to your prometheus.yml:"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Endpoint Information"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Metrics URL"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Testing the Endpoint"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "You can test the endpoint using curl:"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Available Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Metric"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Gauge"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Counter"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Histogram"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WordPress installation info"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total users by role"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total posts by type and status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total comments by status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total plugins by status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "HTTP requests by method, status, endpoint"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "HTTP request duration distribution"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Database queries by endpoint"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Scheduled cron events by hook"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Number of overdue cron events"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Unix timestamp of next scheduled cron"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Total transients by type"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce products by status and type"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce orders by status"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce revenue by period"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "WooCommerce customers by type"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Custom Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "You can add custom metrics using the wp_prometheus_collect_metrics action:"
|
||||
msgstr ""
|
||||
|
||||
#: src/Plugin.php
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: Required PHP version, 2: Current PHP version
|
||||
#: wp-prometheus.php:112
|
||||
#: wp-prometheus.php
|
||||
msgid "WP Prometheus requires PHP version %1$s or higher. You are running PHP %2$s."
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: Required WordPress version, 2: Current WordPress version
|
||||
#: wp-prometheus.php:127
|
||||
#: wp-prometheus.php
|
||||
msgid "WP Prometheus requires WordPress version %1$s or higher. You are running WordPress %2$s."
|
||||
msgstr ""
|
||||
|
||||
#: wp-prometheus.php:140
|
||||
#: wp-prometheus.php
|
||||
msgid "WP Prometheus requires Composer dependencies to be installed. Please run \"composer install\" in the plugin directory."
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Required PHP version
|
||||
#: wp-prometheus.php:156
|
||||
#: wp-prometheus.php
|
||||
msgid "WP Prometheus requires PHP version %s or higher."
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user