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

Unified Diff: appengine/sheriff_o_matic/ts_alerts.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/sheriff_o_matic/makefile ('k') | appengine_module/gae_ts_mon/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/ts_alerts.py
diff --git a/appengine/sheriff_o_matic/ts_alerts.py b/appengine/sheriff_o_matic/ts_alerts.py
index 4fd44f94c418e02d5c92371e319652b9d0abf370..99c4b74cc11e2f6a507fc455536478d75a15aea3 100644
--- a/appengine/sheriff_o_matic/ts_alerts.py
+++ b/appengine/sheriff_o_matic/ts_alerts.py
@@ -40,7 +40,6 @@ class TimeSeriesAlertsHandler(webapp2.RequestHandler):
STALE_ALERT_TIMEOUT = 300
def get(self, key=None):
- utils.increment_monarch('ts-alerts')
self.remove_expired_alerts()
if not users.get_current_user():
results = {'date': dt.utcnow(),
@@ -176,7 +175,6 @@ class TimeSeriesAlertsHandler(webapp2.RequestHandler):
class TimeSeriesAlertsHistory(alerts_history.AlertsHistory):
def get(self, timestamp=None):
- utils.increment_monarch('ts-alerts-history')
result_json = {}
if not users.get_current_user():
result_json['login-url'] = users.create_login_url(self.request.uri)
« no previous file with comments | « appengine/sheriff_o_matic/makefile ('k') | appengine_module/gae_ts_mon/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698