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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/yabeda/rack/ratelimit/version.rb +1 -1
- data/lib/yabeda/rack/ratelimit.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0b089454e5f7ae8de809b6b11f4acefc8a9d472e7e3b595b6504c34e70c6b7a
|
|
4
|
+
data.tar.gz: 010e1471e3d2dedb4f84dc7711394b14d60b4b73904b4759a431e9dcb996b6d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74f78718f314e3a7c13b44eb48d69ddd053b5c6ca128a1a0e260be874ae062855eab8bb820b9b390b59c49c503d0decbbcb700caf68e617e8643a5144969ca72
|
|
7
|
+
data.tar.gz: d4703db273412a42e637e8edb4cd6e5564ba4a74876fb7fa9cc45009e2625958011ee6d052f84467d9f5489b0ae3397e910625ec9eff2fc41de400405c164947
|
data/Gemfile.lock
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yabeda
|