simple_apm 1.0.11 → 1.0.12

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
- SHA256:
3
- metadata.gz: 4f00229343a9f420187b1e9f99244301f694d5ecb57b3304c0e2f7a14cc40245
4
- data.tar.gz: 34dff9b691a69ec786beb0f5ce04dee5031f3d9291348eeffb7c04d5ff5bf180
2
+ SHA1:
3
+ metadata.gz: c4354f78cd5f33527eb4f59114e934fe31a37d50
4
+ data.tar.gz: 1363d10c8458f4709a21496331234fa1eddc4bc4
5
5
  SHA512:
6
- metadata.gz: ef569ff7d941ca6e37fd46ae9d53b08775db424078b4958e2af261c12ca8656f2b5b5467dcb22562667de6836314572487cd4490fc9032353091606fab974ae9
7
- data.tar.gz: efa00748e426847ed4607cfb7d259fa8dbacae316035d968577d6df6416130d9bbf3abb40fd40435c880ef49fae7ef54dbf7c892e6d7676cf480d9a8c5db5071
6
+ metadata.gz: 04b708b6c88248c064e9941b2d8fd5446f3f097eb50f01452273383c722e8c247dbdc4f31db7645b158995b42bb4dba6dfd07a8cdc172035d3084c8a7578b571
7
+ data.tar.gz: 97eb5d65f2c7a704fac99212f6e50763dcf1276322f6f56a56c2736679e628f43f8198f3e5f483f4b46140319f558b7827137c1fece88157a6717da2ec877333
@@ -5,11 +5,11 @@
5
5
  <meta charset="utf-8">
6
6
  <meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
7
7
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
8
- <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
8
+ <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
9
9
  <link rel="stylesheet" href="//cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css">
10
- <script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
11
- <script src="//cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
12
- <script src="//cdn.bootcss.com/echarts/4.1.0/echarts.js"></script>
10
+ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
11
+ <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
12
+ <script src="//cdnjs.cloudflare.com/ajax/libs/echarts/4.1.0/echarts.js"></script>
13
13
  <script src="//cdn.datatables.net/1.10.15/js/jquery.dataTables.min.js"></script>
14
14
  <style>
15
15
  footer {
@@ -20,6 +20,7 @@
20
20
  <tr>
21
21
  <th>响应时间</th>
22
22
  <th>访问时间</th>
23
+ <th>内存波动</th>
23
24
  <th>请求id</th>
24
25
  <th>访问ip</th>
25
26
  <th>server</th>
@@ -34,6 +35,7 @@
34
35
  <%= "HTTP: #{sec_str r.net_http_during}" if r.net_http_during.to_f > 0 %>)
35
36
  </td>
36
37
  <td><%= time_label r.started %></td>
38
+ <td><%= r.memory_during.to_f.round(1) %></td>
37
39
  <td><%= link_to r.request_id, show_path(id: r.request_id) %></td>
38
40
  <td><%= r.remote_addr %></td>
39
41
  <td><%= r.host %></td>
@@ -14,6 +14,7 @@
14
14
  yAxis: {type: 'value'},
15
15
  series: [{
16
16
  type: 'line',
17
+ smooth: true,
17
18
  data: <%= @time_arr.to_json.html_safe %>
18
19
  }]
19
20
  })
@@ -29,6 +30,7 @@
29
30
  yAxis: {type: 'value'},
30
31
  series: [{
31
32
  type: 'line',
33
+ smooth: true,
32
34
  data: <%= @hits_arr.to_json.html_safe %>
33
35
  }]
34
36
  })
@@ -1,3 +1,3 @@
1
1
  module SimpleApm
2
- VERSION = '1.0.11'
2
+ VERSION = '1.0.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuanyin.xia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.7.3
133
+ rubygems_version: 2.6.14
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: 'xyy: Simple Rails Apm'