This plugin provides a mechanism for checking the main connection statistics for page requests to key pages on your site.
It does this by connecting …
Author: | Ross Golder (profile at wordpress.org) |
WordPress version required: | 4.7.2 |
WordPress version tested: | 5.3.0 |
Plugin version: | 0.4.0 |
Added to WordPress repository: | 12-06-2018 |
Last updated: | 27-11-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://wordpress.org/plugins/web-request-met... |
Total downloads: | 1 430 |
Active installs: | 10+ |
Click to start download |
This plugin provides a mechanism for checking the main connection statistics for page requests to key pages on your site.
It does this by connecting to the key pages you configure every minute, using ‘curl’ PHP functions, gathering the metrics from the connection into a JSON statistics file to be supplied to your monitoring systems.
In our case, we run Prometheus, so a metrics endpoint is provided. We gather the metrics with the following section of Prometheus configuration:
`
– job_name: ‘WebRequestMetrics’
scrape_interval: 60s
honor_labels: true
scheme: ‘https’
basic_auth:
username: ‘prometheus’
password: ‘secret_token_known_to_your_monitoring_system’
metrics_path: ‘/’
params:
__metrics: [1]
static_configs:
– targets:
– www.golder.org
– www.myothersite.com
`
ChangeLog