DescriptionDeviceInfo into GenericSets
This is part of the effort to move some of our diagnostics into
GenericSet diagnostics rather than being their own type when appropriate.
This CL converts the DeviceInfo diagnostic class into a few Generic Sets:
one each for the fields of OS Name, OS Version, Architecture, Available
Memory, GPU Info, and Chrome version.
The same removal process has been done for MergedDeviceInfo, since that
is not necessary anymore.
Among other things, this CL:
* Removes the DeviceInfo Diagnostic class from both Python and JS
implementations.
* Removes DeviceInfo and MergedDeviceInfo from all_diagnostics.
* Changes diagnostic instantiation in add_device_info to use
GenericSets and HistogramSet's AddSharedDiagnostic, replacing
DeviceInfo and using Vinn, respectively.
* Removes DeviceInfo from being one of the SparseDiagnostics
type.
* Removes UI implementations in Tracing for DeviceInfo and
MergedDeviceInfo.
* Remove DeviceInfo from add_histogram and respective tests.
* Removes documentation regarding DeviceInfo.
What has not been addressed:
* We are still missing SparseDiagnostics picking diagnostics by name
rather than by type. To be done in a separate bug.
* Documentation on how the new GenericSet diagnostics work. Also
registered in a separate bug.
BUG=catapult:#3738,catapult:#3507
Review-Url: https://codereview.chromium.org/2988823002
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/21507ebaa1459e80544a73e0939d0a665b9d90f6
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebase and fixes #
Total comments: 1
Patch Set 3 : Remove how-to-write-metrics-device image #Depends on Patchset: Messages
Total messages: 19 (8 generated)
|