PromPress

外掛說明

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.

常見問題集

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’
`

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈PromPress〉的開發相關工作。

參與者

將〈PromPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.