File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,7 @@ def _process_configuration(section):
399
399
_process_setting (section , "ml_insights_events.enabled" , "getboolean" , None )
400
400
_process_setting (section , "distributed_tracing.enabled" , "getboolean" , None )
401
401
_process_setting (section , "distributed_tracing.exclude_newrelic_header" , "getboolean" , None )
402
+ _process_setting (section , "core_tracing.drop_inprocess_spans" , "getboolean" , None )
402
403
_process_setting (section , "span_events.enabled" , "getboolean" , None )
403
404
_process_setting (section , "span_events.max_samples_stored" , "getint" , None )
404
405
_process_setting (section , "span_events.attributes.enabled" , "getboolean" , None )
Original file line number Diff line number Diff line change @@ -324,6 +324,10 @@ class DistributedTracingSettings(Settings):
324
324
pass
325
325
326
326
327
+ class CoreTracingSettings (Settings ):
328
+ pass
329
+
330
+
327
331
class ServerlessModeSettings (Settings ):
328
332
pass
329
333
@@ -493,6 +497,7 @@ class EventHarvestConfigHarvestLimitSettings(Settings):
493
497
_settings .datastore_tracer .instance_reporting = DatastoreTracerInstanceReportingSettings ()
494
498
_settings .debug = DebugSettings ()
495
499
_settings .distributed_tracing = DistributedTracingSettings ()
500
+ _settings .core_tracing = CoreTracingSettings ()
496
501
_settings .error_collector = ErrorCollectorSettings ()
497
502
_settings .error_collector .attributes = ErrorCollectorAttributesSettings ()
498
503
_settings .event_harvest_config = EventHarvestConfigSettings ()
@@ -814,6 +819,7 @@ def default_otlp_host(host):
814
819
_settings .ml_insights_events .enabled = False
815
820
816
821
_settings .distributed_tracing .enabled = _environ_as_bool ("NEW_RELIC_DISTRIBUTED_TRACING_ENABLED" , default = True )
822
+ _settings .core_tracing .drop_inprocess_spans = _environ_as_bool ("NEW_RELIC_CORE_TRACING_DROP_INPROCESS_SPANS" , default = False )
817
823
_settings .distributed_tracing .exclude_newrelic_header = False
818
824
_settings .span_events .enabled = _environ_as_bool ("NEW_RELIC_SPAN_EVENTS_ENABLED" , default = True )
819
825
_settings .span_events .attributes .enabled = True
You can’t perform that action at this time.
0 commit comments