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 +4 -4
- data/lib/sidekiq/cloud_watch_metrics.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: ac9745ef50d718561a2ac4bacbde12d0c1fdff61fcfc76c9c2da90351268e547
|
4
|
+
data.tar.gz: ed09f7b11b93e68b7c56fa413da9583beec3e938a3fd80b58ba46682bf57e0b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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.
|
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-
|
11
|
+
date: 2024-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|