From 4436d1a9ded8baa247d82dc2491062726728dabf Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Tue, 12 Nov 2024 17:15:15 +0530 Subject: [PATCH] chore: set sampling to 10% for distributed tracing --- config/newrelic.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/newrelic.yml b/config/newrelic.yml index 00c2e981d..e7dfb7c7d 100644 --- a/config/newrelic.yml +++ b/config/newrelic.yml @@ -17,6 +17,8 @@ common: &default_settings distributed_tracing: enabled: true + sampling: + rate: 0.1 # Sample 10% of traces instead of 100% # To disable the agent regardless of other settings, uncomment the following: agent_enabled: <%= ENV['NEW_RELIC_LICENSE_KEY'].present? && ENV.fetch('NEW_RELIC_AGENT_ENABLED', true) %>