Woocommerce Prometheus Metrics

This plugin provides a Prometheus-compatible metrics endpoint for Woocommerce.

The metrics it gathers are:

woocommerce_product_count – a count of p …

Author:Ross Golder (profile at wordpress.org)
WordPress version required:4.7.2
WordPress version tested:4.9.25
Plugin version:0.0.4
Added to WordPress repository:22-10-2018
Last updated:10-01-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/woo-prometheus-...
Total downloads:1 015
Active installs:10+
plugin download
Click to start download

This plugin provides a Prometheus-compatible metrics endpoint for Woocommerce.

The metrics it gathers are:

  • woocommerce_product_count – a count of products listed.
  • woocommerce_order_count – a count of orders on the system, by ‘status’.
  • woocommerce_user_count – a count of users on the system.

We gather the metrics with the following section of Prometheus configuration:

`

– job_name: ‘WoocommerceMetrics’
scrape_interval: 60s
honor_labels: true
scheme: ‘https’
basic_auth:
username: ‘prometheus’
password: ‘secret_token_known_to_your_monitoring_system’
metrics_path: ‘/’
params:
__woocommerce_metrics: [1]
static_configs:
– targets:
– www.myecommercesite.com
– www.myothersite.com

`

ChangeLog