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

Unified Diff: infra_libs/logs/logs.py

Issue 1260293009: make version of ts_mon compatible with appengine (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: add noncululativedistribution metric to ts_mon imports 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
« no previous file with comments | « infra_libs/instrumented_requests.py ('k') | infra_libs/test/httplib2_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra_libs/logs/logs.py
diff --git a/infra_libs/logs/logs.py b/infra_libs/logs/logs.py
index 985e2c509e7982fd30922ac0265db255ef6394ea..f53781d07d9ee1cb20106d8d958936b7ff724b6f 100644
--- a/infra_libs/logs/logs.py
+++ b/infra_libs/logs/logs.py
@@ -41,9 +41,9 @@ import textwrap
import pytz
-from infra_libs.ts_mon import metrics
+from infra_libs.ts_mon.common.metrics import CumulativeMetric
-log_metric = metrics.CumulativeMetric('proc/log_lines')
+log_metric = CumulativeMetric('proc/log_lines')
if sys.platform.startswith('win'): # pragma: no cover
DEFAULT_LOG_DIRECTORIES = os.pathsep.join([
« no previous file with comments | « infra_libs/instrumented_requests.py ('k') | infra_libs/test/httplib2_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698