[display] Add fuchsia display project and metric
Create the fuchsia graphics display project and add a
single occurrence metric to track how often a vsync stall
longer than 10 seconds occurrs in the fleet.
Bug: 80992
Change-Id: I5fd0fb24706df8a7b1ecc1661ea95a0b90877ec1
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt-registry/+/559066
Reviewed-by: Randall Bosetti <rlb@google.com>
Reviewed-by: Steve Fung <stevefung@google.com>
Fuchsia-Auto-Submit: Arman Uguray <armansito@google.com>
Privacy-Approval: Steve Fung <stevefung@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
diff --git a/fuchsia/display/metrics.yaml b/fuchsia/display/metrics.yaml
new file mode 100644
index 0000000..6f9cf0f
--- /dev/null
+++ b/fuchsia/display/metrics.yaml
@@ -0,0 +1,25 @@
+# Copyright 2021 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+metric_definitions:
+
+#####################################################################
+# vsync_stall
+#
+# When a device does not generate vsync events for more than 10 seconds,
+# increase the counter by 1.
+#####################################################################
+- id: 1
+ metric_name: vsync_stalls
+ metric_type: OCCURRENCE
+ metric_semantics: [FRAME_RENDERING, LATENCY]
+ reports:
+ - report_name: fleetwide_occurrences
+ id: 1
+ report_type: FLEETWIDE_OCCURRENCE_COUNTS
+ privacy_level: NO_ADDED_PRIVACY
+ system_profile_field: [BOARD_NAME, PRODUCT_NAME, ARCH, SYSTEM_VERSION, OS, CHANNEL]
+ meta_data:
+ max_release_stage: GA
+ expiration_date: "2022/01/01"
diff --git a/projects.yaml b/projects.yaml
index ec0df30..a5a1083 100644
--- a/projects.yaml
+++ b/projects.yaml
@@ -26,7 +26,7 @@
# When adding new projects, also make sure to update the internal list of
# Cobalt projects: go/cobalt-internal-registry-metadata
- # Next project ID: 10
+ # Next project ID: 11
projects:
################################################################################
@@ -105,3 +105,6 @@
- project_name: sdmmc
project_id: 9
project_contact: fuchsia-cobalt-dashboard-owners@google.com
+ - project_name: display
+ project_id: 10
+ project_contact: fuchsia-cobalt-dashboard-owners@google.com