Skip to content

Commit

Permalink
tf vars for dd-error-tracking-format flag (dydxprotocol#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfung-dydx authored and pswies committed Feb 8, 2024
1 parent 3914b9d commit 31be28a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/validator/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ resource "aws_ecs_task_definition" "main" {
# for additional details.
"--dd-agent-host $(wget -O - http://169.254.169.254/latest/meta-data/local-ipv4)",
"--bridge-daemon-eth-rpc-endpoint", var.bridge_daemon_eth_rpc_endpoint,
"--dd-error-tracking-format=${tostring(var.datadog_error_tracking_format)}",
]))
]
essential = true
Expand Down
6 changes: 6 additions & 0 deletions modules/validator/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ variable "datadog_env" {
default = ""
}

variable "datadog_error_tracking_format" {
type = bool
description = "Whether to format error log tag values into datadog error tracking format"
default = true
}

variable "prometheus_port" {
type = number
description = "the prometheus port used in the `com.datadoghq.ad.instances`."
Expand Down

0 comments on commit 31be28a

Please sign in to comment.