yabeda-grape 0.1.1 → 0.1.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/lib/yabeda/grape.rb +3 -1
- data/lib/yabeda/grape/version.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: 0dfd5cb62744f3c60ee6874aa21ef97d25ae01a7925dda3574bf709e1f551336
|
|
4
|
+
data.tar.gz: 5f0f547357887a776d86e800487b3beeec6cf823a1a2820704ef198082b68c4a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b311b0d035ad9a6535524b07d7723a4e6d0356fff830c723c18939ae5a2b63c43392ba98017dc62c318c44fc1439ba724b3b9b508e722688a2d81d852f560b06
|
|
7
|
+
data.tar.gz: 8ae38d6b37e2028da92ebfc43c30ca62e8d0fce5d283ca874671acde41c22a7ccc0c2c661416a134c311c95d3eb92eda6f5c15b7ef609968c6ed30cd93d08d72
|
data/lib/yabeda/grape.rb
CHANGED
|
@@ -15,8 +15,10 @@ module Yabeda
|
|
|
15
15
|
Yabeda.configure do
|
|
16
16
|
group :grape
|
|
17
17
|
|
|
18
|
-
counter :requests_total, comment: "A counter of the total number of HTTP requests rails processed."
|
|
18
|
+
counter :requests_total, comment: "A counter of the total number of HTTP requests rails processed.",
|
|
19
|
+
tags: %i[controller action status format method]
|
|
19
20
|
histogram :request_duration, unit: :seconds, buckets: LONG_RUNNING_REQUEST_BUCKETS,
|
|
21
|
+
tags: %i[controller action status format method],
|
|
20
22
|
comment: "A histogram of the response latency."
|
|
21
23
|
|
|
22
24
|
ActiveSupport::Notifications.subscribe 'endpoint_run.grape' do |*args|
|
data/lib/yabeda/grape/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yabeda-grape
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vadym Filipov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-02-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yabeda
|