Skip to content

Commit 4a70e50

Browse files
authored
Merge pull request #516 from cultuurnet/disable_nr_app_tracing
Disable NR tracing for uitpas and uit-frontend
2 parents 6b6716b + c5d6a06 commit 4a70e50

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

templates/glassfish/domain/newrelic.yaml.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ common: &default_settings
9696
forwarding:
9797

9898
# When true, application logs will be forwarded to New Relic. The default is true.
99-
enabled: true
99+
enabled: false
100100

101101
# Application log events are collected up to the configured amount. Afterwards,
102102
# events are sampled to maintain an even distribution across the harvest cycle.
@@ -184,7 +184,7 @@ common: &default_settings
184184
# Transaction tracer is enabled by default. Set this to false to turn it off.
185185
# This feature is not available to Lite accounts and is automatically disabled.
186186
# Default is true.
187-
enabled: true
187+
enabled: false
188188

189189
# Threshold in seconds for when to collect a transaction
190190
# trace. When the response time of a controller action exceeds
@@ -271,7 +271,7 @@ common: &default_settings
271271

272272
# Set to false to disable distributed tracing.
273273
# Default is true.
274-
enabled: true
274+
enabled: false
275275

276276
# Agent versions 5.10.0+ utilize both the newrelic header and W3C Trace Context headers for distributed tracing.
277277
# The newrelic distributed tracing header allows interoperability with older agents that don't support W3C Trace Context headers.

templates/uit/api/deployment/uit-api.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ NODE_OPTIONS=--max_old_space_size=<%= @maximum_heap_size %>
33
<%- if @newrelic_license_key -%>
44
NEW_RELIC_LICENSE_KEY=<%= @newrelic_license_key %>
55
NEW_RELIC_APP_NAME=<%= @newrelic_app_name %>
6+
NEW_RELIC_TRACER_ENABLED=false
7+
NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
8+
NEW_RELIC_TRANSACTION_EVENTS_ENABLED=false
69
<%- end -%>

templates/uit/frontend/deployment/uit-frontend.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ NUXT_TELEMETRY_DISABLED=1
55
<%- if @newrelic_license_key -%>
66
NEW_RELIC_LICENSE_KEY=<%= @newrelic_license_key %>
77
NEW_RELIC_APP_NAME=<%= @newrelic_app_name %>
8+
NEW_RELIC_TRACER_ENABLED=false
9+
NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
10+
NEW_RELIC_TRANSACTION_EVENTS_ENABLED=false
811
<%- end -%>

0 commit comments

Comments
 (0)