Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: infra/libs/event_mon/monitoring.py

Issue 875403010: event_mon: actually implemented push (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: infra/libs/event_mon/monitoring.py
diff --git a/infra/libs/event_mon/monitoring.py b/infra/libs/event_mon/monitoring.py
index 81456143d9fb41ad9cc214e36a155a01c022345c..2878db8f8c87b4e25158240395cf41b51541b797 100644
--- a/infra/libs/event_mon/monitoring.py
+++ b/infra/libs/event_mon/monitoring.py
@@ -44,4 +44,5 @@ def send_service_event(event_type,
# TODO: Serialize protobuf here.
Sergey Berezin 2015/02/07 03:16:47 nit: stale TODO.
pgervais 2015/02/10 10:36:37 Done.
log_event = LogRequestLite.LogEventLite()
log_event.event_time_ms = event_timestamp or router.time_ms()
+ log_event.source_extension = event.SerializeToString()
return config._router.push_event(log_event)

Powered by Google App Engine
This is Rietveld 408576698