Skip to content

Commit

Permalink
Merge pull request #1354 from alphagov/remove-tempo-helm-chart
Browse files Browse the repository at this point in the history
Remove tempo helm chart
  • Loading branch information
theseanything authored Jun 21, 2024
2 parents 06e0035 + 018493f commit a87a623
Showing 1 changed file with 0 additions and 71 deletions.
71 changes: 0 additions & 71 deletions terraform/deployments/cluster-services/tempo.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,74 +32,3 @@ resource "aws_iam_policy" "tempo" {
description = "Allows Tempo to access AWS data sources."
policy = data.aws_iam_policy_document.tempo.json
}

resource "helm_release" "tempo" {
depends_on = [module.tempo_iam_role, aws_s3_bucket.tempo]
chart = "tempo-distributed"
name = "tempo"
namespace = local.monitoring_ns
repository = "https://grafana.github.io/helm-charts"
version = "1.10.0" # TODO: Dependabot or equivalent so this doesn't get neglected.
timeout = var.helm_timeout_seconds
values = [yamlencode({
reportingEnabled = false

ingester = {
persistence = {
enabled = true
size = "30Gi"
storageClass = "ebs-gp3"
}
}

metricsGenerator = {
enabled = true
config = {
storage = {
remote_write = [{ url = "${local.prometheus_internal_url}/api/v1/write" }]
}
}
}

storage = {
trace = {
backend = "s3"
s3 = {
bucket = aws_s3_bucket.tempo.id
region = aws_s3_bucket.tempo.region
endpoint = "s3.dualstack.${aws_s3_bucket.tempo.region}.amazonaws.com"
}
}
}

serviceAccount = {
name = "tempo"
annotations = {
"eks.amazonaws.com/role-arn" = module.tempo_iam_role.iam_role_arn
}
}

metaMonitoring = {
serviceMonitor = {
enabled = true
namespace = local.monitoring_ns
}
}

traces = {
otlp = {
grpc = { enabled = true }
http = { enabled = true }
}
}

overrides = yamlencode({
overrides = {
"*" = {
ingestion_burst_size_bytes = 20000000
metrics_generator_processors = ["service-graphs", "span-metrics"]
}
}
})
})]
}

0 comments on commit a87a623

Please sign in to comment.