Sign inSign up

alexandreio/wordpress_exporter

By alexandreio

•Updated about 4 years ago

Prometheus exporter for Wordpress

Image
0

50K+

alexandreio/wordpress_exporter repository overview

⁠wordpress_exporter

Prometheus exporter for WordPress / WooCommerce

Inspired by kotsis/wordpress_exporter⁠ and devent/wordpress_exporter⁠

⁠Usage of wordpress_exporter

docker run --name wordpress_exporter -p 9850:9850 -e WORDPRESS_DB_HOST="127.0.0.1" -e WORDPRESS_DB_PORT="3306" -e WORDPRESS_DB_USER="wordpress" -e WORDPRESS_DB_NAME="wordpress" -e WORDPRESS_DB_PASSWORD="wordpress" -e WORDPRESS_TABLE_PREFIX="wp_" -d alexandreio/wordpress_exporter:latest

⁠Prometheus configuration for wordpress_exporter

For Prometheus to start scraping the metrics you have to edit /etc/prometheus/prometheus.yml and add:

  - job_name: 'wordpress'
    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.
    static_configs:
    - targets: ['localhost:9850']

Tag summary

Content type

Image

Digest

sha256:51740cb1f…

Size

140.8 MB

Last updated

about 4 years ago

docker pull alexandreio/wordpress_exporter