diff --git a/ext/startup_logging.c b/ext/startup_logging.c index 9843e03968..34afbbfc34 100644 --- a/ext/startup_logging.c +++ b/ext/startup_logging.c @@ -185,6 +185,8 @@ static void _dd_get_startup_config(HashTable *ht) { _dd_add_assoc_bool(ht, ZEND_STRL("enabled_from_env"), get_DD_TRACE_ENABLED()); _dd_add_assoc_string(ht, ZEND_STRL("opcache.file_cache"), _dd_get_ini(ZEND_STRL("opcache.file_cache"))); _dd_add_assoc_bool(ht, ZEND_STRL("sidecar_trace_sender"), get_global_DD_TRACE_SIDECAR_TRACE_SENDER()); + _dd_add_assoc_bool(ht, ZEND_STRL("dynamic_instrumentation_enabled"), get_global_DD_DYNAMIC_INSTRUMENTATION_ENABLED()); + _dd_add_assoc_bool(ht, ZEND_STRL("exception_replay_enabled"), get_global_DD_EXCEPTION_REPLAY_ENABLED()); _dd_add_assoc_bool(ht, ZEND_STRL("loaded_by_ssi"), ddtrace_loaded_by_ssi); } diff --git a/tests/ext/startup_logging.phpt b/tests/ext/startup_logging.phpt index e7a7cf088c..d0eabcd699 100644 --- a/tests/ext/startup_logging.phpt +++ b/tests/ext/startup_logging.phpt @@ -51,4 +51,6 @@ report_hostname_on_root_span: false traced_internal_functions: null enabled_from_env: true opcache.file_cache: null +dynamic_instrumentation_enabled: false +exception_replay_enabled: false loaded_by_ssi: false diff --git a/tests/ext/startup_logging_json.phpt b/tests/ext/startup_logging_json.phpt index a91bf36870..8b00c8de42 100644 --- a/tests/ext/startup_logging_json.phpt +++ b/tests/ext/startup_logging_json.phpt @@ -52,5 +52,7 @@ report_hostname_on_root_span: false traced_internal_functions: null enabled_from_env: true opcache.file_cache: null +dynamic_instrumentation_enabled: false +exception_replay_enabled: false loaded_by_ssi: false datadog.trace.sources_path_reachable: false