docs: Updates "unit" description: changes "KBy" to "kBy"; updates an "http" link to "https"; changes "may" to preferred "might", and removes a duplicated period.
PiperOrigin-RevId: 352919477
This commit is contained in:
parent
f83715b483
commit
e8ed994d7c
|
|
@ -128,11 +128,11 @@ message MetricDescriptor {
|
||||||
// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
|
// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
|
||||||
// defines the representation of the stored metric values.
|
// defines the representation of the stored metric values.
|
||||||
//
|
//
|
||||||
// Different systems may scale the values to be more easily displayed (so a
|
// Different systems might scale the values to be more easily displayed (so a
|
||||||
// value of `0.02KBy` _might_ be displayed as `20By`, and a value of
|
// value of `0.02kBy` _might_ be displayed as `20By`, and a value of
|
||||||
// `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
|
// `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
|
||||||
// `KBy`, then the value of the metric is always in thousands of bytes, no
|
// `kBy`, then the value of the metric is always in thousands of bytes, no
|
||||||
// matter how it may be displayed..
|
// matter how it might be displayed.
|
||||||
//
|
//
|
||||||
// If you want a custom metric to record the exact number of CPU-seconds used
|
// If you want a custom metric to record the exact number of CPU-seconds used
|
||||||
// by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
|
// by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
|
||||||
|
|
@ -145,7 +145,7 @@ message MetricDescriptor {
|
||||||
// or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
|
// or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
|
||||||
//
|
//
|
||||||
// The supported units are a subset of [The Unified Code for Units of
|
// The supported units are a subset of [The Unified Code for Units of
|
||||||
// Measure](http://unitsofmeasure.org/ucum.html) standard:
|
// Measure](https://unitsofmeasure.org/ucum.html) standard:
|
||||||
//
|
//
|
||||||
// **Basic units (UNIT)**
|
// **Basic units (UNIT)**
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue