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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/logging/v2/doc/google/api/metric.rb +52 -0
- data/lib/google/cloud/logging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71e46488d6b24a39b81cb7d7d780eccfbefc7414d410aa9128d03eca5ee71357
|
4
|
+
data.tar.gz: 063e6dd6840a20e2ff9354a59d039d998b30b5a588b792c0f894f9554becf5e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76fa0bdd1c3687295096f7a431bd9c6252e1cc8da6f022a4e333ddc2147f62bbb4e9d89b1d355ee45cd3f533bd8ace6fe66b2f4e14d2db974c68e05c66a02b33
|
7
|
+
data.tar.gz: 211934a5b67e6dca346864f8c050d775011b68177a51350529f996ef1de1a1dd84daf8828c0224d5d13f071723cf997e033c70ff4e947edeeda8c44546d29122
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
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.
|
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-
|
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
|