@classmethod
def _initialize_core_metrics(cls):
    '\n        Set a few metrics that will be sent as part of every ping.\n        '
    from ._builtins import metrics
    metrics.glean.baseline.locale.set(util.get_locale_tag())
    metrics.glean.internal.metrics.os.set(platform.system())
    metrics.glean.internal.metrics.os_version.set(platform.release())
    metrics.glean.internal.metrics.architecture.set(platform.machine())
    metrics.glean.internal.metrics.locale.set(util.get_locale_tag())
    sysinfo = hardware.get_system_information()
    metrics.glean.internal.metrics.device_manufacturer.set(sysinfo.manufacturer)
    metrics.glean.internal.metrics.device_model.set(sysinfo.model)
    if (cls._configuration.channel is not None):
        metrics.glean.internal.metrics.app_channel.set(cls._configuration.channel)
    metrics.glean.internal.metrics.app_build.set(cls._application_id)
    if (cls._application_version is not None):
        metrics.glean.internal.metrics.app_display_version.set(cls._application_version)
Set a few metrics that will be sent as part of every ping.
@classmethod
def _initialize_core_metrics(cls):
    '\n        \n        '
    from ._builtins import metrics
    metrics.glean.baseline.locale.set(util.get_locale_tag())
    metrics.glean.internal.metrics.os.set(platform.system())
    metrics.glean.internal.metrics.os_version.set(platform.release())
    metrics.glean.internal.metrics.architecture.set(platform.machine())
    metrics.glean.internal.metrics.locale.set(util.get_locale_tag())
    sysinfo = hardware.get_system_information()
    metrics.glean.internal.metrics.device_manufacturer.set(sysinfo.manufacturer)
    metrics.glean.internal.metrics.device_model.set(sysinfo.model)
    if (cls._configuration.channel is not None):
        metrics.glean.internal.metrics.app_channel.set(cls._configuration.channel)
    metrics.glean.internal.metrics.app_build.set(cls._application_id)
    if (cls._application_version is not None):
        metrics.glean.internal.metrics.app_display_version.set(cls._application_version)