Add agent metrics (#41991)

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-11-07 10:07:57 +00:00
committed by GitHub
parent 29cc3d0e18
commit c2416d6bab
16 changed files with 327 additions and 188 deletions
+4 -3
View File
@@ -54,9 +54,10 @@ macro_rules! serialize_property {
}
pub fn send_event(event: Event) {
if let Some(queue) = TELEMETRY_QUEUE.get() {
queue.unbounded_send(event).ok();
}
println!("{} - {:?}", event.event_type, event.event_properties);
// if let Some(queue) = TELEMETRY_QUEUE.get() {
// queue.unbounded_send(event).ok();
// }
}
pub fn init(tx: mpsc::UnboundedSender<Event>) {