fluent-plugin-newrelic_metrics 0.0.2 → 0.0.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
  SHA1:
3
- metadata.gz: 02fcd740d4b9a7a320ad6d27e0c0fb74fa12d742
4
- data.tar.gz: f99699001bf5b9ea218d438ba712d0bdf3cf272e
3
+ metadata.gz: f9a19b01a532168498990dbdd61b5feffd6d3ca1
4
+ data.tar.gz: 1f125835872a72031d1fd144cbe69d122f2d8593
5
5
  SHA512:
6
- metadata.gz: e34bf6de9396c52c9bad0f94b75038df9859069fadd5be322073caec8a52072bc99e8e6304e4d71faca3d79e151ddacb6c4a59645b850208796d0f0c1b0c34d0
7
- data.tar.gz: fe6c8a622774a786b864778f1290c9eb486f3076de32cb78b6ff88f6c698dc38def5183ef41392684dc4a4dcade0a11a500bdf2c6a13231ff88b3f37518583ec
6
+ metadata.gz: 04af299af3ee6045f87b2bb66f6d3ff8dbcc2e0cd221f035d4fab92454d87eb83aee26cae3bee16167753034765f08cfe7033db279048e6aed95b170f2b5690a
7
+ data.tar.gz: 6e07d44b22e245a4e998aecf3d3f0102bae148b518bed40d5e5ca8b014b14628f0fb77bd6cc5b748171d13f5bd1bd334a27eb86a574db539a39bff1689da4c08
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "fluent-plugin-newrelic_metrics"
5
- gem.version = "0.0.2"
5
+ gem.version = "0.0.3"
6
6
  gem.summary = %q{Newrelic metrics input plugin for fluentd}
7
7
  gem.description = %q{Newrelic metrics input plugin for fluentd}
8
8
  gem.license = "MIT"
@@ -55,7 +55,7 @@ module Fluent
55
55
  before_last_reported_at = @state["#{record['id']}"]
56
56
  last_reported_at = Time.parse(record['last_reported_at'])
57
57
  if before_last_reported_at.nil? || (before_last_reported_at < last_reported_at)
58
- router.emit @tag, last_reported_at, record
58
+ router.emit @tag, last_reported_at.to_i, record
59
59
  @state["#{record['id']}"] = last_reported_at
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-newrelic_metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Toyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-24 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client