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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9a19b01a532168498990dbdd61b5feffd6d3ca1
|
4
|
+
data.tar.gz: 1f125835872a72031d1fd144cbe69d122f2d8593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2015-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|