strongmind-sidekiq-cloudwatchmetrics 2.6.1 → 2.6.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: 2534e200d85aa68afbeefe1bad73d763957238a4e4054836d5a87e8c2f6a785f
4
- data.tar.gz: 18fc7cb9633a664c2b6fb461cfb98009ad84e5509516b46487b621d003d411c6
3
+ metadata.gz: ac9745ef50d718561a2ac4bacbde12d0c1fdff61fcfc76c9c2da90351268e547
4
+ data.tar.gz: ed09f7b11b93e68b7c56fa413da9583beec3e938a3fd80b58ba46682bf57e0b8
5
5
  SHA512:
6
- metadata.gz: b3554341292c7f699cf5d29a388a4d855da613ddff1adad7d1fe540f97c3fa023e6730ff79ffd9ca335abb0f2b9c538c353da1692b61843fb7849963be243194
7
- data.tar.gz: d57f5f73e990f75a05094865e11b5dc8cbda856262991e40d7c918535981a3500c25caea42ce346b71aa8822ae3c3e95971ea25986742ff89fee0ab68b42ccd2
6
+ metadata.gz: ae14804d758497fb7f0728127996cbad2e894c09a930e8ca82a9526a0fa29e4a7d655d1f045f70cb107ddc3e2993ee3f038a6a7cb82408e086721ea0fb646974
7
+ data.tar.gz: 454e1398e39db0d2c406bd9647a4235093d2d5f3d93554ae2adea78b1829e03ae72958cb3c28752b7fa4d2e074583c5ee2427d3a8f9ec33d86a7101ca896b0d8
@@ -42,7 +42,7 @@ module Sidekiq::CloudWatchMetrics
42
42
  include Sidekiq::Component
43
43
  end
44
44
 
45
- def initialize(config: Sidekiq, client: Aws::CloudWatch::Client.new, namespace: "Sidekiq", process_metrics: true, additional_dimensions: {}, metrics_to_publish: [], interval: 60)
45
+ def initialize(config: Sidekiq, client: Aws::CloudWatch::Client.new(region: 'us-west-2'), namespace: ENV.fetch('NAMESPACE', 'Default-Sidekiq-CloudWatchMetrics'), process_metrics: true, additional_dimensions: {}, metrics_to_publish: %w[EnqueuedJobs], interval: 60)
46
46
  # Sidekiq 6.5+ requires @config, which defaults to the top-level
47
47
  # `Sidekiq` module, but can be overridden when running multiple Sidekiqs.
48
48
  @config = config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-sidekiq-cloudwatchmetrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - StrongMind Devops
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq