Skip to content

Commit

Permalink
Add metrics description.
Browse files Browse the repository at this point in the history
Add Grafana dashboard and default prometheus datasource.
  • Loading branch information
Jose Luis Lucas authored and iknite committed Feb 19, 2019
1 parent 6a44ce7 commit b4c7ac0
Show file tree
Hide file tree
Showing 7 changed files with 1,750 additions and 95 deletions.
10 changes: 10 additions & 0 deletions deploy/aws/modules/prometheus/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ resource "aws_instance" "prometheus" {


provisioner "file" {
source = "${path.module}/provisioning"
destination = "/etc/grafana/provisioning"

connection {
user = "ec2-user"
private_key = "${file("${var.key_path}")}"
}
}

provisioner "file" {
source = "${path.module}/data"
destination = "${var.path}"

Expand Down
Loading

0 comments on commit b4c7ac0

Please sign in to comment.