mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
💡Setup alertmanager and recording rules
Activate Alertmanager at workspace level, recording rules per workload
This commit is contained in:
+20
-5
@@ -55,23 +55,38 @@ variable "managed_prometheus_id" {
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "managed_prometheus_endpoint" {
|
||||
description = "AWS Managed Prometheus Workspace endpoint"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "managed_prometheus_region" {
|
||||
description = "AWS Managed Prometheus Workspace Region"
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "enable_alertmanager" {
|
||||
description = "Create AMP AlertManager for all workloads"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "enable_java" {
|
||||
description = "Deploys a collector for JAVA/JMX based workloads, dashboards and alerting rules"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "enable_java_recording_rules" {
|
||||
description = "Enable AMP recording rules for Java"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
# variable "java_config" {
|
||||
# description = "Input configuration Java workloads"
|
||||
# type = object({
|
||||
# enable_recording_rules = bool
|
||||
# })
|
||||
# }
|
||||
|
||||
|
||||
variable "tags" {
|
||||
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
|
||||
type = map(string)
|
||||
|
||||
Reference in New Issue
Block a user