We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feecc5f commit 021cd73Copy full SHA for 021cd73
1 file changed
bottlecap/src/lifecycle/invocation/processor.rs
@@ -254,8 +254,13 @@ impl Processor {
254
self.runtime = Some(runtime);
255
}
256
257
- self.dynamic_tags
258
- .insert(String::from("cold_start"), cold_start.to_string());
+ // Skip cold_start tag in Managed Instance mode
+ // We don't want to send this tag for spans, as the experience
259
+ // won't look good due to the time gap in the flame graph.
260
+ if !self.aws_config.is_managed_instance_mode() {
261
+ self.dynamic_tags
262
+ .insert(String::from("cold_start"), cold_start.to_string());
263
+ }
264
265
if proactive_initialization {
266
self.dynamic_tags.insert(
0 commit comments