This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Woocommerce Prometheus Metrics

Description

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

`

Contributors & Developers

“Woocommerce Prometheus Metrics” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.1

  • Initial version.