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

Side by Side Diff: docs/histogram-set-json-format.md

Issue 2977283002: Ownership into GenericSets (Closed)
Patch Set: Fix reserved info reference 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 unified diff | Download patch
OLDNEW
1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. 3 found in the LICENSE file.
4 --> 4 -->
5 5
6 # HistogramSet JSON Format 6 # HistogramSet JSON Format
7 7
8 This document assumes familiarity with the concepts introduced in 8 This document assumes familiarity with the concepts introduced in
9 [how-to-write-metrics](/docs/how-to-write-metrics.md). 9 [how-to-write-metrics](/docs/how-to-write-metrics.md).
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 * `RelatedEventSet` 130 * `RelatedEventSet`
131 * `Breakdown` 131 * `Breakdown`
132 * `RelatedHistogramSet` 132 * `RelatedHistogramSet`
133 * `RelatedHistogramMap` 133 * `RelatedHistogramMap`
134 * `RelatedHistogramBreakdown` 134 * `RelatedHistogramBreakdown`
135 * `TelemetryInfo` 135 * `TelemetryInfo`
136 * `DeviceInfo` 136 * `DeviceInfo`
137 * `RevisionInfo` 137 * `RevisionInfo`
138 * `BuildbotInfo` 138 * `BuildbotInfo`
139 * `Scalar` 139 * `Scalar`
140 * `Ownership`
141 140
142 If a Diagnostic is in the root array of the JSON, then it is shared, so it may b e 141 If a Diagnostic is in the root array of the JSON, then it is shared, so it may b e
143 referenced by multiple Histograms. Shared Diagnostics must contain a string 142 referenced by multiple Histograms. Shared Diagnostics must contain a string
144 field `guid` containing a UUID. 143 field `guid` containing a UUID.
145 144
146 If a Diagnostic is contained in a Histogram, then it must not have a `guid` 145 If a Diagnostic is contained in a Histogram, then it must not have a `guid`
147 field. 146 field.
148 147
149 The other fields of Diagnostic dictionaries depend on `type`. 148 The other fields of Diagnostic dictionaries depend on `type`.
150 149
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 This tracks buildbot parameters when the Histogram was produced to allow users 196 This tracks buildbot parameters when the Histogram was produced to allow users
198 to compare or merge results across similar bots. 197 to compare or merge results across similar bots.
199 198
200 * `displayMasterName`: string 199 * `displayMasterName`: string
201 * `displayBotName`: string 200 * `displayBotName`: string
202 * `buildbotMasterName`: string 201 * `buildbotMasterName`: string
203 * `buildbotName`: string 202 * `buildbotName`: string
204 * `buildNumber`: number 203 * `buildNumber`: number
205 * `logUri`: string 204 * `logUri`: string
206 205
207 ### OwnershipInfo
phsilva 2017/07/17 21:08:12 Ben, do we want to replace this with anything else
benjhayden 2017/07/17 22:08:06 Not in this CL. I'll add a section about reserved
208
209 * `owners`: an array of strings containing email addresses
210 * `component`: a string, a Monorail component
211
212 ### GenericSet 206 ### GenericSet
213 207
214 This allows metrics to store arbitrary untyped data in Histograms. 208 This allows metrics to store arbitrary untyped data in Histograms.
215 209
216 * `values`: array of any JSON data. 210 * `values`: array of any JSON data.
217 211
218 ### Scalar 212 ### Scalar
219 213
220 Metrics should not use Scalar diagnostics since they cannot be safely merged. 214 Metrics should not use Scalar diagnostics since they cannot be safely merged.
221 215
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 254
261 * `events`: array of dictionaries containing `stableId`, `title`, `start`, 255 * `events`: array of dictionaries containing `stableId`, `title`, `start`,
262 `duration` fields of Events 256 `duration` fields of Events
263 257
264 ### DateRange 258 ### DateRange
265 259
266 This is a Range of Dates. 260 This is a Range of Dates.
267 261
268 * `min`: Unix timestamp in ms 262 * `min`: Unix timestamp in ms
269 * `max`: optional Unix timestamp in ms 263 * `max`: optional Unix timestamp in ms
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698