| Index: tracing/tracing/metrics/tracing_metric.html
|
| diff --git a/tracing/tracing/metrics/tracing_metric.html b/tracing/tracing/metrics/tracing_metric.html
|
| index fdc054f026580b2c9086cb09006724eb251d40ab..898fe806e4cfa0ee9bb569b9ef5ed9df0d963960 100644
|
| --- a/tracing/tracing/metrics/tracing_metric.html
|
| +++ b/tracing/tracing/metrics/tracing_metric.html
|
| @@ -92,11 +92,16 @@ tr.exportTo('tr.metrics', function() {
|
| histograms.addHistogram(traceBytesPerDumpValue);
|
| }
|
|
|
| + // TODO(charliea): The metrics in this file should be renamed to have names
|
| + // more consistent with those in the rest of the codebase
|
| + // (e.g. 'trace_size_growth_per_second', not 'Max event size in bytes per
|
| + // second').
|
| + // https://github.com/catapult-project/catapult/issues/3233
|
| function tracingMetric(histograms, model) {
|
| - if (!model.stats.hasEventSizesinBytes) {
|
| - throw new Error('Model stats does not have event size information. ' +
|
| - 'Please enable ImportOptions.trackDetailedModelStats.');
|
| - }
|
| + addTimeDurationHistogram(
|
| + 'trace_import_duration', model.stats.traceImportDurationMs, histograms);
|
| +
|
| + if (!model.stats.hasEventSizesinBytes) return;
|
|
|
| var eventStats = model.stats.allTraceEventStatsInTimeIntervals;
|
| eventStats.sort(function(a, b) {
|
|
|