Source code

Revision control

Copy as Markdown

Other Tools

# 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/.
# Adding a new metric? We have docs for that!
---
$tags:
- 'Core :: DOM: Core & HTML'
screenwakelock:
held_duration:
type: timing_distribution
description: >
How long a screen wake lock was held in ms
This metric was generated to correspond to the Legacy Telemetry
exponential histogram SCREENWAKELOCK_HELD_DURATION_MS.
time_unit: millisecond
bugs:
data_reviews:
notification_emails:
- vhilla@mozilla.com
expires: never
telemetry_mirror: SCREENWAKELOCK_HELD_DURATION_MS
release_battery_level_discharging:
type: custom_distribution
description: >
Battery level when discharging and the wake lock was released
This metric was generated to correspond to the Legacy Telemetry linear
histogram SCREENWAKELOCK_RELEASE_BATTERY_LEVEL_DISCHARGING.
range_min: 1
range_max: 100
bucket_count: 50
histogram_type: linear
unit: percentage
bugs:
data_reviews:
notification_emails:
- vhilla@mozilla.com
expires: never
telemetry_mirror: SCREENWAKELOCK_RELEASE_BATTERY_LEVEL_DISCHARGING