Skip to content

Commit 034353e

Browse files
committed
Remove debug log
1 parent 9cf047b commit 034353e

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

bottlecap/src/lifecycle/invocation/processor.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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)

bottlecap/src/metrics/enhanced/lambda.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)