google-cloud-logging 1.9.2 → 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4214efb23d43dc1eee9891c787fc9547ce86dfa2edca1bd61f706b83ae90a7d
4
- data.tar.gz: 6280b6257048d1e95d1a4185709da8e702277bb94e5992367e2d647c8dbb225d
3
+ metadata.gz: 71e46488d6b24a39b81cb7d7d780eccfbefc7414d410aa9128d03eca5ee71357
4
+ data.tar.gz: 063e6dd6840a20e2ff9354a59d039d998b30b5a588b792c0f894f9554becf5e7
5
5
  SHA512:
6
- metadata.gz: 9787cd6307bbcfaae4700df0469b6fbd48163e7e21e63c4b156a0d8378ea2280a074e8a63aa482f2edfa8423ca014608d01ffecd15d8f7e18a3460ec0b4afc40
7
- data.tar.gz: c31d807d116f77899c81f83aa5e85c58b80aca915f3c8b13d53663f921421109efc98fa74c13cc4ab8fedb7cb722677f46b62f07ca579024eaadb9bdd95baf3d
6
+ metadata.gz: 76fa0bdd1c3687295096f7a431bd9c6252e1cc8da6f022a4e333ddc2147f62bbb4e9d89b1d355ee45cd3f533bd8ace6fe66b2f4e14d2db974c68e05c66a02b33
7
+ data.tar.gz: 211934a5b67e6dca346864f8c050d775011b68177a51350529f996ef1de1a1dd84daf8828c0224d5d13f071723cf997e033c70ff4e947edeeda8c44546d29122
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 1.9.3 / 2019-12-20
4
+
5
+ #### Documentation
6
+
7
+ * Update description of MetricDescriptor#unit in lower-level API
8
+
3
9
  ### 1.9.2 / 2019-12-18
4
10
 
5
11
  #### Bug Fixes
@@ -49,6 +49,58 @@ module Google
49
49
  # Some combinations of `metric_kind` and `value_type` might not be supported.
50
50
  # @!attribute [rw] unit
51
51
  # @return [String]
52
+ # The units in which the metric value is reported. It is only applicable
53
+ # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
54
+ # defines the representation of the stored metric values.
55
+ #
56
+ # Different systems may scale the values to be more easily displayed (so a
57
+ # value of `0.02KBy` _might_ be displayed as `20By`, and a value of
58
+ # `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
59
+ # `KBy`, then the value of the metric is always in thousands of bytes, no
60
+ # matter how it may be displayed..
61
+ #
62
+ # If you want a custom metric to record the exact number of CPU-seconds used
63
+ # by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
64
+ # `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
65
+ # CPU-seconds, then the value is written as `12005`.
66
+ #
67
+ # Alternatively, if you want a custome metric to record data in a more
68
+ # granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
69
+ # `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
70
+ # or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
71
+ #
72
+ # The supported units are a subset of [The Unified Code for Units of
73
+ # Measure](http://unitsofmeasure.org/ucum.html) standard:
74
+ #
75
+ # **Basic units (UNIT)**
76
+ #
77
+ # * `bit` bit
78
+ # * `By` byte
79
+ # * `s` second
80
+ # * `min` minute
81
+ # * `h` hour
82
+ # * `d` day
83
+ #
84
+ # **Prefixes (PREFIX)**
85
+ #
86
+ # * `k` kilo (10^3)
87
+ # * `M` mega (10^6)
88
+ # * `G` giga (10^9)
89
+ # * `T` tera (10^12)
90
+ # * `P` peta (10^15)
91
+ # * `E` exa (10^18)
92
+ # * `Z` zetta (10^21)
93
+ # * `Y` yotta (10^24)
94
+ #
95
+ # * `m` milli (10^-3)
96
+ # * `u` micro (10^-6)
97
+ # * `n` nano (10^-9)
98
+ # * `p` pico (10^-12)
99
+ # * `f` femto (10^-15)
100
+ # * `a` atto (10^-18)
101
+ # * `z` zepto (10^-21)
102
+ # * `y` yocto (10^-24)
103
+ #
52
104
  # * `Ki` kibi (2^10)
53
105
  # * `Mi` mebi (2^20)
54
106
  # * `Gi` gibi (2^30)
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Logging
19
- VERSION = "1.9.2".freeze
19
+ VERSION = "1.9.3".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-19 00:00:00.000000000 Z
12
+ date: 2019-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core