| 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 | |
| 17 #include "omaha/goopdate/worker_metrics.h" | |
| 18 | |
| 19 namespace omaha { | |
| 20 | |
| 21 DEFINE_METRIC_count(worker_download_total); | |
| 22 DEFINE_METRIC_count(worker_download_succeeded); | |
| 23 | |
| 24 DEFINE_METRIC_count(worker_package_cache_put_total); | |
| 25 DEFINE_METRIC_count(worker_package_cache_put_succeeded); | |
| 26 | |
| 27 DEFINE_METRIC_count(worker_install_execute_total); | |
| 28 DEFINE_METRIC_count(worker_install_execute_msi_total); | |
| 29 | |
| 30 DEFINE_METRIC_count(worker_install_msi_in_progress_detected_update); | |
| 31 DEFINE_METRIC_count(worker_install_msi_in_progress_retry_succeeded_update); | |
| 32 DEFINE_METRIC_integer( | |
| 33 worker_install_msi_in_progress_retry_succeeded_tries_update); | |
| 34 | |
| 35 DEFINE_METRIC_count(worker_install_msi_in_progress_detected_install); | |
| 36 DEFINE_METRIC_count(worker_install_msi_in_progress_retry_succeeded_install); | |
| 37 DEFINE_METRIC_integer( | |
| 38 worker_install_msi_in_progress_retry_succeeded_tries_install); | |
| 39 | |
| 40 DEFINE_METRIC_integer(worker_shell_version); | |
| 41 | |
| 42 DEFINE_METRIC_bool(worker_is_windows_installing); | |
| 43 | |
| 44 DEFINE_METRIC_bool(worker_is_uac_disabled); | |
| 45 | |
| 46 DEFINE_METRIC_bool(worker_is_clickonce_disabled); | |
| 47 | |
| 48 DEFINE_METRIC_bool(worker_has_software_firewall); | |
| 49 | |
| 50 DEFINE_METRIC_count(worker_silent_update_running_on_batteries); | |
| 51 | |
| 52 DEFINE_METRIC_count(worker_update_check_total); | |
| 53 DEFINE_METRIC_count(worker_update_check_succeeded); | |
| 54 | |
| 55 DEFINE_METRIC_integer(worker_apps_not_updated_eula); | |
| 56 DEFINE_METRIC_integer(worker_apps_not_updated_group_policy); | |
| 57 DEFINE_METRIC_integer(worker_apps_not_installed_group_policy); | |
| 58 | |
| 59 DEFINE_METRIC_count(worker_skipped_app_update_for_self_update); | |
| 60 | |
| 61 DEFINE_METRIC_count(worker_self_updates_available); | |
| 62 DEFINE_METRIC_count(worker_self_updates_succeeded); | |
| 63 | |
| 64 DEFINE_METRIC_count(worker_app_updates_available); | |
| 65 DEFINE_METRIC_count(worker_app_updates_succeeded); | |
| 66 | |
| 67 DEFINE_METRIC_integer(worker_self_update_responses); | |
| 68 DEFINE_METRIC_integer(worker_self_update_response_time_since_first_ms); | |
| 69 | |
| 70 DEFINE_METRIC_integer(worker_app_max_update_responses_app_high); | |
| 71 DEFINE_METRIC_integer(worker_app_max_update_responses); | |
| 72 DEFINE_METRIC_integer(worker_app_max_update_responses_ms_since_first); | |
| 73 | |
| 74 DEFINE_METRIC_timing(ping_failed_ms); | |
| 75 DEFINE_METRIC_timing(ping_succeeded_ms); | |
| 76 | |
| 77 } // namespace omaha | |
| OLD | NEW |