OLD | NEW |
| (Empty) |
1 // Copyright 2008-2009 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 | |
16 #include "omaha/goopdate/goopdate_metrics.h" | |
17 | |
18 namespace omaha { | |
19 | |
20 DEFINE_METRIC_integer(windows_major_version); | |
21 DEFINE_METRIC_integer(windows_minor_version); | |
22 DEFINE_METRIC_integer(windows_sp_major_version); | |
23 DEFINE_METRIC_integer(windows_sp_minor_version); | |
24 | |
25 DEFINE_METRIC_count(crashes_total); | |
26 DEFINE_METRIC_count(crashes_uploaded); | |
27 DEFINE_METRIC_count(crashes_throttled); | |
28 DEFINE_METRIC_count(crashes_rejected); | |
29 DEFINE_METRIC_count(crashes_failed); | |
30 | |
31 DEFINE_METRIC_count(oop_crashes_requested); | |
32 DEFINE_METRIC_count(oop_crashes_total); | |
33 DEFINE_METRIC_count(oop_crashes_uploaded); | |
34 DEFINE_METRIC_count(oop_crashes_throttled); | |
35 DEFINE_METRIC_count(oop_crashes_rejected); | |
36 DEFINE_METRIC_count(oop_crashes_failed); | |
37 DEFINE_METRIC_count(oop_crashes_crash_filename_empty); | |
38 DEFINE_METRIC_count(oop_crashes_createcustominfofile_failed); | |
39 DEFINE_METRIC_count(oop_crashes_startsenderwithcommandline_failed); | |
40 DEFINE_METRIC_count(oop_crash_start_sender); | |
41 | |
42 DEFINE_METRIC_count(goopdate_handle_report_crash); | |
43 | |
44 DEFINE_METRIC_count(crash_start_server_total); | |
45 DEFINE_METRIC_count(crash_start_server_succeeded); | |
46 | |
47 DEFINE_METRIC_count(cr_process_total); | |
48 DEFINE_METRIC_count(cr_callback_total); | |
49 DEFINE_METRIC_count(cr_callback_status_200); | |
50 DEFINE_METRIC_count(cr_callback_status_204); | |
51 DEFINE_METRIC_count(cr_callback_status_other); | |
52 | |
53 DEFINE_METRIC_count(load_resource_dll_failed); | |
54 | |
55 DEFINE_METRIC_count(goopdate_constructor); | |
56 DEFINE_METRIC_count(goopdate_destructor); | |
57 DEFINE_METRIC_count(goopdate_main); | |
58 | |
59 } // namespace omaha | |
OLD | NEW |