Skip to content

Commit 8196880

Browse files
committed
Enable OpenTelemetry tracing in dev and staging
This enables ADOT and OpenTelemetry tracing for forms-runner in the dev and staging environments. Production is not enabled yet to allow validation in lower environments first.
1 parent 270e793 commit 8196880

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

infra/deployments/forms/tfvars/dev.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ forms_runner_settings = {
9696
enable_maintenance_mode = false
9797
cloudwatch_metrics_enabled = true
9898
analytics_enabled = true
99+
enable_opentelemetry = true
99100
allow_human_readonly_roles_to_assume_submissions_to_s3_role = true
100101
allow_human_readonly_roles_to_assume_submissions_to_runner_role = true
101102
ses_submission_email_from_email_address = "no-reply@dev.forms.service.gov.uk"

infra/deployments/forms/tfvars/production.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ forms_runner_settings = {
152152
enable_maintenance_mode = false
153153
cloudwatch_metrics_enabled = true
154154
analytics_enabled = true
155+
enable_opentelemetry = false
155156
allow_human_readonly_roles_to_assume_submissions_to_s3_role = false
156157
allow_human_readonly_roles_to_assume_submissions_to_runner_role = false
157158
ses_submission_email_from_email_address = "no-reply@forms.service.gov.uk"

infra/deployments/forms/tfvars/staging.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ forms_runner_settings = {
6161
enable_maintenance_mode = false
6262
cloudwatch_metrics_enabled = true
6363
analytics_enabled = true
64+
enable_opentelemetry = true
6465
allow_human_readonly_roles_to_assume_submissions_to_s3_role = false
6566
allow_human_readonly_roles_to_assume_submissions_to_runner_role = false
6667
ses_submission_email_from_email_address = "no-reply@staging.forms.service.gov.uk"

infra/deployments/forms/tfvars/user-research.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ forms_runner_settings = {
5959
enable_maintenance_mode = false
6060
cloudwatch_metrics_enabled = false
6161
analytics_enabled = false
62+
enable_opentelemetry = false
6263
ses_submission_email_from_email_address = "no-reply@research.forms.service.gov.uk"
6364
ses_submission_email_reply_to_email_address = "no-reply@research.forms.service.gov.uk"
6465
allow_human_readonly_roles_to_assume_submissions_to_s3_role = false

0 commit comments

Comments
 (0)