simple_apm 1.0.12 → 1.0.13

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
  SHA1:
3
- metadata.gz: c4354f78cd5f33527eb4f59114e934fe31a37d50
4
- data.tar.gz: 1363d10c8458f4709a21496331234fa1eddc4bc4
3
+ metadata.gz: ecd24daac047cea581ed0cd225bb608550647c8d
4
+ data.tar.gz: f764040b48e07fd37534db07ca32706aa4478045
5
5
  SHA512:
6
- metadata.gz: 04b708b6c88248c064e9941b2d8fd5446f3f097eb50f01452273383c722e8c247dbdc4f31db7645b158995b42bb4dba6dfd07a8cdc172035d3084c8a7578b571
7
- data.tar.gz: 97eb5d65f2c7a704fac99212f6e50763dcf1276322f6f56a56c2736679e628f43f8198f3e5f483f4b46140319f558b7827137c1fece88157a6717da2ec877333
6
+ metadata.gz: 96975b1996ce11aa43f172b5dcc623fafb97e4cba30e3f0c2699d19cf5654ca7bd52470efe21472f59b8ad424882a2ebbc8f6b484222510949627422e7d87676
7
+ data.tar.gz: bfdaf971ad55fe4144b9c5c5f0f37d087f523804b236838fa64d02e5a895a75ef1ddf0f488435f03d54bbc478e3e51390d05cfd58a5816aec99de46d930057a8
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  - 记录慢请求的详情和对应SQL详情(多余的会删掉)
9
9
  - 以10分钟为刻度记录平均/最慢访问时间、次数等性能指标,并生成图表
10
10
  - 记录请求中外部http访问时间
11
- - (TODO)记录Sidekiq的整套信息
11
+
12
12
 
13
13
  ## 原理
14
14
 
@@ -21,6 +21,26 @@
21
21
  获取内存信息用到了gem: [get_process_mem](https://github.com/schneems/get_process_mem),经测试在linux系统耗时在1ms以下
22
22
 
23
23
 
24
+ ## 功能截图
25
+ - Dashboard
26
+ ![Dashboard](public/dashboard.jpg)
27
+
28
+ - 慢请求列表
29
+ ![Slow Requests](public/slow_requests.png)
30
+
31
+ - Action列表
32
+ ![Action List](public/action_list.png)
33
+
34
+ - 请求详情
35
+ ![Request Info](public/request_info.png)
36
+
37
+ - Action概况
38
+ ![Action Info](public/action_info.png)
39
+
40
+ - 数据管理
41
+ ![Data](public/data-manage.png)
42
+
43
+
24
44
  ## Usage
25
45
 
26
46
  ```ruby
@@ -10,7 +10,7 @@ action_slow_request_limit:
10
10
  # 项目名,默认为 'app',区分项目名可以多个项目数据存于一台redis server上
11
11
  app_name:
12
12
  # 记录SQL的最低时间(单位:秒),小于指定数值的则不记录
13
- sql_critical_time:
13
+ sql_critical_time: 0.1
14
14
  # 不统计的请求(值为:xxxController#Action)(数组)
15
15
  # - Devise::SessionsController#create
16
16
  exclude_actions:
@@ -1,3 +1,3 @@
1
1
  module SimpleApm
2
- VERSION = '1.0.12'
2
+ VERSION = '1.0.13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuanyin.xia