puma-cloudwatch 0.4.0 → 0.4.1

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: 60e07444819071535b18c33e033b6dbe27bba2a970f73442eedd9b0a3d2f46e6
4
- data.tar.gz: 24d0affea2e0d330a5074618018ebc1cd1ccb9a084fac0e4b2d57b928f0992ed
3
+ metadata.gz: 7073822e443681c139f50b223c69f574890cc58d20d33725fc213eba4e939f0d
4
+ data.tar.gz: 57af436b11b42670171faaeb113ab84eacb9e7931c6c2435d60d0b503c800301
5
5
  SHA512:
6
- metadata.gz: 69400a1dc46b9d28bd58ba95129b946214c5a63bdad192e3c1db4510acfae2a1596a2dba1949ec81f68f6f1ed33a3267f14e315a59b984712120d9062b7729e5
7
- data.tar.gz: 32e888a03e8cf39a435c9c2aab829483bb4f0814effa901c851e5568f308140c3df0fb483c86f1661e89bb526ff659d2c360649cc7f134fff776485123723ce6
6
+ metadata.gz: b93cb4a76626df2907125496723cc0ea04fa45c803ad264a9f311f6f59c504280c805f4d2ef53ac0d4f4b13d17fa2a5d70fa34e396c277399a9d6104412d333f
7
+ data.tar.gz: 718327a2f7ae56c7f5aefe670fb09e375e115eb26ab9c49d3ba70f2df135eeeaae9e2e7e7a14078167a219b507ad6e4515b4cb427d85105e2eff0240a2fd482a
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.4.1]
7
+ - #1 empty results breaks cloudwatch put_metric_data
8
+
6
9
  ## [0.4.0]
7
10
  - improve AWS IAM setup and permission errors so Thread loop doesnt stop
8
11
 
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/puma-cloudwatch.svg)](https://badge.fury.io/rb/puma-cloudwatch)
4
4
 
5
+ [![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)
6
+
5
7
  A [puma](https://puma.io) plugin that sends puma stats to CloudWatch.
6
8
 
7
9
  ## Usage
@@ -34,7 +34,7 @@ class PumaCloudwatch::Metrics
34
34
  loop do
35
35
  stats = Fetcher.new(@options).call
36
36
  results = Parser.new(stats).call
37
- Sender.new(results).call
37
+ Sender.new(results).call unless results.empty?
38
38
  sleep @frequency
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module PumaCloudwatch
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-21 00:00:00.000000000 Z
11
+ date: 2020-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudwatch
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.0.6
118
+ rubygems_version: 3.1.2
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Puma plugin sends puma stats to CloudWatch