Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed Dec 5, 2024
1 parent 0890cc2 commit 25bdce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ddtelemetry/src/worker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ impl TelemetryWorker {
self.deadlines
.schedule_event(LifecycleAction::FlushMetricAggr)
.unwrap();
// flush data should be last to previously flushed metrics are sent
self.deadlines
.schedule_event(LifecycleAction::FlushData)
.unwrap();
Expand Down

0 comments on commit 25bdce5

Please sign in to comment.