yabeda-grape 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92a7f2a326f73ff5eb1c43afc3dbc7c1521a08fbfd62c33bd52865f70ec6b741
4
- data.tar.gz: c246696f2c88131ab63186b15188b8d623b2ac7de5d9473ffcd1c742aaaf700a
3
+ metadata.gz: 0dfd5cb62744f3c60ee6874aa21ef97d25ae01a7925dda3574bf709e1f551336
4
+ data.tar.gz: 5f0f547357887a776d86e800487b3beeec6cf823a1a2820704ef198082b68c4a
5
5
  SHA512:
6
- metadata.gz: e0f8eeae22b4792dd5d4f5e509700fa27153e257c9d0dcb817de4c78decf32ddfa2cb846a39c0bdb8105f12a2b7fba6b9d144968a2d0e856031f3845692fba80
7
- data.tar.gz: ce0f53b22c2c4885c434c8276f8efa597c54a5eb494486646fc4c1cf6f897bf12337f11dab6b17c50b57d19a0fc9bde3e843f2a771d4418bd4c3c20c327c1306
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|
@@ -1,5 +1,5 @@
1
1
  module Yabeda
2
2
  module Grape
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
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.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: 2019-09-25 00:00:00.000000000 Z
11
+ date: 2020-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yabeda