You've already forked wp-prometheus
feat: Add runtime metrics for HTTP requests and database queries (v0.1.0)
All checks were successful
Create Release Package / build-release (push) Successful in 59s
All checks were successful
Create Release Package / build-release (push) Successful in 59s
- Add RuntimeCollector class for tracking request lifecycle metrics - Add wordpress_http_requests_total counter (method, status, endpoint) - Add wordpress_http_request_duration_seconds histogram - Add wordpress_db_queries_total counter (endpoint) - Add wordpress_db_query_duration_seconds histogram (requires SAVEQUERIES) - Update Collector to expose stored runtime metrics - Add new settings options for enabling/disabling runtime metrics - Create translation files (.pot, .po, .mo) for internationalization - Update documentation and changelog Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
195
languages/wp-prometheus.pot
Normal file
195
languages/wp-prometheus.pot
Normal file
@@ -0,0 +1,195 @@
|
||||
# Copyright (C) 2026 Marco Graetsch
|
||||
# This file is distributed under the GPL v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WP Prometheus 0.1.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"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
||||
#: src/Admin/Settings.php:40
|
||||
msgid "Metrics Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:41
|
||||
msgid "Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:58
|
||||
msgid "License Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:65
|
||||
msgid "Authentication"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:73
|
||||
msgid "Default Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:150
|
||||
msgid "License settings saved."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:195
|
||||
msgid "License is active and valid."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:196
|
||||
msgid "License is invalid."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:197
|
||||
msgid "License has expired."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:198
|
||||
msgid "License has been revoked."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:199
|
||||
msgid "License is inactive."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:200
|
||||
msgid "License has not been validated yet."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:201
|
||||
msgid "License server is not configured."
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Expiration date
|
||||
#: src/Admin/Settings.php:214
|
||||
msgid "Expires: %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Time ago
|
||||
#: src/Admin/Settings.php:225
|
||||
msgid "Last checked: %s ago"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:239
|
||||
msgid "License Server URL"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:249
|
||||
msgid "License Key"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:259
|
||||
msgid "Server Secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:264
|
||||
msgid "Leave empty to keep existing."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:270
|
||||
msgid "Save License Settings"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:272
|
||||
msgid "Validate License"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:275
|
||||
msgid "Activate License"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php:301
|
||||
msgid "Configure authentication for the /metrics endpoint."
|
||||
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
|
||||
msgid "Enabled Metrics"
|
||||
msgstr ""
|
||||
|
||||
#: src/Plugin.php:120
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#. translators: 1: Required PHP version, 2: Current PHP version
|
||||
#: wp-prometheus.php:112
|
||||
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
|
||||
msgid "WP Prometheus requires WordPress version %1$s or higher. You are running WordPress %2$s."
|
||||
msgstr ""
|
||||
|
||||
#: wp-prometheus.php:140
|
||||
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
|
||||
msgid "WP Prometheus requires PHP version %s or higher."
|
||||
msgstr ""
|
||||
Reference in New Issue
Block a user