chore: set sampling to 10% for distributed tracing

This commit is contained in:
Vishnu Narayanan
2024-11-12 17:15:15 +05:30
parent d6b1533866
commit 4436d1a9de
+2
View File
@@ -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) %>