Chromium Code Reviews| 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..30f9cea27b58ced78765a7f0a2024de92f6c2a27 |
| --- /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 ``found_suspects`` value of a ' |
| + 'crash analysis of Predator. This metric has fields like:' |
|
wrengr
2016/11/23 22:04:55
Much better :)
The "crash analysis of Predator" p
Sharu Jiang
2016/11/23 23:59:47
My bad documenting... thanks for the advises!
|
| + '{found_suspects: True/False,' |
| + ' client_id: Cracas/Fracas/Clusterfuzz}')) |
| + |
| +has_regression_range = gae_ts_mon.CounterMetric( |
| + 'predator/has_regression_range', |
| + description=('Metric monitoring ``has_regression_range`` value of a ' |
| + 'crash analysis of Predator. 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 ``found_components`` value of a ' |
| + 'crash analysis of Predator. This metric has fields like:' |
| + '{found_components: True/False,' |
| + ' client_id: Cracas/Fracas/Clusterfuzz}')) |