Chromium Code Reviews
DescriptionChange Numeric sourceInfos into sample diagnostics
Currently, when metrics add samples to Numerics, they can optionally pass an
arbitrary POD javascript object to help users find the sample's source
in a trace. This concept maps directly to the new strongly-typed RelatedEventSet
diagnostic, or diagnostics more generally, which also provide a system to display
the data through tr.v.ui.createDiagnosticSpan().
This CL allows a single un-named Diagnostic object to be associated with each
sample. It may become necessary in the future to allow entire DiagnosticMaps to be
associated with each sample, but we haven't seen a need for that yet.
A future CL will somehow need to associate sample diagnostics with IterationInfos
so that users can actually click through related events.
BUG=catapult:#2180
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/67bdb1c3d8755c1197598eb8f0a5032992979da5
Patch Set 1 : . #Patch Set 2 : rebase #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||