Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 9 forks source link

Core class: new metric theme updatable #29

Closed deltaecho07 closed 2 years ago

deltaecho07 commented 2 years ago

Is your feature request related to a problem? Please describe. I would like to export a new metric from the core class. At the moment I can export wordpress_core_wordpress_plugin_updatable but there is no metric for themes. I've set up a prometheus endpoint and a grafana dashboard. An alert is triggered, when a plugin is updatable. I would like to implement the same process for a theme update.

Describe the solution you'd like I would like to have an additional Core Class metric, something like wordpress_core_wordpress_theme_updatable.

Describe alternatives you've considered No alternatives considered at the moment.

Pierre-Lannoy commented 2 years ago

Hello @deltaecho07 ! Thanks you so much for this suggestion. It will be implemented in the next version (3.6.0). You will have 2 new metrics: wordpress_core_wordpress_theme_installed and wordpress_core_wordpress_theme_updatable.

deltaecho07 commented 2 years ago

Hey @Pierre-Lannoy Thank you for the quick response and your work! I am looking forward to the new release :)

Pierre-Lannoy commented 2 years ago

Hello! Version 3.6.0 is released. Could you confirm it fixes your issue? Thanks 😉

deltaecho07 commented 2 years ago

Hi! It works perfectly and fully meets my requirements! Thank you very much for implementing this feature 👍