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

Unified Diff: appengine_module/gae_ts_mon/__init__.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 | « appengine_module/gae_ts_mon/README ('k') | appengine_module/gae_ts_mon/common » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine_module/gae_ts_mon/__init__.py
diff --git a/appengine_module/gae_ts_mon/__init__.py b/appengine_module/gae_ts_mon/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..bf808ed2dfdaf066ee3c88a349b1069c4535ee14
--- /dev/null
+++ b/appengine_module/gae_ts_mon/__init__.py
@@ -0,0 +1,33 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import google # provided by GAE
+import os
+import sys
+
+protobuf_dir = os.path.join(os.path.dirname(__file__), 'protobuf')
+google.__path__.append(os.path.join(protobuf_dir, 'google'))
+sys.path.insert(0, protobuf_dir)
+
+from interface import send
+from interface import flush
+
+from monitoring import access_count
+from monitoring import request_bytes
+from monitoring import response_bytes
+from monitoring import durations
+from monitoring import response_status
+
+from common.errors import MonitoringError
+from common.errors import MonitoringDuplicateRegistrationError
+
+from common.metrics import BooleanMetric
+from common.metrics import CounterMetric
+from common.metrics import CumulativeMetric
+from common.metrics import DistributionMetric
+from common.metrics import FloatMetric
+from common.metrics import GaugeMetric
+from common.metrics import StringMetric
+
+from common.targets import TaskTarget
« no previous file with comments | « appengine_module/gae_ts_mon/README ('k') | appengine_module/gae_ts_mon/common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698