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

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: Rebase 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
« no previous file with comments | « appengine/findit/crash/crash_pipeline.py ('k') | appengine/findit/crash/test/crash_testcase.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cfea5aa224852b0a685a3e5910c0341a8f6938d9
--- /dev/null
+++ b/appengine/findit/crash/monitoring.py
@@ -0,0 +1,26 @@
+# 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(
+ 'predator/found_suspects',
+ description=('Metric monitoring whether Predator found CLs for the'
+ 'crash report. This metric has fields like:'
+ '{found_suspects: True/False,'
+ ' client_id: Cracas/Fracas/Clusterfuzz}'))
+
+has_regression_range = gae_ts_mon.CounterMetric(
+ 'predator/has_regression_range',
+ description=('Metric monitoring whether Predator has regression range '
+ 'for the crash report. This metric has fields like:'
+ '{has_regression_range: True/False,'
+ ' client_id: Cracas/Fracas/Clusterfuzz}'))
+
+found_components = gae_ts_mon.CounterMetric(
+ 'predator/found_components',
+ description=('Metric monitoring whether Predator found components for the'
+ 'crash report. This metric has fields like:'
+ '{found_components: True/False,'
+ ' client_id: Cracas/Fracas/Clusterfuzz}'))
« no previous file with comments | « appengine/findit/crash/crash_pipeline.py ('k') | appengine/findit/crash/test/crash_testcase.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698