Skip to content

Commit

Permalink
Remove terraform prometheus template config
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman authored and iknite committed Feb 19, 2019
1 parent f8585d5 commit 1d28779
Showing 1 changed file with 0 additions and 59 deletions.
59 changes: 0 additions & 59 deletions deploy/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,65 +88,6 @@ module "prometheus" {
subnet_id = "${element(data.aws_subnet_ids.all.ids, 0)}"
key_name = "${aws_key_pair.qed.key_name}"
key_path = "${var.keypath}"

# config = <<-CONFIG
# global:
# scrape_interval: 15s
# evaluation_interval: 15s
# scrape_configs:
# - job_name: 'prometheus'
# scrape_interval: 5s
# static_configs:
# - targets: ['localhost:9090']
# - job_name: 'Qed0-HostMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.leader.private_ip[0]}:9100']
# - job_name: 'Qed0-QedMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.leader.private_ip[0]}:8600']
# - job_name: 'Qed1-HostMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.follower-1.private_ip[0]}:9100']
# - job_name: 'Qed1-QedMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.follower-1.private_ip[0]}:8600']
# - job_name: 'Qed2-HostMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.follower-2.private_ip[0]}:9100']
# - job_name: 'Qed2-QedMetrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.follower-2.private_ip[0]}:8600']
# - job_name: 'Agent-Publisher-Metrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.agent-publisher.private_ip[0]}:18300']
# - job_name: 'Agent-Monitor-0-Metrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.agent-monitor.private_ip[0]}:18200']
# - job_name: 'Agent-Monitor-1-Metrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.agent-monitor.private_ip[1]}:18200']
# - job_name: 'Agent-Auditor-Metrics'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.agent-auditor.private_ip[0]}:18100']
# - job_name: 'riot'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.riot.private_ip}:9100']
# - job_name: 'inmemory-storage'
# scrape_interval: 10s
# static_configs:
# - targets: ['${module.inmemory-storage.private_ip}:18888']
# CONFIG
}

module "riot" {
Expand Down

0 comments on commit 1d28779

Please sign in to comment.