Skip to content

Commit afca263

Browse files
committed
chore(terraform): read traces sample rate from secrets
1 parent eafbe09 commit afca263

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

terraform/app_service.tf

+4-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ resource "azurerm_linux_web_app" "main" {
7676
"HEALTHCHECK_USER_AGENTS" = local.is_dev ? null : "${local.secret_prefix}healthcheck-user-agents)",
7777

7878
# Sentry
79-
"SENTRY_DSN" = "${local.secret_prefix}sentry-dsn)",
80-
"SENTRY_ENVIRONMENT" = local.env_name,
81-
"SENTRY_REPORT_URI" = "${local.secret_prefix}sentry-report-uri)",
79+
"SENTRY_DSN" = "${local.secret_prefix}sentry-dsn)",
80+
"SENTRY_ENVIRONMENT" = local.env_name,
81+
"SENTRY_REPORT_URI" = "${local.secret_prefix}sentry-report-uri)",
82+
"SENTRY_TRACES_SAMPLE_RATE" = "${local.secret_prefix}sentry-traces-sample-rate)",
8283

8384
# Environment variables for data migration
8485
"MST_SENIOR_GROUP_ID" = "${local.secret_prefix}mst-senior-group-id)",

0 commit comments

Comments
 (0)