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

Side by Side Diff: infra_libs/ts_mon/common/test/metrics_test.expected/MetricTest.test_serialize_with_units.json

Issue 2111473003: Issue 623854: Support unit annotations in ts_mon metrics (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Split off go changes to a separate CL: https://codereview.chromium.org/2125943003 Created 4 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
« no previous file with comments | « infra_libs/ts_mon/common/test/metrics_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 "data {", 2 "data {",
3 " name: \"test\"", 3 " name: \"test\"",
4 " metric_name_prefix: \"/chrome/infra/\"", 4 " metric_name_prefix: \"/chrome/infra/\"",
5 " network_device {", 5 " network_device {",
6 " alertable: true", 6 " alertable: true",
7 " realm: \"ACQ_CHROME\"", 7 " realm: \"ACQ_CHROME\"",
8 " metro: \"reg\"", 8 " metro: \"reg\"",
9 " role: \"role\"", 9 " role: \"role\"",
10 " hostname: \"host\"", 10 " hostname: \"host\"",
11 " hostgroup: \"net\"", 11 " hostgroup: \"net\"",
12 " }", 12 " }",
13 " fields {", 13 " fields {",
14 " name: \"bar\"", 14 " name: \"bar\"",
15 " type: INT", 15 " type: INT",
16 " int_value: 1", 16 " int_value: 1",
17 " }", 17 " }",
18 " fields {", 18 " fields {",
19 " name: \"baz\"", 19 " name: \"baz\"",
20 " type: BOOL", 20 " type: BOOL",
21 " bool_value: false", 21 " bool_value: false",
22 " }", 22 " }",
23 " string_value: \"val\"", 23 " gauge: 1",
24 » " units: SECONDS",
24 "}" 25 "}"
25 ] 26 ]
OLDNEW
« no previous file with comments | « infra_libs/ts_mon/common/test/metrics_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698