Fix malformed sizes data

Fixes the sizes.py script producing malformed data that couldn't be
converted to histograms. The conversion script expects metric dicts
that contain story dicts, but sizes was essentially only producing
metric dicts.

This pulls out the "identifier" value to be the story name since that
seems to be what the perf dashboard is doing automatically when
uploading in the old format.

Bug: 906685
Change-Id: Ie06f2ff477e3346059473863138478c261712772
Reviewed-on: https://chromium-review.googlesource.com/c/1377195
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616807}
1 file changed