You've already forked wp-prometheus
feat: Add dashboard extension hook for third-party plugins (v0.4.6)
All checks were successful
Create Release Package / build-release (push) Successful in 1m5s
All checks were successful
Create Release Package / build-release (push) Successful in 1m5s
Add wp_prometheus_register_dashboards action hook allowing third-party plugins to register their own Grafana dashboard templates. - DashboardProvider: registration system with file/JSON support - Security: path traversal protection, JSON validation - Admin UI: "Extension" badge and plugin attribution - Isolated mode support for dashboard registration hook Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -944,3 +944,49 @@ msgstr ""
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Reset Data"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Extension"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Plugin name
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Provided by: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "No dashboards available."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Pre-built dashboards for visualizing your WordPress metrics in Grafana."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Installation Instructions"
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Download the JSON file for your desired dashboard."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "In Grafana, go to Dashboards → Import."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Upload the JSON file or paste its contents."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Select your Prometheus data source when prompted."
|
||||
msgstr ""
|
||||
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Click Import to create the dashboard."
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Metrics URL
|
||||
#: src/Admin/Settings.php
|
||||
msgid "Make sure your Prometheus instance is configured to scrape %s with the correct authentication token."
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user