fluent-plugin-redis-enrichment 0.3.0 → 0.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f89e7ebce619fc1ec0da2742b6db4bcf895bfb502da6c8e6601c252c263175bc
|
4
|
+
data.tar.gz: ed3424ca5f392752f8616c02d2f8e27dd6761e8d92d123e47ae65c4a8272d993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5a75731e2f4734c8f42010d622ca515ffdba282e3e4c2a73b3229916fc66fee6ac825f3a3141073fdb315f57f0d6f9e862e34412be980dea90f4abd0ecaafa
|
7
|
+
data.tar.gz: 47a308b9ac389ef089e93ee752c76a14c97575c67b836fab5c92dfb5d7d0bbabe455696d07c24be9818899abba2d6842b2398729eeef9092a8ae0c2b7fd7d6e6
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'fluent-plugin-redis-enrichment'
|
8
|
-
spec.version = '0.3.
|
8
|
+
spec.version = '0.3.1'
|
9
9
|
spec.authors = ['Thomas Tych']
|
10
10
|
spec.email = ['thomas.tych@gmail.com']
|
11
11
|
|
@@ -202,8 +202,7 @@ module Fluent
|
|
202
202
|
@redis.get(key)
|
203
203
|
end
|
204
204
|
|
205
|
-
def clean
|
206
|
-
end
|
205
|
+
def clean; end
|
207
206
|
end
|
208
207
|
|
209
208
|
class LazyCache < NoCache
|
@@ -236,9 +235,10 @@ module Fluent
|
|
236
235
|
end
|
237
236
|
|
238
237
|
def reload
|
239
|
-
log.
|
238
|
+
log.debug 'filter_redis_enrichment: full cache reload' if log
|
240
239
|
new_cache_content = @redis.get_all
|
241
240
|
@cache_mutex.synchronize { @cache.replace(new_cache_content) }
|
241
|
+
log.debug 'filter_redis_enrichment: full cache reloaded' if log
|
242
242
|
end
|
243
243
|
|
244
244
|
def get(key)
|
@@ -375,7 +375,6 @@ module Fluent
|
|
375
375
|
def expand(__str_to_eval__, tag: nil, time: nil, record: nil, redis: nil, **_extra)
|
376
376
|
instance_eval(__str_to_eval__)
|
377
377
|
rescue NoMethodError => e
|
378
|
-
log.warn("while expanding #{__str_to_eval__}: #{e}")
|
379
378
|
nil
|
380
379
|
rescue StandardError => e
|
381
380
|
log.warn("while expanding #{__str_to_eval__}: #{e}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-redis-enrichment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Tych
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|