@@ -406,52 +406,94 @@ def test_delete_setting_parent():
406406
407407translate_settings_tests = [
408408 (
409- TSetting ("analytics_events.max_samples_stored " , 1200 , 1200 ),
410- TSetting ("event_harvest_config.harvest_limits.analytic_event_data " , 9999 , 1200 ),
409+ TSetting ("strip_exception_messages.whitelist " , [], [] ),
410+ TSetting ("strip_exception_messages.allowlist " , [ "non-default-value" ], [] ),
411411 ),
412412 (
413- TSetting ("analytics_events.max_samples_stored " , 9999 , 1200 ),
414- TSetting ("event_harvest_config.harvest_limits.analytic_event_data " , 1200 , 1200 ),
413+ TSetting ("strip_exception_messages.whitelist " , [ "non-default-value" ], [] ),
414+ TSetting ("strip_exception_messages.allowlist " , [], [] ),
415415 ),
416416 (
417- TSetting ("transaction_events.max_samples_stored" , 1200 , 1200 ),
418- TSetting ("event_harvest_config.harvest_limits.analytic_event_data" , 9999 , 1200 ),
417+ TSetting ("transaction_tracer.capture_attributes" , True , True ),
418+ TSetting ("transaction_tracer.attributes.enabled" , False , True ),
419+ ),
420+ (
421+ TSetting ("transaction_tracer.capture_attributes" , False , True ),
422+ TSetting ("transaction_tracer.attributes.enabled" , True , True ),
423+ ),
424+ (
425+ TSetting ("error_collector.capture_attributes" , True , True ),
426+ TSetting ("error_collector.attributes.enabled" , False , True ),
427+ ),
428+ (
429+ TSetting ("error_collector.capture_attributes" , False , True ),
430+ TSetting ("error_collector.attributes.enabled" , True , True ),
431+ ),
432+ (
433+ TSetting ("browser_monitoring.capture_attributes" , False , False ),
434+ TSetting ("browser_monitoring.attributes.enabled" , True , False ),
419435 ),
420436 (
437+ TSetting ("browser_monitoring.capture_attributes" , True , False ),
438+ TSetting ("browser_monitoring.attributes.enabled" , False , False ),
439+ ),
440+ (
441+ TSetting ("analytics_events.capture_attributes" , True , True ),
442+ TSetting ("transaction_events.attributes.enabled" , False , True ),
443+ ),
444+ (
445+ TSetting ("analytics_events.capture_attributes" , False , True ),
446+ TSetting ("transaction_events.attributes.enabled" , True , True ),
447+ ),
448+ (TSetting ("analytics_events.enabled" , True , True ), TSetting ("transaction_events.enabled" , False , True )),
449+ (TSetting ("analytics_events.enabled" , False , True ), TSetting ("transaction_events.enabled" , True , True )),
450+ (
451+ TSetting ("analytics_events.max_samples_stored" , 1200 , 1200 ),
421452 TSetting ("transaction_events.max_samples_stored" , 9999 , 1200 ),
453+ ),
454+ (
455+ TSetting ("analytics_events.max_samples_stored" , 9999 , 1200 ),
456+ TSetting ("transaction_events.max_samples_stored" , 1200 , 1200 ),
457+ ),
458+ (
422459 TSetting ("event_harvest_config.harvest_limits.analytic_event_data" , 1200 , 1200 ),
460+ TSetting ("transaction_events.max_samples_stored" , 9999 , 1200 ),
423461 ),
424462 (
425- TSetting ("span_events.max_samples_stored " , 1000 , 2000 ),
426- TSetting ("event_harvest_config.harvest_limits.span_event_data " , 9999 , 2000 ),
463+ TSetting ("event_harvest_config.harvest_limits.analytic_event_data " , 9999 , 1200 ),
464+ TSetting ("transaction_events.max_samples_stored " , 1200 , 1200 ),
427465 ),
428466 (
429- TSetting ("span_events.max_samples_stored" , 9999 , 2000 ),
430467 TSetting ("event_harvest_config.harvest_limits.span_event_data" , 1000 , 2000 ),
468+ TSetting ("span_events.max_samples_stored" , 9999 , 2000 ),
431469 ),
432470 (
433- TSetting ("error_collector.max_event_samples_stored " , 100 , 100 ),
434- TSetting ("event_harvest_config.harvest_limits.error_event_data " , 9999 , 100 ),
471+ TSetting ("event_harvest_config.harvest_limits.span_event_data " , 9999 , 2000 ),
472+ TSetting ("span_events.max_samples_stored " , 1000 , 2000 ),
435473 ),
436474 (
437- TSetting ("error_collector.max_event_samples_stored" , 9999 , 100 ),
438475 TSetting ("event_harvest_config.harvest_limits.error_event_data" , 100 , 100 ),
476+ TSetting ("error_collector.max_event_samples_stored" , 9999 , 100 ),
439477 ),
440478 (
441- TSetting ("custom_insights_events.max_samples_stored " , 3600 , 3600 ),
442- TSetting ("event_harvest_config.harvest_limits.custom_event_data " , 9999 , 3600 ),
479+ TSetting ("event_harvest_config.harvest_limits.error_event_data " , 9999 , 100 ),
480+ TSetting ("error_collector.max_event_samples_stored " , 100 , 100 ),
443481 ),
444482 (
445- TSetting ("custom_insights_events.max_samples_stored" , 9999 , 3600 ),
446483 TSetting ("event_harvest_config.harvest_limits.custom_event_data" , 3600 , 3600 ),
484+ TSetting ("custom_insights_events.max_samples_stored" , 9999 , 3600 ),
447485 ),
448486 (
449- TSetting ("application_logging.forwarding.max_samples_stored " , 10000 , 10000 ),
450- TSetting ("event_harvest_config.harvest_limits.log_event_data " , 99999 , 10000 ),
487+ TSetting ("event_harvest_config.harvest_limits.custom_event_data " , 9999 , 3600 ),
488+ TSetting ("custom_insights_events.max_samples_stored " , 3600 , 3600 ),
451489 ),
452490 (
453- TSetting ("application_logging.forwarding.max_samples_stored" , 99999 , 10000 ),
454491 TSetting ("event_harvest_config.harvest_limits.log_event_data" , 10000 , 10000 ),
492+ TSetting ("application_logging.forwarding.max_samples_stored" , 99999 , 10000 ),
493+ ),
494+ (
495+ TSetting ("event_harvest_config.harvest_limits.log_event_data" , 99999 , 10000 ),
496+ TSetting ("application_logging.forwarding.max_samples_stored" , 10000 , 10000 ),
455497 ),
456498]
457499
0 commit comments