fix(controller/reporting): rate limit k8s events & add external cancellation
This commit is contained in:
parent
8d407ef7b5
commit
a42cc2e7ac
1 changed files with 124 additions and 77 deletions
|
|
@ -98,3 +98,9 @@ impl OtelAggregator {
|
|||
todo!("Metrics are not implemented and should not be used for now")
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for OtelAggregator {
|
||||
fn drop(&mut self) {
|
||||
self.force_flush();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue