Scrape wordpress metrics.

This commit is contained in:
2024-11-05 10:39:08 +00:00
parent 75aff61eae
commit 328c626892

View File

@@ -149,6 +149,13 @@ scrape_configs:
- source_labels: ['__meta_consul_node'] - source_labels: ['__meta_consul_node']
target_label: 'host' target_label: 'host'
- job_name: 'wordpress'
static_configs:
- targets:
- 'wordpress.paler.net'
scrape_interval: 15s
metrics_path: /wp-json/prompress/v1/metrics
EOH EOH
destination = "local/prometheus.yml" destination = "local/prometheus.yml"