Scrape wordpress metrics.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user