fluent-plugin-influxdb 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d11598ab367d0814376ef76f04f1d2241dcd609
4
- data.tar.gz: 35683e800644fd1af57e3f26563a7de6b8e5b3da
3
+ metadata.gz: d9115eafef1288cc2f72ff9d31da1ac67d32db5d
4
+ data.tar.gz: f4ebb906f12bf5c7ab75905eafbcdc7e88db94ba
5
5
  SHA512:
6
- metadata.gz: 53a55a76760150f2982ff6e2b092e8f5e7e13ee5e3c33b0a88093a28684dfc9cf2c9171978a1d3155802bbe16f8f7dc0474533ebb778fabf839515c373e6c806
7
- data.tar.gz: e3455d49f55387ff9fa2ffb32dd3060d312a84b9e6e2b96bee74ac9f66937372f232af096c672740cf8fbf8b096d6248ad4cda9b3f407d63673cc446cc9e4570
6
+ metadata.gz: 33c2d7f58d21cb84e6a895513de7699eef2f40e9cc91ac366ed27958182f3824a13e3c4177d45e792d0fc942082e0a91fc3ec7cdfbd37916c944acf600bd625f
7
+ data.tar.gz: 7823f45c5fef6ad4c610ffebb9ba5859136375b68012dd32c932113ff1b6dfe9ae608784b50e9dc1b152e3800aa684c41720a7ece7d03b6b00cc951e4c120a3d
data/History.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.1.7 (Jun, 9, 2015)
5
+ =====
6
+
7
+ - Keep original time field if present
8
+
4
9
  0.1.6 (May 30, 2015)
5
10
  =====
6
11
 
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "fluent-plugin-influxdb"
6
- s.version = '0.1.6'
6
+ s.version = '0.1.7'
7
7
  s.authors = ["Masahiro Nakagawa", "FangLi"]
8
8
  s.email = ["repeatedly@gmail.com", "surivlee@gmail.com"]
9
9
  s.description = %q{InfluxDB output plugin for Fluentd}
@@ -48,7 +48,7 @@ class Fluent::InfluxdbOutput < Fluent::BufferedOutput
48
48
  points = {}
49
49
  chunk.msgpack_each do |tag, time, record|
50
50
  unless record.empty?
51
- record[:time] = time
51
+ record[:time] = time unless record.has_key?('time')
52
52
  points[tag] ||= []
53
53
  points[tag] << record
54
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-influxdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Nakagawa
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-30 00:00:00.000000000 Z
12
+ date: 2015-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd