fluent-plugin-loki-custom 0.2.1 → 0.2.2
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 +4 -4
- data/fluent-plugin-loki.gemspec +3 -3
- data/lib/fluent/plugin/out_loki.rb +5 -5
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 676cecef93a9753f2e46cafaca7e6b1fa6d983881e1fa2def0f5136825fa81c7
|
4
|
+
data.tar.gz: 343e34ae59e7661dc1a81c0b6ef85ffdc22dbc9d374e858b6e1e685012dd805f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b54dea438bd01285098e39a3c74eb141d05cf1b962012f4278e721825a3cade5e4e11576a9aeb80d7838da9b5a2cbe6eb7fb868070d86b55a4abba8fe8e3dbe3
|
7
|
+
data.tar.gz: 87a3dd6c36c9803d909ee134b466873b8e05a38844e225d6f5babbd67d7db6a4f4f37f5f335d52ffb7b2a8273813144535f7cdf6c3dc44c5cf1f566eb19788d8
|
data/fluent-plugin-loki.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = "fluent-plugin-loki-custom"
|
5
|
-
gem.version = "0.2.
|
6
|
-
gem.authors = ["Edan Shahmoon"]
|
7
|
-
gem.email = ["edan100@gmail.com"]
|
5
|
+
gem.version = "0.2.2"
|
6
|
+
gem.authors = ["Edan Shahmoon", "Saher El-Neklawy"]
|
7
|
+
gem.email = ["edan100@gmail.com", "saher.neklawy@gmail.com"]
|
8
8
|
gem.summary = %q{A Fluentd output plugin to send logs to Grafana Loki}
|
9
9
|
gem.description = gem.summary
|
10
10
|
gem.homepage = "https://github.com/eeddaann/fluent-plugin-loki"
|
@@ -126,11 +126,11 @@ class Fluent::Plugin::LokiOutput < Fluent::Plugin::Output
|
|
126
126
|
end
|
127
127
|
|
128
128
|
def send_request(req, uri)
|
129
|
-
is_rate_limited = (@rate_limit_msec != 0 and not @last_request_time.nil?)
|
130
|
-
if is_rate_limited and ((Time.now.to_f - @last_request_time) * 1000.0 < @rate_limit_msec)
|
131
|
-
log.info('Dropped request due to rate limiting')
|
132
|
-
return
|
133
|
-
end
|
129
|
+
#is_rate_limited = (@rate_limit_msec != 0 and not @last_request_time.nil?)
|
130
|
+
#if is_rate_limited and ((Time.now.to_f - @last_request_time) * 1000.0 < @rate_limit_msec)
|
131
|
+
#log.info('Dropped request due to rate limiting')
|
132
|
+
#return
|
133
|
+
#end
|
134
134
|
|
135
135
|
res = nil
|
136
136
|
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-loki-custom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edan Shahmoon
|
8
|
+
- Saher El-Neklawy
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
@@ -89,6 +90,7 @@ dependencies:
|
|
89
90
|
description: A Fluentd output plugin to send logs to Grafana Loki
|
90
91
|
email:
|
91
92
|
- edan100@gmail.com
|
93
|
+
- saher.neklawy@gmail.com
|
92
94
|
executables: []
|
93
95
|
extensions: []
|
94
96
|
extra_rdoc_files: []
|