diff --git a/data.tf b/data.tf index 21e6e2d0..b11404e0 100644 --- a/data.tf +++ b/data.tf @@ -9,4 +9,4 @@ data "aws_sqs_queue" "file_storage" { name = local.bucket_queue_name } -data "aws_region" "current" { } \ No newline at end of file +data "aws_region" "current" {} \ No newline at end of file diff --git a/main.tf b/main.tf index dfd091ec..31a7ca75 100644 --- a/main.tf +++ b/main.tf @@ -321,7 +321,7 @@ module "wandb" { }, var.app_wandb_env) } - # To support otel rds and redis metrics need operator-wandb chart minimum version 0.13.8 ( yace subchart) + # To support otel rds and redis metrics, we need operator-wandb chart min version 0.13.8 (yace subchart) yace = var.enable_yace ? { install = true regions = [data.aws_region.current.name] @@ -368,53 +368,6 @@ module "wandb" { } } - # To support otel rds and redis metrics need operator-wandb chart minimum version 0.13.8 ( yace subchart) - yace = var.enable_yace ? { - install = true - regions = [data.aws_region.current.name] - serviceAccount = { annotations = { "eks.amazonaws.com/role-arn" = module.iam_role[0].role_arn} } - } : { - install = false - regions = [] - serviceAccount = {} - } - - otel = { - daemonset = var.enable_yace ? { - config = { - receivers = { - prometheus = { - config = { - scrape_configs = [ - { job_name = "yace" - scheme = "http" - metrics_path = "/metrics" - dns_sd_configs = [ - { names = ["yace"] - type = "A" - port = 5000 - } - ] - } - ] - } - } - } - service = { - pipelines = { - metrics = { - receivers = ["hostmetrics", "k8s_cluster", "kubeletstats", "prometheus"] - } - } - } - } - } : { config = { - receivers = {} - service = {} - } - } - } - mysql = { install = false } redis = { install = false }