diff options
author | Michael Pratt <mpratt@google.com> | 2021-01-13 08:18:24 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-13 08:20:00 -0800 |
commit | e4d8f55cef1aa0b6b48dec5a20fe6e480d70d0a0 (patch) | |
tree | ed0eb226c216bed19c8258a91d4d01ef513ea4ba /test | |
parent | 19ab0f15f3d2069611257d619acf551071a2aedc (diff) |
Human-readable metric emit logs
Rather than dumping metrics on a single line, nearly unrelated textproto, print
them in alphabetical order, each on their own line.
e.g.,
D0108 17:42:42.198216 3382465 metric.go:253] Emitting metrics:
D0108 17:42:42.198240 3382465 metric.go:255] /fs/opens: &{Uint64Value:22}
D0108 17:42:42.198271 3382465 metric.go:255] /fs/read_wait: &{Uint64Value:0}
D0108 17:42:42.198294 3382465 metric.go:255] /fs/reads: &{Uint64Value:26}
D0108 17:42:42.198319 3382465 metric.go:255] /gofer/opened_write_execute_file: &{Uint64Value:0}
D0108 17:42:42.198327 3382465 metric.go:255] /gofer/opens_9p: &{Uint64Value:0}
D0108 17:42:42.198340 3382465 metric.go:255] /gofer/opens_host: &{Uint64Value:20}
...
PiperOrigin-RevId: 351590340
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions