@@ -406,52 +406,94 @@ def test_delete_setting_parent():
406
406
407
407
translate_settings_tests = [
408
408
(
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" ], [] ),
411
411
),
412
412
(
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 " , [], [] ),
415
415
),
416
416
(
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 ),
419
435
),
420
436
(
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 ),
421
452
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
+ (
422
459
TSetting ("event_harvest_config.harvest_limits.analytic_event_data" , 1200 , 1200 ),
460
+ TSetting ("transaction_events.max_samples_stored" , 9999 , 1200 ),
423
461
),
424
462
(
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 ),
427
465
),
428
466
(
429
- TSetting ("span_events.max_samples_stored" , 9999 , 2000 ),
430
467
TSetting ("event_harvest_config.harvest_limits.span_event_data" , 1000 , 2000 ),
468
+ TSetting ("span_events.max_samples_stored" , 9999 , 2000 ),
431
469
),
432
470
(
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 ),
435
473
),
436
474
(
437
- TSetting ("error_collector.max_event_samples_stored" , 9999 , 100 ),
438
475
TSetting ("event_harvest_config.harvest_limits.error_event_data" , 100 , 100 ),
476
+ TSetting ("error_collector.max_event_samples_stored" , 9999 , 100 ),
439
477
),
440
478
(
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 ),
443
481
),
444
482
(
445
- TSetting ("custom_insights_events.max_samples_stored" , 9999 , 3600 ),
446
483
TSetting ("event_harvest_config.harvest_limits.custom_event_data" , 3600 , 3600 ),
484
+ TSetting ("custom_insights_events.max_samples_stored" , 9999 , 3600 ),
447
485
),
448
486
(
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 ),
451
489
),
452
490
(
453
- TSetting ("application_logging.forwarding.max_samples_stored" , 99999 , 10000 ),
454
491
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 ),
455
497
),
456
498
]
457
499
0 commit comments