|
| 1 | +/* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | + * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | + |
| 5 | +// AUTOGENERATED BY glean_parser v14.5.2. DO NOT EDIT. DO NOT COMMIT. |
| 6 | + |
| 7 | +import CounterMetricType from '@mozilla/glean/private/metrics/counter'; |
| 8 | + |
| 9 | +/** |
| 10 | + * Counts how often a failure is annotated FBC. |
| 11 | + * |
| 12 | + * Generated from `classification.fixed_by_commit`. |
| 13 | + */ |
| 14 | +export const fixedByCommit = new CounterMetricType({ |
| 15 | + category: 'classification', |
| 16 | + name: 'fixed_by_commit', |
| 17 | + sendInPings: ['classified'], |
| 18 | + lifetime: 'ping', |
| 19 | + disabled: false, |
| 20 | +}); |
| 21 | + |
| 22 | +/** |
| 23 | + * Counts how often a failure is annotated FBC with a NEW tag. |
| 24 | + * |
| 25 | + * Generated from `classification.fixed_by_commit_new_failure`. |
| 26 | + */ |
| 27 | +export const fixedByCommitNewFailure = new CounterMetricType({ |
| 28 | + category: 'classification', |
| 29 | + name: 'fixed_by_commit_new_failure', |
| 30 | + sendInPings: ['classified'], |
| 31 | + lifetime: 'ping', |
| 32 | + disabled: false, |
| 33 | +}); |
| 34 | + |
| 35 | +/** |
| 36 | + * Counts how often a bug is filed without a NEW tag. |
| 37 | + * |
| 38 | + * Generated from `classification.new_bug`. |
| 39 | + */ |
| 40 | +export const newBug = new CounterMetricType({ |
| 41 | + category: 'classification', |
| 42 | + name: 'new_bug', |
| 43 | + sendInPings: ['classified'], |
| 44 | + lifetime: 'ping', |
| 45 | + disabled: false, |
| 46 | +}); |
| 47 | + |
| 48 | +/** |
| 49 | + * Counts how often a bug is filed with a NEW tag. |
| 50 | + * |
| 51 | + * Generated from `classification.new_failure_new_bug`. |
| 52 | + */ |
| 53 | +export const newFailureNewBug = new CounterMetricType({ |
| 54 | + category: 'classification', |
| 55 | + name: 'new_failure_new_bug', |
| 56 | + sendInPings: ['classified'], |
| 57 | + lifetime: 'ping', |
| 58 | + disabled: false, |
| 59 | +}); |
| 60 | + |
| 61 | +/** |
| 62 | + * Counts how often a NEW tag is classified as fixed_by_commit. |
| 63 | + * |
| 64 | + * Generated from `classification.new_failure_other`. |
| 65 | + */ |
| 66 | +export const newFailureOther = new CounterMetricType({ |
| 67 | + category: 'classification', |
| 68 | + name: 'new_failure_other', |
| 69 | + sendInPings: ['classified'], |
| 70 | + lifetime: 'ping', |
| 71 | + disabled: false, |
| 72 | +}); |
0 commit comments