Files
visor/pkg/sentry/time
Etienne PerotandgVisor bot ba61bf6e93 gVisor metric library: Change interface for passing in field values.
This introduces a `metric.FieldValue` struct type that wraps a string.
All metric interfaces that deal with field values have been updated to use
pointers to this type instead of strings.

The intent of this change is to make it more obvious that field values must
be passed using references. Prior to this change, this was done using string
pointer comparisons. Now this must be done by using a pointer to the same
`metric.FieldValue` struct.

The struct type still externally exposes its string so that it can be referred
to in value function callbacks by "custom" metrics. (Though there are no
current uses of callback metrics with fields.)

PiperOrigin-RevId: 527030738
2023-04-25 11:49:02 -07:00
..
2023-02-22 18:14:26 -08:00
2022-05-17 17:48:35 -07:00
2021-09-20 12:28:06 -07:00
2021-11-12 17:33:28 -08:00
2021-11-12 17:33:28 -08:00
2021-11-12 17:33:28 -08:00
2021-11-12 17:33:28 -08:00