app_profiler 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_profiler/request_parameters.rb +5 -0
- data/lib/app_profiler/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: 8e7279a1707f2425058eb5db7cb7e4fca673f1a3634ff76542d2703ce5fdfefc
|
4
|
+
data.tar.gz: 8002f14694a26a43c87725ac54c44161401dc116b35dd793dcdf9b3f8f2e85c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed3f2daae5d8a9729c2aee42179927e6f311fd0b1ea39f8934ad6811be19075debebb985660984e8b15ce93f4ab7c8812fde0e3fd63f9b972341147606a9fb23
|
7
|
+
data.tar.gz: 336ac8b880934ef7078347ba1b6a1df046ee58147f91d387ef581b2071a3bcb2acbc50c8cd78e4c465585407bf74babb8b5147ce461936e71ca1993c6682d06b
|
@@ -37,6 +37,7 @@ module AppProfiler
|
|
37
37
|
{
|
38
38
|
mode: mode.to_sym,
|
39
39
|
interval: interval.to_i,
|
40
|
+
ignore_gc: !!ignore_gc,
|
40
41
|
metadata: {
|
41
42
|
id: request_id,
|
42
43
|
context: context,
|
@@ -50,6 +51,10 @@ module AppProfiler
|
|
50
51
|
query_param("profile") || profile_header_param("mode")
|
51
52
|
end
|
52
53
|
|
54
|
+
def ignore_gc
|
55
|
+
query_param("ignore_gc") || profile_header_param("ignore_gc")
|
56
|
+
end
|
57
|
+
|
53
58
|
def interval
|
54
59
|
query_param("interval") || profile_header_param("interval") || DEFAULT_INTERVALS[mode]
|
55
60
|
end
|
data/lib/app_profiler/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gannon McGibbon
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2022-
|
16
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: activesupport
|