yabeda-rack-ratelimit 0.1.0 → 0.1.1

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: af2a7c5a6f86aba9c2dfde74aa7042732a7c1e6708837dd1f324177cee148e3e
4
- data.tar.gz: ee0609741e37b5362955d8e3bc12340bbb7658bb500f51f7ffae2c9d0ad92d00
3
+ metadata.gz: e0b089454e5f7ae8de809b6b11f4acefc8a9d472e7e3b595b6504c34e70c6b7a
4
+ data.tar.gz: 010e1471e3d2dedb4f84dc7711394b14d60b4b73904b4759a431e9dcb996b6d1
5
5
  SHA512:
6
- metadata.gz: fe569e5fe14eeebf4b2ef6d52a5fdbfdb0c0e9b8bdaa5f9b1731e3fd4511f11e69c915377dd3ccb23f7c389ed0f4d854d39bf50f1ebf2e680653769723db47b1
7
- data.tar.gz: e618a108d82029b62f542f984254d6806c7834fd933f86429403a25d601fdd795df360df86d820d7ed7cfa9a645d846177133dde1e3a09012d7877972a26684d
6
+ metadata.gz: 74f78718f314e3a7c13b44eb48d69ddd053b5c6ca128a1a0e260be874ae062855eab8bb820b9b390b59c49c503d0decbbcb700caf68e617e8643a5144969ca72
7
+ data.tar.gz: d4703db273412a42e637e8edb4cd6e5564ba4a74876fb7fa9cc45009e2625958011ee6d052f84467d9f5489b0ae3397e910625ec9eff2fc41de400405c164947
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yabeda-rack-ratelimit (0.1.0)
4
+ yabeda-rack-ratelimit (0.1.1)
5
5
  rack-ratelimit
6
6
  yabeda
7
7
 
@@ -1,7 +1,7 @@
1
1
  module Yabeda
2
2
  module Rack
3
3
  module Ratelimit
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -11,7 +11,7 @@ Yabeda.configure do
11
11
  counter :exceeded_requests_total, comment: "The total number of requests that exceeded rate limits"
12
12
  counter :clients_total, comment: "The total number of clients considered for rate limiting"
13
13
  counter :exceeded_clients_total, comment: "The total number of clients that exceeded rate limits"
14
- gauge :quota_consumed_ratio, comment: "The ratio of quota consumed to quota available"
14
+ gauge :quota_consumed_ratio, comment: "The ratio of quota consumed to quota available", aggregation: :most_recent
15
15
  end
16
16
 
17
17
  require_relative "ratelimit/instrumentation"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-rack-ratelimit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lewis Buckley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yabeda