mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
Update cross cluster examples with additional options (#239)
This commit is contained in:
@@ -25,6 +25,10 @@ module "eks_monitoring_one" {
|
||||
enable_nginx = true
|
||||
enable_node_exporter = true
|
||||
|
||||
# Additional dashboards
|
||||
enable_apiserver_monitoring = true
|
||||
enable_adotcollector_metrics = true
|
||||
|
||||
# Set to false for cross-cluster observability
|
||||
enable_alerting_rules = false
|
||||
enable_recording_rules = false
|
||||
@@ -76,6 +80,10 @@ module "eks_monitoring_two" {
|
||||
enable_dashboards = false
|
||||
enable_node_exporter = true
|
||||
|
||||
# Additional dashboards
|
||||
enable_apiserver_monitoring = false
|
||||
enable_adotcollector_metrics = false
|
||||
|
||||
# Set to false for cross-cluster observability
|
||||
enable_alerting_rules = false
|
||||
enable_recording_rules = false
|
||||
|
||||
@@ -27,6 +27,10 @@ module "eks_cluster_1_monitoring" {
|
||||
enable_alerting_rules = true
|
||||
enable_recording_rules = true
|
||||
|
||||
# Additional dashboards
|
||||
enable_apiserver_monitoring = true
|
||||
enable_adotcollector_metrics = true
|
||||
|
||||
grafana_api_key = var.grafana_api_key
|
||||
managed_prometheus_workspace_id = module.aws_observability_accelerator.managed_prometheus_workspace_id
|
||||
managed_prometheus_workspace_endpoint = module.aws_observability_accelerator.managed_prometheus_workspace_endpoint
|
||||
@@ -65,6 +69,10 @@ module "eks_cluster_2_monitoring" {
|
||||
enable_alerting_rules = false
|
||||
enable_recording_rules = false
|
||||
|
||||
# Disable additional dashboards
|
||||
enable_apiserver_monitoring = false
|
||||
enable_adotcollector_metrics = false
|
||||
|
||||
managed_prometheus_workspace_id = module.aws_observability_accelerator.managed_prometheus_workspace_id
|
||||
managed_prometheus_workspace_endpoint = module.aws_observability_accelerator.managed_prometheus_workspace_endpoint
|
||||
managed_prometheus_workspace_region = module.aws_observability_accelerator.managed_prometheus_workspace_region
|
||||
|
||||
Reference in New Issue
Block a user