mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
Adding Module and Example for ECS cluster monitoring with ecs_observer (#211)
* Adding Module and Example for ECS cluster monitoring with ecs_observer * Adding Module and Example for ECS cluster monitoring with ecs_observer * Incorporating PR comments * Restructuring Examples and modules folder for ECS, Added content in main Readme * Fixing path as per PR comments * Parameterzing the config files, incorporated PR review comments * Adding condition for AMP WS and fixing AMP endpoint * Adding Document for ECS Monitoring and parameterized some variables * Added sample dashboard * Adding Document for ECS Monitoring and parameterized some variables * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Pre-commit fixes * Fixing failures detected by pre-commit * Fixing failures detected by pre-commit * Pre-commit * Fixing HIGH security alerts detected by pre-commit * Fixing HIGH security alerts detected by pre-commit * Fixing HIGH security alerts detected by pre-commit, 31stOct * Add links after merge * 2ndNov - Added condiotnal creation for Grafana WS and module versions for AMG, AMP --------- Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
variable "aws_ecs_cluster_name" {
|
||||
description = "Name of your ECS cluster"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "task_role_arn" {
|
||||
description = "ARN of the IAM Task Role"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "execution_role_arn" {
|
||||
description = "ARN of the IAM Execution Role"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ecs_adot_cpu" {
|
||||
description = "CPU to be allocated for the ADOT ECS TASK"
|
||||
type = string
|
||||
default = "256"
|
||||
}
|
||||
|
||||
variable "ecs_adot_mem" {
|
||||
description = "Memory to be allocated for the ADOT ECS TASK"
|
||||
type = string
|
||||
default = "512"
|
||||
}
|
||||
|
||||
variable "create_managed_grafana_ws" {
|
||||
description = "Creates a Workspace for Amazon Managed Grafana"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "create_managed_prometheus_ws" {
|
||||
description = "Creates a Workspace for Amazon Managed Prometheus"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "refresh_interval" {
|
||||
description = "Refresh interval for ecs_observer"
|
||||
type = string
|
||||
default = "60s"
|
||||
}
|
||||
|
||||
variable "ecs_metrics_collection_interval" {
|
||||
description = "Collection interval for ecs metrics"
|
||||
type = string
|
||||
default = "15s"
|
||||
}
|
||||
|
||||
variable "otlp_grpc_endpoint" {
|
||||
description = "otlpGrpcEndpoint"
|
||||
type = string
|
||||
default = "0.0.0.0:4317"
|
||||
}
|
||||
|
||||
|
||||
variable "otlp_http_endpoint" {
|
||||
description = "otlpHttpEndpoint"
|
||||
type = string
|
||||
default = "0.0.0.0:4318"
|
||||
}
|
||||
|
||||
variable "container_name" {
|
||||
description = "Container Name for Adot"
|
||||
type = string
|
||||
default = "adot_new"
|
||||
}
|
||||
|
||||
variable "otel_image_ver" {
|
||||
description = "Otel Docker Image version"
|
||||
type = string
|
||||
default = "v0.31.0"
|
||||
}
|
||||
Reference in New Issue
Block a user