diff options
author | asharif@chromium.org <asharif@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-04 00:49:19 +0000 |
---|---|---|
committer | asharif@chromium.org <asharif@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-04 00:49:19 +0000 |
commit | 537c638dda080c54fa2e650e3da3ea0ceeeb5427 (patch) | |
tree | cef3148a8ce5ec3cbf47dda6fdebbddd01eb63e7 /tools/metrics | |
parent | 31fe928320af395e5c3d16949e33dcdfa1602168 (diff) | |
download | chromium_src-537c638dda080c54fa2e650e3da3ea0ceeeb5427.zip chromium_src-537c638dda080c54fa2e650e3da3ea0ceeeb5427.tar.gz chromium_src-537c638dda080c54fa2e650e3da3ea0ceeeb5427.tar.bz2 |
metrics: compress protobufs before uploading.
We get > 2x compression ratios for metrics protobuf string representations,
moreso for ChromeOS because it contains perf data.
BUG=245295
TEST=Ensure upload return status is 200 OK.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209449
Review URL: https://chromiumcodereview.appspot.com/14118007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index 7c10a79..b3b7213 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -12261,6 +12261,17 @@ other types of suffix sets. </summary> </histogram> +<histogram name="UMA.ProtoCompressionRatio" units="%"> + <summary> + Compression ratio of the serialized protobuf that will be uploaded to the + UMA server. This serialized protobuf is compressed using gzip. + </summary> +</histogram> + +<histogram name="UMA.ProtoGzipped" enum="Boolean"> + <summary>Was the UMA protobuf uploaded earlier compressed or not.</summary> +</histogram> + <histogram name="Variations.DisabledNoEntropyProvider" enum="BooleanHit"> <obsolete> Deprecated 1/2013. No longer tracked. @@ -13357,6 +13368,11 @@ other types of suffix sets. <int value="8" label="Unknown or unhandler error"/> </enum> +<enum name="Boolean" type="int"> + <int value="0" label="False"/> + <int value="1" label="True"/> +</enum> + <enum name="BooleanAttempted" type="int"> <int value="0" label="Not Attempted"/> <int value="1" label="Attempted"/> |