-
Notifications
You must be signed in to change notification settings - Fork 13
Return WordPress version as _info metric #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes just do a PR :-) |
Should I target I don't see any CONTRIBUTING file so I'll try to mimic what I can from existing code. |
use the 3.0 (that I didn't noticed that exist, the other maintainer added it in october). |
C-Duv
added a commit
to C-Duv/Prometheus-Metrics-in-WordPress
that referenced
this issue
Mar 10, 2023
This adds a new wp_info metric that returns WordPress code and database versions. Versions are in the "version" and "db_version" labels. Issue: CodeAtCode#15
C-Duv
added a commit
to C-Duv/Prometheus-Metrics-in-WordPress
that referenced
this issue
Mar 10, 2023
This adds a new wp_info metric that returns WordPress code and database versions. Versions are in the "version" and "db_version" labels. Issue: CodeAtCode#15
Merged
PR opened (#16) but it looks like it need some more work to make it work. I'll give it another shot this week-end... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Could the plugin return the WordPress version as a metric?
This is something various exporters do via an
_info
metric:The Prometheus Proxmox VE Exporter:
The Node exporter:
I've also done it on self-made applications:
The
wp_info
could be used:If it's OK with you I can open a PR for this.
The text was updated successfully, but these errors were encountered: