cloudwatch-metrics 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/cloudwatch_metrics/constants.rb +1 -2
- data/lib/cloudwatch_metrics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cf213da73437c9d5d4e161a5c521187b7e10c6dec006e5b0d9dca7311a9ec72
|
4
|
+
data.tar.gz: eed0f8940588afa007452cebb3e991ad932c8b18ebae148465769440cf2c328e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2985f423ac16673f9ca42ca7841d192bf109fdd6f59e60f793c369ecf39e2439b8af38254a95068eba4545720e523c9ef0d3d9317d4f05c0e64eceaa2f775bea
|
7
|
+
data.tar.gz: b53195c2982138aad940409ace56540bf244bf672c74aae80c823b9d0b945371d920927496039ee034789d26d5a8f7818c837645e6ec3e54d9eb42a93907a43e
|
data/README.md
CHANGED
@@ -56,7 +56,7 @@ Both recording methods accept optional parameters, which are detailed below, alo
|
|
56
56
|
* `dimensions`: A hash of name/value pairs that form part of the identity of a metric. Dimensions allow you to group and filter data points within a particular metric. Default is `nil`.
|
57
57
|
* `timestamp`: The time associated with the data point. The timestamp can be up to two weeks in the past and up to two hours into the future. Default is the current time.
|
58
58
|
|
59
|
-
E.g. `CW.record(name: 'search_result_count', value: 25, unit: CW
|
59
|
+
E.g. `CW.record(name: 'search_result_count', value: 25, unit: CW::COUNT, namespace: 'custom_namespace', dimensions: { group: 'A', subgroup: 'B' }, timestamp: Time.current - 1.day)`
|
60
60
|
|
61
61
|
### Local development
|
62
62
|
|