Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2628)

Unified Diff: dashboard/dashboard/add_histograms.py

Issue 2988823002: DeviceInfo into GenericSets (Closed)
Patch Set: Remove how-to-write-metrics-device image Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dashboard/dashboard/add_histograms_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/add_histograms.py
diff --git a/dashboard/dashboard/add_histograms.py b/dashboard/dashboard/add_histograms.py
index dd538091097e29c13a652fc3b9c26259171bae40..27792e7bbb48361dbc96ae27789784f99c39842d 100644
--- a/dashboard/dashboard/add_histograms.py
+++ b/dashboard/dashboard/add_histograms.py
@@ -21,9 +21,10 @@ from tracing.value.diagnostics import diagnostic
from tracing.value.diagnostics import reserved_infos
# TODO(#3718): Use names along with types to create sparse diagnostics, add here
-# owners and bug components as sparse level diagnostics
+# owners and bug components as sparse level diagnostics. Do the same for the
+# diagnostics describing device information.
SUITE_LEVEL_SPARSE_DIAGNOSTIC_TYPES = set(
- [histogram_module.BuildbotInfo, histogram_module.DeviceInfo])
+ [histogram_module.BuildbotInfo])
HISTOGRAM_LEVEL_SPARSE_DIAGNOSTIC_TYPES = set(
[histogram_module.TelemetryInfo])
SPARSE_DIAGNOSTIC_TYPES = SUITE_LEVEL_SPARSE_DIAGNOSTIC_TYPES.union(
« no previous file with comments | « no previous file | dashboard/dashboard/add_histograms_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698