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

Unified Diff: appengine_module/gae_ts_mon/metrics.py

Issue 1260293009: make version of ts_mon compatible with appengine (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: clean up code Created 5 years, 4 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: appengine_module/gae_ts_mon/metrics.py
diff --git a/infra_libs/ts_mon/metrics.py b/appengine_module/gae_ts_mon/metrics.py
similarity index 98%
copy from infra_libs/ts_mon/metrics.py
copy to appengine_module/gae_ts_mon/metrics.py
index fa986e6e115441c8eaaf97f57c1577658d5e0337..ae7e5ea76af5dc27a4fa9ec6de56610341874911 100644
--- a/infra_libs/ts_mon/metrics.py
+++ b/appengine_module/gae_ts_mon/metrics.py
@@ -9,11 +9,11 @@ import copy
import threading
import time
-from monacq.proto import metrics_pb2
+import interface
+from gae import distribution
+from gae import errors
-from infra_libs.ts_mon import distribution
-from infra_libs.ts_mon import errors
-from infra_libs.ts_mon import interface
+from proto import metrics_pb2
MICROSECONDS_PER_SECOND = 1000000

Powered by Google App Engine
This is Rietveld 408576698