Skip to content

Commit

Permalink
fix: cleanup unneeded otel configs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella committed Aug 29, 2024
1 parent bc39b5c commit 2888c86
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -334,42 +334,6 @@ module "wandb" {
serviceAccount = {}
}

otel = {
daemonset = var.enable_stackdriver ? {
config = {
receivers = {
prometheus = {
config = {
scrape_configs = [
{ job_name = "stackdriver"
scheme = "http"
metrics_path = "/metrics"
dns_sd_configs = [
{ names = ["wandb-stackdriver"]
type = "A"
port = 9255
}
]
}
]
}
}
}
service = {
pipelines = {
metrics = {
receivers = ["hostmetrics", "k8s_cluster", "kubeletstats", "prometheus"]
}
}
}
}
} : { config = {
receivers = {}
service = {}
}
}
}

redis = { install = !var.create_redis }
mysql = { install = false }

Expand Down

0 comments on commit 2888c86

Please sign in to comment.