diff --git a/roles/aurweb/templates/config.j2 b/roles/aurweb/templates/config.j2
index 8568cd4306fb9e404724c62a80d92ebeef5d47c2..85c6dcca127be5628e2a4fdad6c9bbc28197d557 100644
--- a/roles/aurweb/templates/config.j2
+++ b/roles/aurweb/templates/config.j2
@@ -78,5 +78,7 @@ error-token = {{ vault_aurweb_error_token }}
 [fastapi]
 session_secret = {{ vault_aurweb_secret }}
 
+{% if aurweb_environment_type == "prod" %}
 [tracing]
 otlp_endpoint = http://{{ hostvars['monitoring.archlinux.org']['wireguard_address'] }}:4318/v1/traces
+{% endif %}