{"id":86994,"date":"2018-06-12T02:16:54","date_gmt":"2018-06-12T02:16:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/web-request-metrics\/"},"modified":"2019-11-27T13:59:06","modified_gmt":"2019-11-27T13:59:06","slug":"web-request-metrics","status":"publish","type":"plugin","link":"https:\/\/hi.wordpress.org\/plugins\/web-request-metrics\/","author":9222584,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4.0","stable_tag":"0.4.0","tested":"5.3.0","requires":"4.7.2","requires_php":"","requires_plugins":"","header_name":"Web Request Metrics","header_author":"Ross Golder <ross@golder.org>","header_description":"Plugin to measure the HTTP connection metrics for key pages on your site","assets_banners_color":"","last_updated":"2019-11-27 13:59:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/web-request-metrics","header_author_uri":"http:\/\/www.golder.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1983,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["changelog","description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.2","0.2.3","0.2.4","0.3.0","0.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[141400],"plugin_business_model":[],"class_list":["post-86994","plugin","type-plugin","status-publish","hentry","plugin_contributors-rossigee","plugin_committers-rossigee"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/web-request-metrics.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=changelog-->\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Perform HTTP requests in parallel.<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Add 'site' and 'variant' metrics tags.<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Header order fixes<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Add cache control header.<\/li>\n<li>Shorten admin menu label.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Sanitize input fields on admin settings.<\/li>\n<li>Make function names less generic for WP plugin upload approval.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Minor warning fix.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Basic settings page. Configurable list of URIs to check. Optional Basic Auth.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>This plugin provides a mechanism for checking the main connection statistics for page requests to key pages on your site.<\/p>\n\n<p>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.<\/p>\n\n<p>In our case, we run Prometheus, so a metrics endpoint is provided. We gather the metrics with the following section of Prometheus configuration:<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>- job_name: 'WebRequestMetrics'\n  scrape_interval: 60s\n  honor_labels: true\n  scheme: 'https'\n  basic_auth:\n    username: 'prometheus'\n    password: 'secret_token_known_to_your_monitoring_system'\n  metrics_path: '\/'\n  params:\n    __metrics: [1]\n  static_configs:\n    - targets:\n      - www.golder.org\n      - www.myothersite.com<\/p>\n\n<pre><code>`\n<\/code><\/pre>","raw_excerpt":"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  &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86994"}],"author":[{"embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rossigee"}],"wp:attachment":[{"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86994"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86994"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86994"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86994"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86994"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}