Skip to content

Commit 542786d

Browse files
Remove unnecessary comment
1 parent 0f3545a commit 542786d

File tree

1 file changed

+0
-2
lines changed
  • examples/logs-enrichment/src

1 file changed

+0
-2
lines changed

examples/logs-enrichment/src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ impl<P: LogProcessor> LogProcessor for SlowEnrichmentLogProcessor<P> {
114114
sleep(Duration::from_secs(1));
115115
// Enrich the log record with a custom attribute using the public API
116116
data.add_attribute("enriched", true);
117-
// You could also add more context, e.g., thread id, timestamp, etc.
118-
// data.add_attribute("thread_id", format!("{:?}", std::thread::current().id()));
119117
self.delegate.emit(data, instrumentation);
120118
}
121119

0 commit comments

Comments
 (0)