mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
9325c14f5c
Differential Revision: https://phabricator.services.mozilla.com/D221499
58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
# 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!
|
|
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
|
|
|
|
---
|
|
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
|
|
$tags:
|
|
- "Core :: XPCOM"
|
|
|
|
timer_thread:
|
|
timers_fired_per_wakeup:
|
|
type: custom_distribution
|
|
description: >
|
|
How many timers were processed in a single wake-up of the Timer Thread.
|
|
range_min: 0
|
|
range_max: 80
|
|
bucket_count: 20
|
|
histogram_type: exponential
|
|
bugs:
|
|
- https://bugzilla.mozilla.org/show_bug.cgi?id=1814718
|
|
data_reviews:
|
|
- https://bugzilla.mozilla.org/show_bug.cgi?id=1814718
|
|
data_sensitivity:
|
|
- technical
|
|
notification_emails:
|
|
- jlink@mozilla.com
|
|
expires: never
|
|
|
|
memory_watcher:
|
|
on_high_memory_stats:
|
|
type: event
|
|
description: >
|
|
This event is recorded when the memory situation is no longer low.
|
|
The "stats" object consists of three numbers comma-delimited: 1) how
|
|
many times a tab was unloaded 2) how many memory-pressure events
|
|
were dispatched 3) how long we were in the low-memory situation in
|
|
seconds
|
|
This event was generated to correspond to the Legacy Telemetry event
|
|
memory_watcher.on_high_memory#stats.
|
|
bugs:
|
|
- https://bugzil.la/1715858
|
|
data_reviews:
|
|
- https://bugzil.la/1715858
|
|
notification_emails:
|
|
- tkikuchi@mozilla.com
|
|
expires: never
|
|
extra_keys:
|
|
value:
|
|
description: >
|
|
The `value` of the event. Mirrors to the Legacy Telemetry
|
|
event's `value` parameter.
|
|
The stringified, comma-separated stats.
|
|
type: string
|
|
telemetry_mirror: Memory_watcher_OnHighMemory_Stats
|