File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -285,18 +285,11 @@ impl Processor {
285285 /// This is used to create a cold start span, since this telemetry event does not
286286 /// provide a `request_id`, we try to guess which invocation is the cold start.
287287 pub fn on_platform_init_start ( & mut self , time : DateTime < Utc > , runtime_version : Option < String > ) {
288- debug ! (
289- "PlatformInitStart received: runtime_version={:?}" ,
290- runtime_version
291- ) ;
292288 if runtime_version
293289 . as_deref ( )
294290 . is_some_and ( |rv| rv. contains ( "DurableFunction" ) )
295291 {
296- debug ! ( "DurableFunction detected in runtime_version, setting durable_function:true tag on enhanced metrics" ) ;
297292 self . enhanced_metrics . set_durable_function_tag ( ) ;
298- } else {
299- debug ! ( "runtime_version does not contain 'DurableFunction', skipping durable_function tag" ) ;
300293 }
301294 let start_time: i64 = SystemTime :: from ( time)
302295 . duration_since ( UNIX_EPOCH )
Original file line number Diff line number Diff line change @@ -63,13 +63,8 @@ impl Lambda {
6363
6464 /// Sets the `durable_function:true` tag in `dynamic_value_tags`
6565 pub fn set_durable_function_tag ( & mut self ) {
66- debug ! ( "Enhanced metrics: inserting durable_function:true into dynamic_value_tags" ) ;
6766 self . dynamic_value_tags
6867 . insert ( String :: from ( "durable_function" ) , String :: from ( "true" ) ) ;
69- debug ! (
70- "Enhanced metrics: dynamic_value_tags after set_durable_function_tag: {:?}" ,
71- self . dynamic_value_tags
72- ) ;
7368 }
7469
7570 fn get_dynamic_value_tags ( & self ) -> Option < SortedTags > {
@@ -81,11 +76,6 @@ impl Lambda {
8176
8277 let string_tags = vec_tags. join ( "," ) ;
8378
84- debug ! (
85- "Enhanced metrics: get_dynamic_value_tags returning tag string: {:?}" ,
86- string_tags
87- ) ;
88-
8979 SortedTags :: parse ( & string_tags) . ok ( )
9080 }
9181
You can’t perform that action at this time.
0 commit comments