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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74b815d4e264c1d731d4c525c0178b944889d7ba64622e1808dfcb07ac1bf684
4
- data.tar.gz: 80ff786898637a053f43c4802456669efb166b11cc4a3428e73ed9ebd2f664a8
3
+ metadata.gz: 676cecef93a9753f2e46cafaca7e6b1fa6d983881e1fa2def0f5136825fa81c7
4
+ data.tar.gz: 343e34ae59e7661dc1a81c0b6ef85ffdc22dbc9d374e858b6e1e685012dd805f
5
5
  SHA512:
6
- metadata.gz: 97a306915c7e181be0b043aa0cf79a922e4cf601ab0da71134ae8799888547b506bdf56fa58046d1b277fb21dc1392fe3a1016a5b149c887d5cd0c44a54f856f
7
- data.tar.gz: d97351b8bf00421f33d73f9e6b46c375ba6176f677c6a2e335220f65f318ccd7d0a22f88f20a1d5b1f1c67ffa9da2660e4c75f1b91f24b618b0c9bddb8c820db
6
+ metadata.gz: b54dea438bd01285098e39a3c74eb141d05cf1b962012f4278e721825a3cade5e4e11576a9aeb80d7838da9b5a2cbe6eb7fb868070d86b55a4abba8fe8e3dbe3
7
+ data.tar.gz: 87a3dd6c36c9803d909ee134b466873b8e05a38844e225d6f5babbd67d7db6a4f4f37f5f335d52ffb7b2a8273813144535f7cdf6c3dc44c5cf1f566eb19788d8
@@ -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.1"
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.1
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: []