fluent-plugin-light-core 0.2.7 → 0.2.8

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: fda4f36d05ecf95cabc6029675b20282363329dda04a9c5ae2b43736be3f2d7d
4
- data.tar.gz: 7f55d49a4712a613f7d9218e78c8f014817dd473eca31c0230cc55e5774c211f
3
+ metadata.gz: 22e2c73ee443940c699e1b6b31fe39e7b167b5dc4d1a6fd7bfd1700cb2f65c5f
4
+ data.tar.gz: a19289c271a1bac57f5827371269fa54f960ca185debd4cada1a420b4b4402fa
5
5
  SHA512:
6
- metadata.gz: 6aeae5f726eed45673e5a4e9a45bffbae7caf06a307b80ffa6c45692eb11334ce0aca55bb5d292f20e507081f0ed20462e2845b816008ee2918996538eb94c7a
7
- data.tar.gz: d1e147b70ee14cd9d12e7d45cb1875269f73b19e890468e97fe907e8e7dd597568dbea9dde1d4a8dced8b1a064ab3c6d3ce0cc082cd8aae5f7f45f47eba3fd0e
6
+ metadata.gz: e1990d23ac038a228dd61efd25f63f2e91a0834e762126a66b661f01e753a343f0c8d169c05599996be07af093b548bfce7a67530c2eccfeaf1a826f205d658f
7
+ data.tar.gz: 61904fe281cc7ef01794d7bb087821a81b6dc735e7221bb0af9df3918bd30c76a986f731db5df8f3d71ab3267665101c11cefd2764c366c6e9883736de8bf090
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-light-core"
6
- spec.version = "0.2.7"
6
+ spec.version = "0.2.8"
7
7
  spec.authors = ["LIN LI"]
8
8
  spec.email = ["l.li@alphabets.cn"]
9
9
 
@@ -328,10 +328,8 @@ module Fluent
328
328
 
329
329
  # 发送UDP请求
330
330
  def send(tag, message, record)
331
- log.debug('send udp notice')
332
- log.info(message)
333
- log.info(record)
334
- # Sentry.capture_message(message, :extra => record, :tags => {'log' => tag})
331
+ Sentry.capture_message(message, :extra => record, :tags => {'log' => tag})
332
+ log.info('msg has been sent to sentry : ', message)
335
333
  end
336
334
 
337
335
  # 转数字
data/sample/README.md CHANGED
@@ -47,3 +47,17 @@ Initialized empty Git repository in /Users/lilin/developer/light/fluent-plugin-l
47
47
 
48
48
  bundle install
49
49
  会修改Gemfile.lock文件
50
+
51
+
52
+ ## 在Linxu上运行
53
+
54
+ - 进入fluentd容器
55
+ - 安装依赖
56
+ yum groupinstall 'Development Tools'
57
+ yum install git rubygems ruby-devel
58
+
59
+ gem install bundler:1.17.2
60
+ bundler install
61
+
62
+ - 运行代码
63
+ rm -f sample/*.pos && fluentd -c sample/source.conf -p lib/fluent/plugin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-light-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - LIN LI