Skip to content

Commit

Permalink
chore: updated bootstrap files
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Sep 25, 2024
1 parent d00dcb6 commit 64d99ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bootstrap/daemon/daemon.toml.tftpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
topic = "${topic}"

cluster_id = "${cluster_id}"
prometheus_url = "${prometheus_url}"
delay_sec = ${prometheus_delay_sec}

[prometheus]
url = "${prometheus_url}"
step = "${prometheus_query_step}"

[kafka]
"bootstrap.servers" = "${broker_urls}"
"group.id"= "${consumer_name}"
Expand Down
6 changes: 6 additions & 0 deletions bootstrap/daemon/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ variable "prometheus_delay_sec" {
default = 60
}

variable "prometheus_query_step" {
type = string
description = "Usage Query Step"
default = "10m"
}

variable "tolerations" {
type = list(object({
effect = string
Expand Down

0 comments on commit 64d99ae

Please sign in to comment.