mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-17 00:23:17 +00:00
9f0b90ab2f
* working module * metrics work * Add dynamic targets * dashboards and rules * readme and outputs * updating readme * Update scrape config - Drop unused go metrics - Drop empty labels - Add host, container and namespace labels * Update tags and query labels Co-authored-by: EC2 Default User <ec2-user@ip-172-31-9-72.us-west-2.compute.internal> Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
5 lines
192 B
Terraform
5 lines
192 B
Terraform
resource "grafana_dashboard" "workloads" {
|
|
count = var.enable_dashboards ? 1 : 0
|
|
folder = var.dashboards_folder_id
|
|
config_json = file("${path.module}/dashboards/nginx.json")
|
|
} |