@@ -250,6 +250,8 @@ fn create_api_key_factory(config: &Arc<Config>, aws_config: &Arc<AwsConfig>) ->
250250 let aws_config = Arc :: clone ( aws_config) ;
251251 let api_key_secret_reload_interval = config. api_key_secret_reload_interval ;
252252
253+ debug ! ( "Creating API key factory with api_key: {}" , config. api_key) ;
254+
253255 Arc :: new ( ApiKeyFactory :: new_from_resolver (
254256 Arc :: new ( move || {
255257 let config = Arc :: clone ( & config) ;
@@ -291,6 +293,10 @@ async fn extension_loop_active(
291293 let ( mut event_bus, event_bus_tx) = EventBus :: run ( ) ;
292294
293295 let account_id = r. account_id . as_ref ( ) . unwrap_or ( & "none" . to_string ( ) ) . clone ( ) ;
296+ debug ! (
297+ "Extension registered with id: {}, account: {account_id}" ,
298+ r. extension_id
299+ ) ;
294300 let tags_provider = setup_tag_provider ( & Arc :: clone ( & aws_config) , config, & account_id) ;
295301
296302 // Build one shared reqwest::Client for metrics, logs, and trace proxy flushing.
@@ -1125,6 +1131,8 @@ fn start_trace_agent(
11251131 trace_http_client,
11261132 ) ) ;
11271133
1134+ debug ! ( "Trace flusher initialized with api_key_factory: {:?}" , api_key_factory) ;
1135+
11281136 let obfuscation_config = obfuscation_config:: ObfuscationConfig {
11291137 tag_replace_rules : config. apm_replace_tags . clone ( ) ,
11301138 http_remove_path_digits : config. apm_config_obfuscation_http_remove_paths_with_digits ,
0 commit comments