diff --git a/utils/_context/_scenarios/profiling.py b/utils/_context/_scenarios/profiling.py index 014e84af1d0..17ae0ed4f53 100644 --- a/utils/_context/_scenarios/profiling.py +++ b/utils/_context/_scenarios/profiling.py @@ -27,6 +27,11 @@ def configure(self, config: pytest.Config): super().configure(config) library = self.weblog_infra.library_name + + if library == "nodejs": + self.library_interface_timeout = 10 + self.weblog_container.environment["DD_PROFILING_UPLOAD_PERIOD"] = "5" + if library == "dotnet": # https://docs.datadoghq.com/profiler/enabling/dotnet/?tab=linux#enabling-the-profiler self.weblog_container.environment["LD_PRELOAD"] = (