Created
December 26, 2020 15:07
-
-
Save theawesomenayak/d47b384deb92cb36f24e6864e646dfbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "wavefront_dashboard" "aws_dashboard" { | |
name = "AWS Dashboard" | |
description = "AWS dashboard for Wavefront" | |
url = "demo-dashboard" | |
section{ | |
name = "EC2 Metrics" | |
row { | |
chart { | |
name = "CPU Utilization" | |
units = "%" | |
source { | |
name = "CPU Utilization" | |
query = "ts(aws.ec2.cpu.utilization, environment=prod)" | |
} | |
chart_setting { | |
type = "line" | |
} | |
summarization = "MEAN" | |
} | |
chart { | |
name = "Memory Utilization" | |
units = "%" | |
source { | |
name = "Memory Utilization" | |
query = "ts(aws.ec2.memory.utilization, environment=prod)" | |
} | |
chart_setting { | |
type = "line" | |
} | |
summarization = "MEAN" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment