cloudwatch-metrics 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f09863337a7fd11e3f2f549b23b27c574a008662ecf66283ffd614e82a95922
4
- data.tar.gz: 72362a407b63b87d9bb68e971bcf7f02340197d8c77648aae459d4f7c9274508
3
+ metadata.gz: 7a695784586836327fc97343e6d10959f915f3dc21f30fa50b734c5b4051075c
4
+ data.tar.gz: 372ea580850057678c327936ade66bb35904353cd52aee416d6b6fca304e3b60
5
5
  SHA512:
6
- metadata.gz: '08739f23905390ab206b19ca7e29ab1284ba4b4f060834bf6c1335123ba9ed5475f77c0c82d1e347630b833eac1961dfbf5a18f5a6b8a72929de83064534ce12'
7
- data.tar.gz: f3792f4d86690627807c906007fed115dc595b63decda1ffffcdf0be8a5f1651baf27363ccf50188f5f21ce2faff489263d59699ed98eb2a97caf745c43938ca
6
+ metadata.gz: b2ae2faa48dd04d4773760a31ea7d274bd5837cb55472a2101728316bea718e4d2cc4eb54ea4355a61a99a6f35fa1829ee4e2be7afc2c0dd8a6ecf061d067926
7
+ data.tar.gz: 429579c99ee8f7068dd35aa3000ac9ab6dee585c7c7004ca40b92d0faaf63afca336287f57a510034f0d6dd6efa255226942b204de4813f02eaff6282226f0a7
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ # DEPRECATED
2
+
3
+ We no longer write metrics to Cloudwatch. Write to Datadog instead.
4
+
1
5
  # CloudwatchMetrics
2
6
 
3
7
  `CloudwatchMetrics` is a Ruby gem for writing custom metrics to AWS Cloudwatch.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudwatchMetrics
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.4'
5
5
  end
@@ -9,6 +9,8 @@ require_relative 'cloudwatch_metrics/constants'
9
9
 
10
10
  # Posts custom metrics to AWS CloudWatch
11
11
  module CloudwatchMetrics
12
+ extend Gem::Deprecate
13
+
12
14
  class Error < StandardError; end
13
15
 
14
16
  class << self
@@ -48,6 +50,7 @@ module CloudwatchMetrics
48
50
  rescue StandardError => e
49
51
  handle_error(e)
50
52
  end
53
+ deprecate :record, :none, 2025, 1
51
54
 
52
55
  def record_all(
53
56
  name:, values:, counts:, unit: nil, namespace: nil, dimensions: nil, timestamp: nil
@@ -64,6 +67,7 @@ module CloudwatchMetrics
64
67
  rescue StandardError => e
65
68
  handle_error(e)
66
69
  end
70
+ deprecate :record_all, :none, 2025, 1
67
71
 
68
72
  private
69
73
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Puckett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-19 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -100,5 +100,5 @@ requirements: []
100
100
  rubygems_version: 3.2.32
101
101
  signing_key:
102
102
  specification_version: 4
103
- summary: Ruby gem for pushing custom metrics to Cloudwatch
103
+ summary: "[Deprecated] Ruby gem for pushing custom metrics to Cloudwatch"
104
104
  test_files: []