Woocommerce Prometheus Metrics

0

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_c

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
This plugin is outdated and might not be supported anymore.

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

`