metrics.yaml (30923B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 # Adding a new metric? We have docs for that! 6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html 7 8 --- 9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 10 $tags: 11 - 'Core :: XPConnect' 12 13 14 javascript.ion: 15 compile_time: 16 type: timing_distribution 17 time_unit: microsecond 18 description: > 19 Time in microseconds of an Ion compilation. 20 bugs: 21 - https://bugzilla.mozilla.org/show_bug.cgi?id=1918166 22 data_reviews: 23 - https://bugzilla.mozilla.org/show_bug.cgi?id=1918166 24 notification_emails: 25 - dpalmeiro@mozilla.com 26 - perf-telemetry-alerts@mozilla.com 27 expires: never 28 29 javascript.gc: 30 total_time: 31 type: timing_distribution 32 time_unit: millisecond 33 description: > 34 The total time taken by a major collection. 35 (Migrated from the geckoview metric of the same name.) 36 bugs: 37 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 38 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 39 data_reviews: 40 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c8 41 notification_emails: 42 - dev-telemetry-gc-alerts@mozilla.org 43 - jcoppeard@mozilla.com 44 expires: never 45 46 minor_time: 47 type: timing_distribution 48 time_unit: microsecond 49 description: > 50 The time taked by a minor (nursery) collection. 51 (Migrated from the geckoview metric of the same name.) 52 bugs: 53 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 54 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 55 data_reviews: 56 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 57 notification_emails: 58 - dev-telemetry-gc-alerts@mozilla.org 59 - jcoppeard@mozilla.com 60 expires: never 61 62 prepare_time: 63 type: timing_distribution 64 time_unit: millisecond 65 description: > 66 The time spent in the preparation phase. 67 (Migrated from the geckoview metric of the same name.) 68 bugs: 69 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 70 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 71 data_reviews: 72 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 73 notification_emails: 74 - dev-telemetry-gc-alerts@mozilla.org 75 - jcoppeard@mozilla.com 76 expires: never 77 78 mark_roots_time: 79 type: timing_distribution 80 time_unit: microsecond 81 description: > 82 The time spent marking GC roots. 83 (Migrated from the geckoview metric of the same name.) 84 bugs: 85 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 86 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 87 data_reviews: 88 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 89 notification_emails: 90 - dev-telemetry-gc-alerts@mozilla.org 91 - jcoppeard@mozilla.com 92 expires: never 93 94 mark_time: 95 type: timing_distribution 96 time_unit: millisecond 97 description: > 98 The time spent in the mark phase. 99 (Migrated from the geckoview metric of the same name.) 100 bugs: 101 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 102 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 103 data_reviews: 104 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 105 notification_emails: 106 - dev-telemetry-gc-alerts@mozilla.org 107 - jcoppeard@mozilla.com 108 expires: never 109 110 sweep_time: 111 type: timing_distribution 112 time_unit: millisecond 113 description: > 114 The time spent in the sweep phase. 115 (Migrated from the geckoview metric of the same name.) 116 bugs: 117 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 118 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 119 data_reviews: 120 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 121 notification_emails: 122 - dev-telemetry-gc-alerts@mozilla.org 123 - jcoppeard@mozilla.com 124 expires: never 125 126 compact_time: 127 type: timing_distribution 128 time_unit: millisecond 129 description: > 130 The time spent in the compact phase. 131 (Migrated from the geckoview metric of the same name.) 132 bugs: 133 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 134 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 135 data_reviews: 136 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 137 notification_emails: 138 - dev-telemetry-gc-alerts@mozilla.org 139 - jcoppeard@mozilla.com 140 expires: never 141 142 slice_time: 143 type: timing_distribution 144 time_unit: millisecond 145 description: > 146 The time spent running a GC slice. 147 (Migrated from the geckoview metric of the same name.) 148 bugs: 149 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419 150 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843 151 data_reviews: 152 - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17 153 notification_emails: 154 - dev-telemetry-gc-alerts@mozilla.org 155 - jcoppeard@mozilla.com 156 expires: never 157 158 budget: 159 type: timing_distribution 160 time_unit: millisecond 161 description: > 162 Requested GC slice budget. 163 bugs: 164 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 165 data_reviews: 166 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 167 notification_emails: 168 - dev-telemetry-gc-alerts@mozilla.org 169 - jcoppeard@mozilla.com 170 expires: never 171 172 budget_overrun: 173 type: timing_distribution 174 time_unit: microsecond 175 description: > 176 How long a GC slice ran over its budget. 177 bugs: 178 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 179 data_reviews: 180 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 181 notification_emails: 182 - dev-telemetry-gc-alerts@mozilla.org 183 - jcoppeard@mozilla.com 184 expires: never 185 186 animation: 187 type: timing_distribution 188 time_unit: millisecond 189 description: > 190 Time spent running JS GC when animating. 191 bugs: 192 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 193 data_reviews: 194 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 195 notification_emails: 196 - dev-telemetry-gc-alerts@mozilla.org 197 - jcoppeard@mozilla.com 198 expires: never 199 200 max_pause: 201 type: timing_distribution 202 time_unit: millisecond 203 description: > 204 Longest GC slice in a GC. 205 bugs: 206 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 207 data_reviews: 208 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 209 notification_emails: 210 - dev-telemetry-gc-alerts@mozilla.org 211 - jcoppeard@mozilla.com 212 expires: never 213 214 mark_gray: 215 type: timing_distribution 216 time_unit: millisecond 217 description: > 218 Time spent marking gray GC objects. 219 bugs: 220 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 221 data_reviews: 222 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 223 notification_emails: 224 - dev-telemetry-gc-alerts@mozilla.org 225 - jcoppeard@mozilla.com 226 expires: never 227 228 mark_weak: 229 type: timing_distribution 230 time_unit: millisecond 231 description: > 232 Time spent marking GC objects held live through weakmaps. 233 bugs: 234 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 235 data_reviews: 236 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 237 notification_emails: 238 - dev-telemetry-gc-alerts@mozilla.org 239 - jcoppeard@mozilla.com 240 expires: never 241 242 time_between: 243 type: timing_distribution 244 time_unit: second 245 description: > 246 Time spent in between garbage collections for the main runtime. 247 bugs: 248 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 249 data_reviews: 250 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 251 notification_emails: 252 - dev-telemetry-gc-alerts@mozilla.org 253 - jcoppeard@mozilla.com 254 expires: never 255 256 time_between_slices: 257 type: timing_distribution 258 time_unit: millisecond 259 description: > 260 Time spent in between garbage collections for the main runtime. 261 bugs: 262 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 263 data_reviews: 264 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 265 notification_emails: 266 - dev-telemetry-gc-alerts@mozilla.org 267 - jcoppeard@mozilla.com 268 expires: never 269 270 time_between_minor: 271 type: timing_distribution 272 time_unit: millisecond 273 description: > 274 Time between minor garbage collections (nursery collections) for all runtimes. 275 bugs: 276 - https://bugzilla.mozilla.org/show_bug.cgi?id=1568489 277 data_reviews: 278 - https://bugzilla.mozilla.org/show_bug.cgi?id=1568489 279 notification_emails: 280 - dev-telemetry-gc-alerts@mozilla.org 281 - jcoppeard@mozilla.com 282 expires: never 283 284 task_start_delay: 285 type: timing_distribution 286 time_unit: microsecond 287 description: > 288 Delay between queuing a GC task and the task starting. 289 bugs: 290 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 291 data_reviews: 292 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932957 293 notification_emails: 294 - dev-telemetry-gc-alerts@mozilla.org 295 - jcoppeard@mozilla.com 296 expires: never 297 298 nursery_bytes: 299 type: memory_distribution 300 memory_unit: byte 301 description: > 302 Size of the GC nursery in bytes. 303 bugs: 304 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 305 data_reviews: 306 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 307 notification_emails: 308 - dev-telemetry-gc-alerts@mozilla.org 309 - jcoppeard@mozilla.com 310 expires: never 311 312 effectiveness: 313 type: custom_distribution 314 range_min: 0 315 range_max: 50000 316 bucket_count: 100 317 histogram_type: exponential 318 unit: "MB/s" 319 description: > 320 GC effectiveness, the amount of memory freed divided by main-thread collection time (MB/s) 321 bugs: 322 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 323 data_reviews: 324 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 325 notification_emails: 326 - dev-telemetry-gc-alerts@mozilla.org 327 - jcoppeard@mozilla.com 328 expires: never 329 330 zone_count: 331 type: custom_distribution 332 range_min: 0 333 range_max: 100 334 bucket_count: 20 335 histogram_type: exponential 336 unit: "zones" 337 description: > 338 Total number of GC zones 339 bugs: 340 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 341 data_reviews: 342 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 343 notification_emails: 344 - dev-telemetry-gc-alerts@mozilla.org 345 - jcoppeard@mozilla.com 346 expires: never 347 348 zones_collected: 349 type: custom_distribution 350 range_min: 0 351 range_max: 100 352 bucket_count: 20 353 histogram_type: exponential 354 unit: "zones" 355 description: > 356 Number of zones collected in a zone GC. 357 bugs: 358 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 359 data_reviews: 360 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 361 notification_emails: 362 - dev-telemetry-gc-alerts@mozilla.org 363 - jcoppeard@mozilla.com 364 expires: never 365 366 pretenure_count: 367 type: custom_distribution 368 range_min: 0 369 range_max: 100 370 bucket_count: 20 371 histogram_type: exponential 372 description: > 373 How many allocation sites were selected for pretenuring by a minor GC 374 bugs: 375 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 376 data_reviews: 377 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 378 notification_emails: 379 - dev-telemetry-gc-alerts@mozilla.org 380 - jcoppeard@mozilla.com 381 expires: never 382 383 mark_rate: 384 type: custom_distribution 385 range_min: 1000 386 range_max: 300000 387 bucket_count: 50 388 histogram_type: exponential 389 unit: "objects/ms" 390 description: > 391 The number of objects marked per ms during GC. 392 bugs: 393 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 394 data_reviews: 395 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 396 notification_emails: 397 - dev-telemetry-gc-alerts@mozilla.org 398 - jcoppeard@mozilla.com 399 expires: never 400 401 slice_count: 402 type: custom_distribution 403 range_min: 0 404 range_max: 200 405 bucket_count: 50 406 histogram_type: exponential 407 unit: "objects/ms" 408 description: > 409 The number of slices in an incremental GC for the main runtime. 410 bugs: 411 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 412 data_reviews: 413 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 414 notification_emails: 415 - dev-telemetry-gc-alerts@mozilla.org 416 - jcoppeard@mozilla.com 417 expires: never 418 419 parallel_mark_speedup: 420 type: custom_distribution 421 range_min: 50 422 range_max: 800 423 bucket_count: 50 424 histogram_type: exponential 425 description: > 426 Ratio of total helper thread time spent marking to main thread time for parallel marking, scaled by 100. 427 bugs: 428 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 429 data_reviews: 430 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 431 notification_emails: 432 - dev-telemetry-gc-alerts@mozilla.org 433 - jcoppeard@mozilla.com 434 expires: never 435 436 parallel_mark_interruptions: 437 type: custom_distribution 438 range_min: 1 439 range_max: 500 440 bucket_count: 50 441 histogram_type: exponential 442 description: > 443 Number of interruptions/donations per slice during parallel marking. 444 bugs: 445 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 446 data_reviews: 447 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 448 notification_emails: 449 - dev-telemetry-gc-alerts@mozilla.org 450 - jcoppeard@mozilla.com 451 expires: never 452 453 parallel_mark_utilization: 454 type: custom_distribution 455 range_min: 1 456 range_max: 100 457 bucket_count: 50 458 histogram_type: linear 459 unit: "percentage" 460 description: > 461 Ratio of helper thread time spent marking to total helper thread time for parallel marking. 462 bugs: 463 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 464 data_reviews: 465 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 466 notification_emails: 467 - dev-telemetry-gc-alerts@mozilla.org 468 - jcoppeard@mozilla.com 469 expires: never 470 471 mmu_50: 472 type: custom_distribution 473 range_min: 0 474 range_max: 100 475 bucket_count: 20 476 histogram_type: linear 477 unit: "percentage" 478 description: > 479 Minimum percentage of time spent outside GC over any 50ms window. 480 bugs: 481 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 482 data_reviews: 483 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 484 notification_emails: 485 - dev-telemetry-gc-alerts@mozilla.org 486 - jcoppeard@mozilla.com 487 expires: never 488 489 nursery_promotion_rate: 490 type: custom_distribution 491 range_min: 0 492 range_max: 100 493 bucket_count: 50 494 histogram_type: linear 495 unit: "percentage" 496 description: > 497 The percentage of nursery objects that were promoted to the tenured heap. 498 bugs: 499 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 500 data_reviews: 501 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 502 notification_emails: 503 - dev-telemetry-gc-alerts@mozilla.org 504 - jcoppeard@mozilla.com 505 expires: never 506 507 tenured_survival_rate: 508 type: custom_distribution 509 range_min: 0 510 range_max: 100 511 bucket_count: 50 512 histogram_type: linear 513 unit: "percentage" 514 description: > 515 The percentage of tenured GC things that survived a collection. 516 bugs: 517 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 518 data_reviews: 519 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 520 notification_emails: 521 - dev-telemetry-gc-alerts@mozilla.org 522 - jcoppeard@mozilla.com 523 expires: never 524 525 is_zone_gc: 526 type: labeled_counter 527 description: > 528 Is it a zone GC? 529 bugs: 530 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 531 data_reviews: 532 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 533 notification_emails: 534 - dev-telemetry-gc-alerts@mozilla.org 535 - jcoppeard@mozilla.com 536 expires: never 537 labels: 538 - "false" 539 - "true" 540 541 budget_was_increased: 542 type: labeled_counter 543 description: > 544 Whether the budget was increased due to taking too long or approaching the incremental limit 545 bugs: 546 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 547 data_reviews: 548 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 549 notification_emails: 550 - dev-telemetry-gc-alerts@mozilla.org 551 - jcoppeard@mozilla.com 552 expires: never 553 labels: 554 - "false" 555 - "true" 556 557 slice_was_long: 558 type: labeled_counter 559 description: > 560 Whether a GC slice took 1.5 times or 5ms more than its budget 561 bugs: 562 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 563 data_reviews: 564 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 565 notification_emails: 566 - dev-telemetry-gc-alerts@mozilla.org 567 - jcoppeard@mozilla.com 568 expires: never 569 labels: 570 - "false" 571 - "true" 572 573 reset: 574 type: labeled_counter 575 description: > 576 Was an incremental GC canceled? 577 bugs: 578 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 579 data_reviews: 580 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 581 notification_emails: 582 - dev-telemetry-gc-alerts@mozilla.org 583 - jcoppeard@mozilla.com 584 expires: never 585 labels: 586 - "false" 587 - "true" 588 589 non_incremental: 590 type: labeled_counter 591 description: > 592 Was the GC non-incremental? 593 bugs: 594 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 595 data_reviews: 596 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 597 notification_emails: 598 - dev-telemetry-gc-alerts@mozilla.org 599 - jcoppeard@mozilla.com 600 expires: never 601 labels: 602 - "false" 603 - "true" 604 605 parallel_mark_used: 606 type: labeled_counter 607 description: > 608 Whether parallel marking was used for this collection 609 bugs: 610 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 611 data_reviews: 612 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 613 notification_emails: 614 - dev-telemetry-gc-alerts@mozilla.org 615 - jcoppeard@mozilla.com 616 expires: never 617 labels: 618 - "false" 619 - "true" 620 621 reason: 622 type: labeled_counter 623 description: > 624 Reason (enum value) for initiating a GC 625 bugs: 626 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 627 data_reviews: 628 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 629 notification_emails: 630 - dev-telemetry-gc-alerts@mozilla.org 631 - jcoppeard@mozilla.com 632 expires: never 633 labels: &gc_reasons 634 - API 635 - EAGER_ALLOC_TRIGGER 636 - DESTROY_RUNTIME 637 - ROOTS_REMOVED 638 - LAST_DITCH 639 - TOO_MUCH_MALLOC 640 - ALLOC_TRIGGER 641 - DEBUG_GC 642 - COMPARTMENT_REVIVED 643 - RESET 644 - OUT_OF_NURSERY 645 - EVICT_NURSERY 646 - FULL_CELL_PTR_GETTER_SETTER_BUFFER 647 - SHARED_MEMORY_LIMIT 648 - EAGER_NURSERY_COLLECTION 649 - BG_TASK_FINISHED 650 - ABORT_GC 651 - FULL_WHOLE_CELL_BUFFER 652 - FULL_GENERIC_BUFFER 653 - FULL_VALUE_BUFFER 654 - FULL_CELL_PTR_OBJ_BUFFER 655 - FULL_SLOT_BUFFER 656 - FULL_SHAPE_BUFFER 657 - TOO_MUCH_WASM_MEMORY 658 - DISABLE_GENERATIONAL_GC 659 - FINISH_GC 660 - PREPARE_FOR_TRACING 661 - FULL_WASM_ANYREF_BUFFER 662 - FULL_CELL_PTR_STR_BUFFER 663 - TOO_MUCH_JIT_CODE 664 - FULL_CELL_PTR_BIGINT_BUFFER 665 - NURSERY_TRAILERS 666 - NURSERY_MALLOC_BUFFERS 667 - DOM_WINDOW_UTILS 668 - COMPONENT_UTILS 669 - MEM_PRESSURE 670 - CC_FINISHED 671 - CC_FORCED 672 - LOAD_END 673 - UNUSED3 674 - PAGE_HIDE 675 - NSJSCONTEXT_DESTROY 676 - WORKER_SHUTDOWN 677 - SET_DOC_SHELL 678 - DOM_UTILS 679 - DOM_IPC 680 - DOM_WORKER 681 - INTER_SLICE_GC 682 - UNUSED1 683 - FULL_GC_TIMER 684 - SHUTDOWN_CC 685 - UNUSED2 686 - USER_INACTIVE 687 - XPCONNECT_SHUTDOWN 688 - DOCSHELL 689 - HTML_PARSER 690 - DOM_TESTUTILS 691 - PREPARE_FOR_PAGELOAD 692 693 slow_phase: 694 type: labeled_counter 695 description: > 696 The longest phase in any slice that goes over 2x the budget. The phase values are defined in js/src/gc/GenerateStatsPhases.py. 697 bugs: 698 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 699 data_reviews: 700 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 701 notification_emails: 702 - dev-telemetry-gc-alerts@mozilla.org 703 - jcoppeard@mozilla.com 704 expires: never 705 labels: &gc_phases 706 - MUTATOR 707 - GC_BEGIN 708 - MARK_CCWS 709 - MARK_STACK 710 - MARK_RUNTIME_DATA 711 - MARK_EMBEDDING 712 - MARK_ROOTS 713 - EVICT_NURSERY_FOR_MAJOR_GC 714 - WAIT_BACKGROUND_THREAD 715 - UNMARK 716 - UNMARK_WEAKMAPS 717 - MARK_DISCARD_CODE 718 - RELAZIFY_FUNCTIONS 719 - PURGE 720 - PURGE_PROP_MAP_TABLES 721 - PURGE_SOURCE_URLS 722 - JOIN_PARALLEL_TASKS 723 - PREPARE 724 - MARK_DELAYED 725 - MARK_GRAY_WEAK 726 - MARK_WEAK 727 - MARK_INCOMING_GRAY 728 - MARK_GRAY 729 - PARALLEL_MARK_MARK 730 - PARALLEL_MARK_WAIT 731 - PARALLEL_MARK_OTHER 732 - PARALLEL_MARK 733 - MARK 734 - WEAK_ZONES_CALLBACK 735 - WEAK_COMPARTMENT_CALLBACK 736 - FINALIZE_START 737 - UPDATE_ATOMS_BITMAP 738 - SWEEP_ATOMS_TABLE 739 - SWEEP_JIT_SCRIPTS 740 - SWEEP_INNER_VIEWS 741 - SWEEP_CC_WRAPPER 742 - SWEEP_BASE_SHAPE 743 - SWEEP_INITIAL_SHAPE 744 - SWEEP_REGEXP 745 - SWEEP_COMPRESSION 746 - SWEEP_WEAKMAPS 747 - SWEEP_UNIQUEIDS 748 - SWEEP_WEAK_POINTERS 749 - SWEEP_FINALIZATION_OBSERVERS 750 - SWEEP_JIT_DATA 751 - SWEEP_WEAK_CACHES 752 - SWEEP_MISC 753 - SWEEP_COMPARTMENTS 754 - SWEEP_PROP_MAP 755 - FINALIZE_END 756 - DESTROY 757 - FIND_DEAD_COMPARTMENTS 758 - SWEEP 759 - COMPACT_MOVE 760 - COMPACT_UPDATE_CELLS 761 - COMPACT_UPDATE 762 - COMPACT 763 - DECOMMIT 764 - GC_END 765 - MINOR_GC 766 - EVICT_NURSERY 767 - TRACE_HEAP 768 769 slow_task: 770 type: labeled_counter 771 description: > 772 The longest parallel task in any slice that goes over 2x the budget. The phase values are defined in js/src/gc/GenerateStatsPhases.py. 773 bugs: 774 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 775 data_reviews: 776 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 777 notification_emails: 778 - dev-telemetry-gc-alerts@mozilla.org 779 - jcoppeard@mozilla.com 780 expires: never 781 labels: *gc_phases 782 783 reset_reason: 784 type: labeled_counter 785 description: > 786 Reason for cancelling an ongoing GC (see js::GCAbortReason) 787 bugs: 788 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 789 data_reviews: 790 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 791 notification_emails: 792 - dev-telemetry-gc-alerts@mozilla.org 793 - jcoppeard@mozilla.com 794 expires: never 795 labels: &gc_abort_reasons 796 - None 797 - NonIncrementalRequested 798 - AbortRequested 799 - Unused1 800 - IncrementalDisabled 801 - ModeChange 802 - MallocBytesTrigger 803 - GCBytesTrigger 804 - ZoneChange 805 - CompartmentRevived 806 - GrayRootBufferingFailed 807 - JitCodeBytesTrigger 808 809 810 non_incremental_reason: 811 type: labeled_counter 812 description: > 813 Reason for performing a non-incremental GC (see js::GCAbortReason) 814 bugs: 815 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 816 data_reviews: 817 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 818 notification_emails: 819 - dev-telemetry-gc-alerts@mozilla.org 820 - jcoppeard@mozilla.com 821 expires: never 822 labels: *gc_abort_reasons 823 824 minor_reason: 825 type: labeled_counter 826 description: > 827 Reason (enum value) for initiating a minor GC 828 bugs: 829 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 830 data_reviews: 831 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 832 notification_emails: 833 - dev-telemetry-gc-alerts@mozilla.org 834 - jcoppeard@mozilla.com 835 expires: never 836 labels: *gc_reasons 837 838 minor_reason_long: 839 type: labeled_counter 840 description: > 841 Reason (enum value) that caused a long (>1ms) minor GC 842 bugs: 843 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 844 data_reviews: 845 - https://bugzilla.mozilla.org/show_bug.cgi?id=1932686 846 notification_emails: 847 - dev-telemetry-gc-alerts@mozilla.org 848 - jcoppeard@mozilla.com 849 expires: never 850 labels: *gc_reasons 851 852 slow_script_warning: 853 shown_browser: 854 type: event 855 description: > 856 Recorded when a slow script hang is resolved. 857 This event was generated to correspond to the Legacy Telemetry event 858 slow_script_warning.shown#browser. 859 bugs: &slow_script_warning_shown_bugs 860 - https://bugzil.la/1652613 861 - https://bugzil.la/1667245 862 - https://bugzil.la/1672572 863 data_reviews: &slow_script_warning_shown_data_reviews 864 - https://bugzil.la/1652613 865 - https://bugzil.la/1667245 866 - https://bugzil.la/1672572 867 notification_emails: &slow_script_warning_shown_emails 868 - dothayer@mozilla.com 869 - esmyth@mozilla.com 870 - gkruitbosch@mozilla.com 871 - perf-telemetry-alerts@mozilla.com 872 expires: never 873 extra_keys: 874 hang_duration: 875 description: > 876 How long we believe the hang continued (ms). 877 type: string 878 uri_type: 879 description: > 880 The kind of script URL that hung. 881 type: string 882 telemetry_mirror: Slow_script_warning_Shown_Browser 883 884 shown_content: 885 type: event 886 description: > 887 Recorded when a slow script hang is resolved. 888 This event was generated to correspond to the Legacy Telemetry event 889 slow_script_warning.shown#content. 890 bugs: *slow_script_warning_shown_bugs 891 data_reviews: *slow_script_warning_shown_data_reviews 892 notification_emails: *slow_script_warning_shown_emails 893 expires: never 894 extra_keys: 895 end_reason: 896 description: > 897 Why the warning was hidden (user action, the process becoming responsive again, the browser quitting, etc.) 898 type: string 899 wait_count: 900 description: > 901 How many times the user elected to wait. 902 type: quantity 903 hang_duration: 904 description: > 905 How long we believe the hang continued (ms). 906 type: string 907 n_tab_deselect: 908 description: > 909 How many times the user switched away from a tab affected by this hang. 910 type: quantity 911 uri_type: 912 description: > 913 The kind of script URL that hung. 914 type: string 915 uptime: 916 description: > 917 How long the notification was up (ms). 918 type: string 919 telemetry_mirror: Slow_script_warning_Shown_Content 920 no_lint: 921 - COMMON_PREFIX 922 923 notify_delay: 924 type: timing_distribution 925 description: > 926 The difference between the js slow script timeout for content set in prefs 927 and the actual time we waited before displaying the notification (msec). 928 929 This metric was generated to correspond to the Legacy Telemetry 930 exponential histogram SLOW_SCRIPT_NOTIFY_DELAY. 931 time_unit: millisecond 932 bugs: 933 - https://bugzilla.mozilla.org/show_bug.cgi?id=1271978 934 data_reviews: 935 - https://bugzilla.mozilla.org/show_bug.cgi?id=1271978 936 notification_emails: 937 - perf-telemetry-alerts@mozilla.com 938 expires: never 939 telemetry_mirror: SLOW_SCRIPT_NOTIFY_DELAY 940 941 script.preloader: 942 mainthread_recompile: 943 type: counter 944 description: > 945 How many times we ended up recompiling a script from the script 946 preloader on the main thread. 947 This metric was generated to correspond to the Legacy Telemetry 948 scalar script.preloader.mainthread_recompile. 949 bugs: 950 - https://bugzil.la/1364235 951 - https://bugzil.la/1590385 952 - https://bugzil.la/1623098 953 - https://bugzil.la/1649954 954 - https://bugzil.la/1689257 955 - https://bugzil.la/1754639 956 data_reviews: 957 - https://bugzil.la/1364235 958 - https://bugzil.la/1590385 959 - https://bugzil.la/1623098 960 - https://bugzil.la/1649954 961 - https://bugzil.la/1689257 962 - https://bugzil.la/1754639 963 notification_emails: 964 - dothayer@mozilla.com 965 - plawless@mozilla.com 966 expires: never 967 telemetry_mirror: SCRIPT_PRELOADER_MAINTHREAD_RECOMPILE 968 969 requests: 970 type: labeled_counter 971 description: > 972 Record hits and misses to the script preloader, with categories. 973 974 This metric was generated to correspond to the Legacy Telemetry 975 categorical histogram SCRIPT_PRELOADER_REQUESTS. 976 labels: 977 - Hit 978 - HitChild 979 - Miss 980 bugs: 981 - https://bugzilla.mozilla.org/show_bug.cgi?id=1364235 982 - https://bugzilla.mozilla.org/show_bug.cgi?id=1590385 983 - https://bugzilla.mozilla.org/show_bug.cgi?id=1623098 984 - https://bugzilla.mozilla.org/show_bug.cgi?id=1649954 985 - https://bugzilla.mozilla.org/show_bug.cgi?id=1689257 986 - https://bugzilla.mozilla.org/show_bug.cgi?id=1754639 987 data_reviews: 988 - https://bugzilla.mozilla.org/show_bug.cgi?id=1364235 989 - https://bugzilla.mozilla.org/show_bug.cgi?id=1590385 990 - https://bugzilla.mozilla.org/show_bug.cgi?id=1623098 991 - https://bugzilla.mozilla.org/show_bug.cgi?id=1649954 992 - https://bugzilla.mozilla.org/show_bug.cgi?id=1689257 993 - https://bugzilla.mozilla.org/show_bug.cgi?id=1754639 994 notification_emails: 995 - dothayer@mozilla.com 996 - plawless@mozilla.com 997 expires: never 998 telemetry_mirror: h#SCRIPT_PRELOADER_REQUESTS 999 1000 wait_time: 1001 type: timing_distribution 1002 description: > 1003 Time spent waiting for off-thread compiles in the script preloader. 1004 1005 This metric was generated to correspond to the Legacy Telemetry 1006 exponential histogram SCRIPT_PRELOADER_WAIT_TIME. 1007 time_unit: millisecond 1008 bugs: 1009 - https://bugzilla.mozilla.org/show_bug.cgi?id=1364235 1010 - https://bugzilla.mozilla.org/show_bug.cgi?id=1590385 1011 - https://bugzilla.mozilla.org/show_bug.cgi?id=1623098 1012 - https://bugzilla.mozilla.org/show_bug.cgi?id=1649954 1013 - https://bugzilla.mozilla.org/show_bug.cgi?id=1689257 1014 - https://bugzilla.mozilla.org/show_bug.cgi?id=1754639 1015 data_reviews: 1016 - https://bugzilla.mozilla.org/show_bug.cgi?id=1364235 1017 - https://bugzilla.mozilla.org/show_bug.cgi?id=1590385 1018 - https://bugzilla.mozilla.org/show_bug.cgi?id=1623098 1019 - https://bugzilla.mozilla.org/show_bug.cgi?id=1649954 1020 - https://bugzilla.mozilla.org/show_bug.cgi?id=1689257 1021 - https://bugzilla.mozilla.org/show_bug.cgi?id=1754639 1022 notification_emails: 1023 - dothayer@mozilla.com 1024 - plawless@mozilla.com 1025 expires: never 1026 telemetry_mirror: SCRIPT_PRELOADER_WAIT_TIME