# 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/.
pretenure_count:
type: custom_distribution
range_min: 0
range_max: 100
bucket_count: 20
histogram_type: exponential
description: >
How many allocation sites were selected for pretenuring by a minor GC
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
mark_rate:
type: custom_distribution
range_min: 1000
range_max: 300000
bucket_count: 50
histogram_type: exponential
unit: "objects/ms"
description: >
The number of objects marked per ms during GC.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
slice_count:
type: custom_distribution
range_min: 0
range_max: 200
bucket_count: 50
histogram_type: exponential
unit: "objects/ms"
description: >
The number of slices in an incremental GC for the main runtime.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
parallel_mark_speedup:
type: custom_distribution
range_min: 50
range_max: 800
bucket_count: 50
histogram_type: exponential
description: >
Ratio of total helper thread time spent marking to main thread time for parallel marking, scaled by 100.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
parallel_mark_interruptions:
type: custom_distribution
range_min: 1
range_max: 500
bucket_count: 50
histogram_type: exponential
description: >
Number of interruptions/donations per slice during parallel marking.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
parallel_mark_utilization:
type: custom_distribution
range_min: 1
range_max: 100
bucket_count: 50
histogram_type: linear
unit: "percentage"
description: >
Ratio of helper thread time spent marking to total helper thread time for parallel marking.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
mmu_50:
type: custom_distribution
range_min: 0
range_max: 100
bucket_count: 20
histogram_type: linear
unit: "percentage"
description: >
Minimum percentage of time spent outside GC over any 50ms window.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
nursery_promotion_rate:
type: custom_distribution
range_min: 0
range_max: 100
bucket_count: 50
histogram_type: linear
unit: "percentage"
description: >
The percentage of nursery objects that were promoted to the tenured heap.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
tenured_survival_rate:
type: custom_distribution
range_min: 0
range_max: 100
bucket_count: 50
histogram_type: linear
unit: "percentage"
description: >
The percentage of tenured GC things that survived a collection.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
slow_task:
type: labeled_counter
description: >
The longest parallel task in any slice that goes over 2x the budget. The phase values are defined in js/src/gc/GenerateStatsPhases.py.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1932686
notification_emails:
- dev-telemetry-gc-alerts@mozilla.org
- jcoppeard@mozilla.com
expires: never
labels: *gc_phases
slow_script_warning:
shown_browser:
type: event
description: >
Recorded when a slow script hang is resolved.
This event was generated to correspond to the Legacy Telemetry event
slow_script_warning.shown#browser.
bugs: &slow_script_warning_shown_bugs
- https://bugzil.la/1652613
- https://bugzil.la/1667245
- https://bugzil.la/1672572
data_reviews: &slow_script_warning_shown_data_reviews
- https://bugzil.la/1652613
- https://bugzil.la/1667245
- https://bugzil.la/1672572
notification_emails: &slow_script_warning_shown_emails
- dothayer@mozilla.com
- esmyth@mozilla.com
- gkruitbosch@mozilla.com
- perf-telemetry-alerts@mozilla.com
expires: never
extra_keys:
hang_duration:
description: >
How long we believe the hang continued (ms).
type: string
uri_type:
description: >
The kind of script URL that hung.
type: string
telemetry_mirror: Slow_script_warning_Shown_Browser
shown_content:
type: event
description: >
Recorded when a slow script hang is resolved.
This event was generated to correspond to the Legacy Telemetry event
slow_script_warning.shown#content.
bugs: *slow_script_warning_shown_bugs
data_reviews: *slow_script_warning_shown_data_reviews
notification_emails: *slow_script_warning_shown_emails
expires: never
extra_keys:
end_reason:
description: >
Why the warning was hidden (user action, the process becoming responsive again, the browser quitting, etc.)
type: string
wait_count:
description: >
How many times the user elected to wait.
type: quantity
hang_duration:
description: >
How long we believe the hang continued (ms).
type: string
n_tab_deselect:
description: >
How many times the user switched away from a tab affected by this hang.
type: quantity
uri_type:
description: >
The kind of script URL that hung.
type: string
uptime:
description: >
How long the notification was up (ms).
type: string
telemetry_mirror: Slow_script_warning_Shown_Content
no_lint:
- COMMON_PREFIX