Copy as Markdown

Other Tools

// -*- mode: C++ -*-
// AUTOGENERATED BY glean_parser. DO NOT EDIT.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_GleanToolkitMozappsUpdateMetrics_h
#define mozilla_GleanToolkitMozappsUpdateMetrics_h
#include "mozilla/glean/bindings/MetricTypes.h"
namespace mozilla::glean {
namespace update {
/**
* generated from update.bits_result_complete
* Update: Result code from downloading a complete update via BITS
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_BITS_RESULT_COMPLETE.
*/
constexpr impl::CustomDistributionMetric bits_result_complete(5926);
/**
* generated from update.bits_result_partial
* Update: Result code from downloading a partial update via BITS
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_BITS_RESULT_PARTIAL.
*/
constexpr impl::CustomDistributionMetric bits_result_partial(5927);
/**
* generated from update.can_use_bits_external
*/
enum class CanUseBitsExternalLabel: uint16_t {
eCanusebits = 0,
eNobitsNotwindows = 1,
eNobitsFeatureoff = 2,
eNobitsPref = 3,
eNobitsProxy = 4,
eNobitsOtheruser = 5,
e__Other__,
};
/**
* Update: Whether BITS could be used to download updates (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_CAN_USE_BITS_EXTERNAL.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, CanUseBitsExternalLabel> can_use_bits_external(5928);
/**
* generated from update.can_use_bits_notify
*/
enum class CanUseBitsNotifyLabel: uint16_t {
eCanusebits = 0,
eNobitsNotwindows = 1,
eNobitsFeatureoff = 2,
eNobitsPref = 3,
eNobitsProxy = 4,
eNobitsOtheruser = 5,
e__Other__,
};
/**
* Update: Whether BITS could be used to download updates (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_CAN_USE_BITS_NOTIFY.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, CanUseBitsNotifyLabel> can_use_bits_notify(5929);
/**
* generated from update.can_use_bits_subsequent
*/
enum class CanUseBitsSubsequentLabel: uint16_t {
eCanusebits = 0,
eNobitsNotwindows = 1,
eNobitsFeatureoff = 2,
eNobitsPref = 3,
eNobitsProxy = 4,
eNobitsOtheruser = 5,
e__Other__,
};
/**
* Update: Whether BITS could be used to download updates (after we already have an update ready)
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_CAN_USE_BITS_SUBSEQUENT.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, CanUseBitsSubsequentLabel> can_use_bits_subsequent(5930);
/**
* generated from update.cannot_stage_external
* Update: count of systems that cannot stage updates (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CANNOT_STAGE_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> cannot_stage_external(5931);
/**
* generated from update.cannot_stage_notify
* Update: count of systems that cannot stage updates (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CANNOT_STAGE_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> cannot_stage_notify(5932);
/**
* generated from update.cannot_stage_subsequent
* Update: count of systems that cannot stage updates (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CANNOT_STAGE_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> cannot_stage_subsequent(5933);
/**
* generated from update.check_code_external
* Update: background update check result code except for no updates found (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_CHECK_CODE_EXTERNAL.
*/
constexpr impl::CustomDistributionMetric check_code_external(5934);
/**
* generated from update.check_code_notify
* Update: background update check result code except for no updates found (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_CHECK_CODE_NOTIFY.
*/
constexpr impl::CustomDistributionMetric check_code_notify(5935);
/**
* generated from update.check_code_subsequent
* Update: background update check result code except for no updates found (after we already have an update ready). Possible codes are enumerated by constants starting with CHK_ in toolkit/mozapps/update/UpdateTelemetry.sys.mjs
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_CHECK_CODE_SUBSEQUENT.
*/
constexpr impl::CustomDistributionMetric check_code_subsequent(5936);
/**
* generated from update.check_extended_error_external
* Update: keyed count (key names are prefixed with AUS_CHECK_EX_ERR_) of background update check extended error code (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_EXTENDED_ERROR_EXTERNAL.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, DynamicLabel> check_extended_error_external(5937);
/**
* generated from update.check_extended_error_notify
* Update: keyed count (key names are prefixed with AUS_CHECK_EX_ERR_) of background update check extended error code (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_EXTENDED_ERROR_NOTIFY.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, DynamicLabel> check_extended_error_notify(5938);
/**
* generated from update.check_extended_error_subsequent
* Update: keyed count (key names are prefixed with AUS_CHECK_EX_ERR_) of background update check extended error code (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_EXTENDED_ERROR_SUBSEQUENT.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, DynamicLabel> check_extended_error_subsequent(5939);
/**
* generated from update.check_no_update_external
* Update: count of no updates were found for a background update check (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_NO_UPDATE_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> check_no_update_external(5940);
/**
* generated from update.check_no_update_notify
* Update: count of no updates were found for a background update check (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_NO_UPDATE_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> check_no_update_notify(5941);
/**
* generated from update.check_no_update_subsequent
* Update: count of no updates were found for a background update check (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_CHECK_NO_UPDATE_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> check_no_update_subsequent(5942);
/**
* generated from update.download_code_complete
* Update: complete patch type download result code
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_DOWNLOAD_CODE_COMPLETE.
*/
constexpr impl::CustomDistributionMetric download_code_complete(5943);
/**
* generated from update.download_code_partial
* Update: partial patch type download result code
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_DOWNLOAD_CODE_PARTIAL.
*/
constexpr impl::CustomDistributionMetric download_code_partial(5944);
/**
* generated from update.download_code_unknown
* Update: unknown patch type download result code
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_DOWNLOAD_CODE_UNKNOWN.
*/
constexpr impl::CustomDistributionMetric download_code_unknown(5945);
/**
* generated from update.invalid_lastupdatetime_external
* Update: count of systems that have a last update time greater than the current time (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_INVALID_LASTUPDATETIME_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> invalid_lastupdatetime_external(5946);
/**
* generated from update.invalid_lastupdatetime_notify
* Update: count of systems that have a last update time greater than the current time (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_INVALID_LASTUPDATETIME_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> invalid_lastupdatetime_notify(5947);
/**
* generated from update.invalid_lastupdatetime_subsequent
* Update: count of systems that have a last update time greater than the current time (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_INVALID_LASTUPDATETIME_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> invalid_lastupdatetime_subsequent(5948);
/**
* generated from update.langpack_overtime
* Update: How much longer langpacks took to download than the app update in seconds.
* This metric was generated to correspond to the Legacy Telemetry linear histogram UPDATE_LANGPACK_OVERTIME.
*/
constexpr impl::TimingDistributionMetric langpack_overtime(5949);
/**
* generated from update.last_notify_interval_days_external
* Update: interval in days since the last background update check (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram UPDATE_LAST_NOTIFY_INTERVAL_DAYS_EXTERNAL.
*/
constexpr impl::TimingDistributionMetric last_notify_interval_days_external(5950);
/**
* generated from update.last_notify_interval_days_notify
* Update: interval in days since the last background update check (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram UPDATE_LAST_NOTIFY_INTERVAL_DAYS_NOTIFY.
*/
constexpr impl::TimingDistributionMetric last_notify_interval_days_notify(5951);
/**
* generated from update.last_notify_interval_days_subsequent
* Update: interval in days since the last background update check (after we already have an update ready)
* This metric was generated to correspond to the Legacy Telemetry exponential histogram UPDATE_LAST_NOTIFY_INTERVAL_DAYS_SUBSEQUENT.
*/
constexpr impl::TimingDistributionMetric last_notify_interval_days_subsequent(5952);
/**
* generated from update.not_pref_update_auto_external
* Update: count of when getAppUpdateAutoEnabled from UpdateUtils.sys.mjs does not return the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_AUTO_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_auto_external(5953);
/**
* generated from update.not_pref_update_auto_notify
* Update: count of when getAppUpdateAutoEnabled from UpdateUtils.sys.mjs does not return the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_AUTO_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_auto_notify(5954);
/**
* generated from update.not_pref_update_auto_subsequent
* Update: count of when getAppUpdateAutoEnabled from UpdateUtils.sys.mjs does not return the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_AUTO_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_auto_subsequent(5955);
/**
* generated from update.not_pref_update_service_enabled_external
* Update: count of when the app.update.service.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_SERVICE_ENABLED_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_service_enabled_external(5956);
/**
* generated from update.not_pref_update_service_enabled_notify
* Update: count of when the app.update.service.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_SERVICE_ENABLED_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_service_enabled_notify(5957);
/**
* generated from update.not_pref_update_service_enabled_subsequent
* Update: count of when the app.update.service.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_SERVICE_ENABLED_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_service_enabled_subsequent(5958);
/**
* generated from update.not_pref_update_staging_enabled_external
* Update: count of when the app.update.staging.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_STAGING_ENABLED_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_staging_enabled_external(5959);
/**
* generated from update.not_pref_update_staging_enabled_notify
* Update: count of when the app.update.staging.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_STAGING_ENABLED_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_staging_enabled_notify(5960);
/**
* generated from update.not_pref_update_staging_enabled_subsequent
* Update: count of when the app.update.staging.enabled boolean preference is not the default value of true (true values are not submitted)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_NOT_PREF_UPDATE_STAGING_ENABLED_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> not_pref_update_staging_enabled_subsequent(5961);
/**
* generated from update.notification_badge_shown
*/
enum class NotificationBadgeShownLabel: uint16_t {
eRestart = 0,
eAvailable = 1,
eManual = 2,
eUnsupported = 3,
eOtherinstance = 4,
e__Other__,
};
/**
* Update: the application update badge type that was displayed.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_NOTIFICATION_BADGE_SHOWN.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, NotificationBadgeShownLabel> notification_badge_shown(5962);
/**
* generated from update.notification_dismissed
*/
enum class NotificationDismissedLabel: uint16_t {
eRestart = 0,
eAvailable = 1,
eManual = 2,
eUnsupported = 3,
eOtherinstance = 4,
e__Other__,
};
/**
* Update: the dismiss action was executed for this application update doorhanger type.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_NOTIFICATION_DISMISSED.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, NotificationDismissedLabel> notification_dismissed(5963);
/**
* generated from update.notification_main_action_doorhanger
*/
enum class NotificationMainActionDoorhangerLabel: uint16_t {
eRestart = 0,
eAvailable = 1,
eManual = 2,
eUnsupported = 3,
eOtherinstance = 4,
e__Other__,
};
/**
* Update: the main update action was initiated for this application update doorhanger type.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_NOTIFICATION_MAIN_ACTION_DOORHANGER.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, NotificationMainActionDoorhangerLabel> notification_main_action_doorhanger(5964);
/**
* generated from update.notification_main_action_menu
*/
enum class NotificationMainActionMenuLabel: uint16_t {
eRestart = 0,
eAvailable = 1,
eManual = 2,
eUnsupported = 3,
eOtherinstance = 4,
e__Other__,
};
/**
* Update: the update action was initiated from the PanelUI application update menu item.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_NOTIFICATION_MAIN_ACTION_MENU.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, NotificationMainActionMenuLabel> notification_main_action_menu(5965);
/**
* generated from update.notification_shown
*/
enum class NotificationShownLabel: uint16_t {
eRestart = 0,
eAvailable = 1,
eManual = 2,
eUnsupported = 3,
eOtherinstance = 4,
e__Other__,
};
/**
* Update: the application update doorhanger type that was displayed.
* This metric was generated to correspond to the Legacy Telemetry categorical histogram UPDATE_NOTIFICATION_SHOWN.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, NotificationShownLabel> notification_shown(5966);
/**
* generated from update.ping_count_external
* Update: count of systems for this ping for comparison with other pings (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_PING_COUNT_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> ping_count_external(5967);
/**
* generated from update.ping_count_notify
* Update: count of systems for this ping for comparison with other pings (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_PING_COUNT_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> ping_count_notify(5968);
/**
* generated from update.ping_count_subsequent
* Update: count of systems for this ping for comparison with other pings (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_PING_COUNT_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> ping_count_subsequent(5969);
/**
* generated from update.pref_service_errors_external
* Update: number of sequential update service errors greater than 0 (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_SERVICE_ERRORS_EXTERNAL.
*/
constexpr impl::CustomDistributionMetric pref_service_errors_external(5970);
/**
* generated from update.pref_service_errors_notify
* Update: number of sequential update service errors greater than 0 (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_SERVICE_ERRORS_NOTIFY.
*/
constexpr impl::CustomDistributionMetric pref_service_errors_notify(5971);
/**
* generated from update.pref_service_errors_subsequent
* Update: number of sequential update service errors greater than 0 (after we already have an update ready)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_SERVICE_ERRORS_SUBSEQUENT.
*/
constexpr impl::CustomDistributionMetric pref_service_errors_subsequent(5972);
/**
* generated from update.pref_update_cancelations_external
* Update: number of sequential update elevation request cancelations greater than 0 (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_UPDATE_CANCELATIONS_EXTERNAL.
*/
constexpr impl::CustomDistributionMetric pref_update_cancelations_external(5973);
/**
* generated from update.pref_update_cancelations_notify
* Update: number of sequential update elevation request cancelations greater than 0 (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_UPDATE_CANCELATIONS_NOTIFY.
*/
constexpr impl::CustomDistributionMetric pref_update_cancelations_notify(5974);
/**
* generated from update.pref_update_cancelations_subsequent
* Update: number of sequential update elevation request cancelations greater than 0 (after we already have an update ready)
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_PREF_UPDATE_CANCELATIONS_SUBSEQUENT.
*/
constexpr impl::CustomDistributionMetric pref_update_cancelations_subsequent(5975);
/**
* generated from update.previous_build_id
* The Firefox build id the browser is updating from.
* Follows the same format as application.buildId.
* Only valid for "update" pings with reason "success".
*/
constexpr impl::StringMetric previous_build_id(5976);
/**
* generated from update.previous_channel
* The Firefox channel the profile was on before the update was applied.
* Only valid for "update" pings with reason "success".
*/
constexpr impl::StringMetric previous_channel(5977);
/**
* generated from update.previous_version
* The Firefox version the browser is updating from.
* Follows the same format as application.version.
* Only valid for "update" pings with reason "success".
*/
constexpr impl::StringMetric previous_version(5978);
/**
* generated from update.service_installed_external
*/
enum class ServiceInstalledExternalLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* Update: whether the service is installed (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry boolean histogram UPDATE_SERVICE_INSTALLED_EXTERNAL.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, ServiceInstalledExternalLabel> service_installed_external(5979);
/**
* generated from update.service_installed_notify
*/
enum class ServiceInstalledNotifyLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* Update: whether the service is installed (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry boolean histogram UPDATE_SERVICE_INSTALLED_NOTIFY.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, ServiceInstalledNotifyLabel> service_installed_notify(5980);
/**
* generated from update.service_installed_subsequent
*/
enum class ServiceInstalledSubsequentLabel: uint16_t {
eFalse = 0,
eTrue = 1,
e__Other__,
};
/**
* Update: whether the service is installed (after we already have an update ready)
* This metric was generated to correspond to the Legacy Telemetry boolean histogram UPDATE_SERVICE_INSTALLED_SUBSEQUENT.
*/
constexpr impl::Labeled<impl::CounterMetric<impl::CounterType::eBaseOrLabeled>, ServiceInstalledSubsequentLabel> service_installed_subsequent(5981);
/**
* generated from update.service_manually_uninstalled_external
* Update: count of systems that manually uninstalled the service (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_SERVICE_MANUALLY_UNINSTALLED_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> service_manually_uninstalled_external(5982);
/**
* generated from update.service_manually_uninstalled_notify
* Update: count of systems that manually uninstalled the service (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_SERVICE_MANUALLY_UNINSTALLED_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> service_manually_uninstalled_notify(5983);
/**
* generated from update.service_manually_uninstalled_subsequent
* Update: count of systems that manually uninstalled the service (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_SERVICE_MANUALLY_UNINSTALLED_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> service_manually_uninstalled_subsequent(5984);
/**
* generated from update.state_code_complete_stage
* Update: the state of a complete patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_COMPLETE_STAGE.
*/
constexpr impl::CustomDistributionMetric state_code_complete_stage(5985);
/**
* generated from update.state_code_complete_startup
* Update: the state of a complete update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_COMPLETE_STARTUP.
*/
constexpr impl::CustomDistributionMetric state_code_complete_startup(5986);
/**
* generated from update.state_code_partial_stage
* Update: the state of a partial patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_PARTIAL_STAGE.
*/
constexpr impl::CustomDistributionMetric state_code_partial_stage(5987);
/**
* generated from update.state_code_partial_startup
* Update: the state of a partial patch update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_PARTIAL_STARTUP.
*/
constexpr impl::CustomDistributionMetric state_code_partial_startup(5988);
/**
* generated from update.state_code_unknown_stage
* Update: the state of an unknown patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_UNKNOWN_STAGE.
*/
constexpr impl::CustomDistributionMetric state_code_unknown_stage(5989);
/**
* generated from update.state_code_unknown_startup
* Update: the state of an unknown patch update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATE_CODE_UNKNOWN_STARTUP.
*/
constexpr impl::CustomDistributionMetric state_code_unknown_startup(5990);
/**
* generated from update.status_error_code_complete_stage
* Update: the status error code for a failed complete patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_COMPLETE_STAGE.
*/
constexpr impl::CustomDistributionMetric status_error_code_complete_stage(5991);
/**
* generated from update.status_error_code_complete_startup
* Update: the status error code for a failed complete patch update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_COMPLETE_STARTUP.
*/
constexpr impl::CustomDistributionMetric status_error_code_complete_startup(5992);
/**
* generated from update.status_error_code_partial_stage
* Update: the status error code for a failed partial patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_PARTIAL_STAGE.
*/
constexpr impl::CustomDistributionMetric status_error_code_partial_stage(5993);
/**
* generated from update.status_error_code_partial_startup
* Update: the status error code for a failed partial patch update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_PARTIAL_STARTUP.
*/
constexpr impl::CustomDistributionMetric status_error_code_partial_startup(5994);
/**
* generated from update.status_error_code_unknown_stage
* Update: the status error code for a failed unknown patch update from update.status after staging
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_UNKNOWN_STAGE.
*/
constexpr impl::CustomDistributionMetric status_error_code_unknown_stage(5995);
/**
* generated from update.status_error_code_unknown_startup
* Update: the status error code for a failed unknown patch update from update.status on startup
* This metric was generated to correspond to the Legacy Telemetry enumerated histogram UPDATE_STATUS_ERROR_CODE_UNKNOWN_STARTUP.
*/
constexpr impl::CustomDistributionMetric status_error_code_unknown_startup(5996);
/**
* generated from update.target_build_id
* The Firefox build id the browser is updating to.
* Follows the same format as application.buildId.
* Only valid for "update" pings with reason "ready".
*/
constexpr impl::StringMetric target_build_id(5997);
/**
* generated from update.target_channel
* The Firefox channel the update was fetched from.
* Only valid for "update" pings with reason "ready".
*/
constexpr impl::StringMetric target_channel(5998);
/**
* generated from update.target_display_version
* The Firefox display version the browser is updating to.
* This may contain a different value than `update.target_version`,
* e.g. for the Beta channel this field will report the beta suffix
* while `update.target_version` will only report the version number.
* Only valid for "update" pings with reason "ready".
*/
constexpr impl::StringMetric target_display_version(5999);
/**
* generated from update.target_version
* The Firefox version the browser is updating to.
* Follows the same format as application.version.
* Only valid for "update" pings with reason "ready".
*/
constexpr impl::StringMetric target_version(6000);
/**
* generated from update.unable_to_apply_external
* Update: count of systems that cannot apply updates (externally initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_UNABLE_TO_APPLY_EXTERNAL.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> unable_to_apply_external(6001);
/**
* generated from update.unable_to_apply_notify
* Update: count of systems that cannot apply updates (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_UNABLE_TO_APPLY_NOTIFY.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> unable_to_apply_notify(6002);
/**
* generated from update.unable_to_apply_subsequent
* Update: count of systems that cannot apply updates (timer initiated)
* This metric was generated to correspond to the Legacy Telemetry count histogram UPDATE_UNABLE_TO_APPLY_SUBSEQUENT.
*/
constexpr impl::CounterMetric<impl::CounterType::eBaseOrLabeled> unable_to_apply_subsequent(6003);
}
namespace update_settings {
/**
* generated from update.settings.auto_download
* Whether app updates are set to auto-download.
*/
constexpr impl::BooleanMetric auto_download(6009);
/**
* generated from update.settings.background
* Whether updates can be delivered in the background.
*/
constexpr impl::BooleanMetric background(6010);
/**
* generated from update.settings.channel
* The update channel according to defaults,
* including partner bits.
* e.g. "nightly-cck"
*/
constexpr impl::StringMetric channel(6011);
/**
* generated from update.settings.enabled
* Whether updates are available.
*/
constexpr impl::BooleanMetric enabled(6012);
}
namespace updater {
/**
* generated from updater.available
* Whether the app was built with the updater binary.
* Corresponds to the value of the `MOZ_UPDATER` define.
*/
constexpr impl::BooleanMetric available(6013);
}
} // namespace mozilla::glean
#endif // mozilla_GleanToolkitMozappsUpdateMetrics_h