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 +4 -4
- data/fluent-plugin-light-core.gemspec +1 -1
- data/lib/fluent/plugin/filter_light_core.rb +2 -4
- data/sample/README.md +14 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22e2c73ee443940c699e1b6b31fe39e7b167b5dc4d1a6fd7bfd1700cb2f65c5f
|
4
|
+
data.tar.gz: a19289c271a1bac57f5827371269fa54f960ca185debd4cada1a420b4b4402fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1990d23ac038a228dd61efd25f63f2e91a0834e762126a66b661f01e753a343f0c8d169c05599996be07af093b548bfce7a67530c2eccfeaf1a826f205d658f
|
7
|
+
data.tar.gz: 61904fe281cc7ef01794d7bb087821a81b6dc735e7221bb0af9df3918bd30c76a986f731db5df8f3d71ab3267665101c11cefd2764c366c6e9883736de8bf090
|
@@ -328,10 +328,8 @@ module Fluent
|
|
328
328
|
|
329
329
|
# 发送UDP请求
|
330
330
|
def send(tag, message, record)
|
331
|
-
|
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
|