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