Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import gae_ts_mon | 5 import gae_ts_mon |
| 6 | 6 |
| 7 swarming_tasks = gae_ts_mon.CounterMetric( | 7 swarming_tasks = gae_ts_mon.CounterMetric( |
| 8 'findit/swarmingtasks', description='Swarming tasks triggered') | 8 'findit/swarmingtasks', description='Swarming tasks triggered') |
| 9 | 9 |
| 10 swarming_server_failures = gae_ts_mon.CounterMetric( | |
| 11 'findit/swarmingserverfailures', | |
|
stgao
2016/12/01 22:25:15
Maybe unify these two metrics as 'findit/httperror
lijeffrey
2016/12/01 22:54:34
Done.
| |
| 12 description='Failed remote calls to swarming server') | |
| 13 | |
| 14 isolated_server_failures = gae_ts_mon.CounterMetric( | |
| 15 'findit/isolatedserverfailures', | |
| 16 description='Failed remote calls to isolated server') | |
| 17 | |
| 10 issues = gae_ts_mon.CounterMetric( | 18 issues = gae_ts_mon.CounterMetric( |
| 11 'findit/issues', description='Bugs updated with findings') | 19 'findit/issues', description='Bugs updated with findings') |
| 12 | 20 |
| 13 flakes = gae_ts_mon.CounterMetric( | 21 flakes = gae_ts_mon.CounterMetric( |
| 14 'findit/flakes', description='Flakes requested or analyzed') | 22 'findit/flakes', description='Flakes requested or analyzed') |
| OLD | NEW |