-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
61 lines (44 loc) · 2.18 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=== PromPress ===
Contributors: PeterBooker
Tags: metrics, monitoring, performance
Requires at least: 6.4
Tested up to: 6.6.2
Stable tag: 1.1.1
Requires PHP: 8.1
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Monitor the performance and health of your site with Prometheus.
== Description ==
PromPress tracks various website and WordPress related metrics for collection by [Prometheus](https://prometheus.io/), which allows you to monitor your site's performance and health. You can even setup dashboards with [Grafana](https://grafana.com/) and/or setup alerting via [Prometheus Alertmanager](https://prometheus.io/docs/alerting/latest/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](https://github.com/prometheus/mysqld_exporter).
== Frequently Asked Questions ==
= Does this require external service(s)? =
Yes. This plugin requires you to have [Prometheus](https://prometheus.io/) setup and collecting the metrics from your site. You can also use [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) and [Grafana](https://grafana.com/) 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'
```
== Changelog ==
= 1.0.0 =
* Initial release.