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

Unified Diff: appengine/findit/crash/monitoring.py

Issue 2514413003: [Predator] Monitor found_suspects, has_regression_range and found_components using ts_mon (Closed)
Patch Set: . Created 4 years, 1 month 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/findit/crash/monitoring.py
diff --git a/appengine/findit/crash/monitoring.py b/appengine/findit/crash/monitoring.py
new file mode 100644
index 0000000000000000000000000000000000000000..9f84d869a6cd8cbd6eabfd9c10ca84875d2f9770
--- /dev/null
+++ b/appengine/findit/crash/monitoring.py
@@ -0,0 +1,17 @@
+# Copyright 2016 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 gae_ts_mon
+
+found_suspects = gae_ts_mon.CounterMetric(
stgao 2016/11/22 00:16:30 Could we make the names match the metrics?
Sharu Jiang 2016/11/22 01:24:16 Done.
+ 'predator/suspected_cls',
+ description='Predator detection of suspected cls of a crash.')
+
+has_regression_range = gae_ts_mon.CounterMetric(
+ 'predator/regression_range',
+ description='Predator detection of regression range of a crash.')
+
+found_components = gae_ts_mon.CounterMetric(
+ 'predator/suspected_components',
+ description='Predator detection of suspected components of a crash')

Powered by Google App Engine
This is Rietveld 408576698