PromPress

Beskrivning

PromPress tracks various website and WordPress related metrics for collection by Prometheus, which allows you to monitor your site’s performance and health. You can even setup dashboards with Grafana and/or setup alerting via Prometheus Alertmanager.

(Note: Requires Object Caching via Redis to be active, so that the plugin can store metrics.)

We track a range of Website and WordPress specific metrics:

  • Request Count
  • Request Duration
  • Request Peak Memory Usage
  • External Request Duration
  • Query Count
  • Query Duration
  • Plugin Updates
  • Theme Updates
  • Emails Sent
  • User Count
  • Post Count
  • Option Count

This gives you the ability to monitor the performance of your website over time and get an early warning of potential problems, like your site sending a lot of emails or the post count increasing a lot.

We purposefully avoid general software and/or server level metrics which are better handled outside of the website, like detailed database metrics which is better handled via the mysqld exporter.

Vanliga frågor

Does this require external service(s)?

Yes. This plugin requires you to have Prometheus setup and collecting the metrics from your site. You can also use Alertmanager and Grafana to get more out of it.

How do I configure Prometheus to scrape metrics from my site?

You can use this snippet in your Prometheus config (just update the domain under targets):

`yml

– job_name: ’wordpress’
scrape_interval: 15s
metrics_path: /wp-json/prompress/v1/metrics
static_configs:
– targets:
– ’example.com’
`

Recensioner

14 mars 2025
Nice work! Add woocommerse performance troubleshooting metrics as well
Läs 1 betyg

Bidragsgivare och utvecklare

”PromPress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”PromPress” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.2.1

  • Bugfix- Properly sets the Redis prefix.
  • Bugfix- Adds a filter for the Redis prefix.

1.2.0

  • Bugfix- Multisite support. Uses a unique Redis key per site, allowing multiple sites in a network and/or on the same server to share a Redis server.

1.0.0

  • Initial release.