@@ -795,8 +795,9 @@ class _Scenarios:
795795 "stable config (application_monitoring.yaml)" ,
796796 agent_env = {"DD_PROFILING_ENABLED" : "auto" },
797797 app_env = {
798- "DD_PROFILING_UPLOAD_PERIOD" : "10 " ,
798+ "DD_PROFILING_UPLOAD_PERIOD" : "5 " ,
799799 "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
800+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
800801 },
801802 scenario_groups = [scenario_groups .all , scenario_groups .simple_onboarding_profiling ],
802803 github_workflow = "aws_ssi" ,
@@ -809,7 +810,11 @@ class _Scenarios:
809810 ),
810811 vm_provision = "host-auto-inject-install-script" ,
811812 agent_env = {"DD_PROFILING_ENABLED" : "auto" },
812- app_env = {"DD_PROFILING_UPLOAD_PERIOD" : "10" , "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" },
813+ app_env = {
814+ "DD_PROFILING_UPLOAD_PERIOD" : "5" ,
815+ "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
816+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
817+ },
813818 scenario_groups = [scenario_groups .all ],
814819 github_workflow = "aws_ssi" ,
815820 )
@@ -819,7 +824,11 @@ class _Scenarios:
819824 "Onboarding Container Single Step Instrumentation profiling scenario using agent auto install script" ,
820825 vm_provision = "container-auto-inject-install-script" ,
821826 agent_env = {"DD_PROFILING_ENABLED" : "auto" },
822- app_env = {"DD_PROFILING_UPLOAD_PERIOD" : "10" , "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" },
827+ app_env = {
828+ "DD_PROFILING_UPLOAD_PERIOD" : "5" ,
829+ "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
830+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
831+ },
823832 scenario_groups = [scenario_groups .all ],
824833 github_workflow = "aws_ssi" ,
825834 )
@@ -926,20 +935,32 @@ class _Scenarios:
926935 k8s_lib_injection_profiling_disabled = K8sScenario (
927936 "K8S_LIB_INJECTION_PROFILING_DISABLED" ,
928937 doc = "Kubernetes lib injection with admission controller and profiling disabled by default" ,
929- weblog_env = {"DD_PROFILING_UPLOAD_PERIOD" : "10" , "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" },
938+ weblog_env = {
939+ "DD_PROFILING_UPLOAD_PERIOD" : "10" ,
940+ "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
941+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
942+ },
930943 scenario_groups = [scenario_groups .all , scenario_groups .lib_injection_profiling ],
931944 )
932945 k8s_lib_injection_profiling_enabled = K8sScenario (
933946 "K8S_LIB_INJECTION_PROFILING_ENABLED" ,
934947 doc = "Kubernetes lib injection with admission controller and profiling enaabled by cluster config" ,
935- weblog_env = {"DD_PROFILING_UPLOAD_PERIOD" : "10" , "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" },
948+ weblog_env = {
949+ "DD_PROFILING_UPLOAD_PERIOD" : "10" ,
950+ "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
951+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
952+ },
936953 dd_cluster_feature = {"datadog.profiling.enabled" : "auto" },
937954 scenario_groups = [scenario_groups .all , scenario_groups .lib_injection_profiling ],
938955 )
939956 k8s_lib_injection_profiling_override = K8sScenario (
940957 "K8S_LIB_INJECTION_PROFILING_OVERRIDE" ,
941958 doc = "Kubernetes lib injection with admission controller and profiling enaabled overriting cluster config" ,
942- weblog_env = {"DD_PROFILING_UPLOAD_PERIOD" : "10" , "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" },
959+ weblog_env = {
960+ "DD_PROFILING_UPLOAD_PERIOD" : "10" ,
961+ "DD_INTERNAL_PROFILING_LONG_LIVED_THRESHOLD" : "1500" ,
962+ "DD_PROFILING_START_FORCE_FIRST" : "true" ,
963+ },
943964 dd_cluster_feature = {
944965 "clusterAgent.env[0].name" : "DD_ADMISSION_CONTROLLER_AUTO_INSTRUMENTATION_PROFILING_ENABLED" ,
945966 "clusterAgent.env[0].value" : "auto" ,
0 commit comments