site24x7_apminsight 1.5.3 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,21 +127,24 @@ module ManageEngine
127
127
  end
128
128
 
129
129
  def formatStacktrace(stacktrace)
130
- strace = Array.new;
131
- begin
132
- stacktrace.each do |stackelement|
133
- temp = Array.new
134
- temp[0] = stackelement
135
- temp[1] = ""
136
- temp[2] = ""
137
- temp[3] = ""
138
- strace.push(temp)
139
- if (strace.size == 10)
140
- break;
130
+ strace = Array.new
131
+
132
+ if (stacktrace != nil)
133
+ begin
134
+ stacktrace.each do |stackelement|
135
+ temp = Array.new
136
+ temp[0] = stackelement
137
+ temp[1] = ""
138
+ temp[2] = ""
139
+ temp[3] = ""
140
+ strace.push(temp)
141
+ if (strace.size == 10)
142
+ break;
143
+ end
141
144
  end
145
+ rescue Exception=>e
146
+ @log.logException "Error while formatting stack trace. #{e.message}", e
142
147
  end
143
- rescue Exception=>e
144
- @obj.log.logException "Error while formatting stack trace. #{e.message}", e
145
148
  end
146
149
 
147
150
  strace
@@ -1,5 +1,8 @@
1
1
  require "agent/server/instrument/am_apm"
2
2
  require "agent/am_objectholder"
3
3
  module ManageEngine
4
- ManageEngine::APMObjectHolder.instance
4
+ # Starts a new thread to initialize the agent gem
5
+ Thread.new do
6
+ ManageEngine::APMObjectHolder.instance
7
+ end
5
8
  end
data/lib/version.rb CHANGED
@@ -6,8 +6,8 @@
6
6
 
7
7
  module ManageEngine
8
8
  class APMInsight
9
- VERSION = '1.5.3'
10
- MAJOR_VERSION = '1.5'
11
- MINOR_VERSION = '3'
9
+ VERSION = '1.6.0'
10
+ MAJOR_VERSION = '1.6'
11
+ MINOR_VERSION = '0'
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,85 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site24x7_apminsight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.6.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Adithyan P
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2017-12-28 00:00:00.000000000 Z
12
+ date: 2018-01-11 00:00:00.000000000Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: shoulda
15
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &22618704 !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :development
21
23
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
24
+ version_requirements: *22618704
27
25
  - !ruby/object:Gem::Dependency
28
26
  name: bundler
29
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &22830756 !ruby/object:Gem::Requirement
28
+ none: false
30
29
  requirements:
31
- - - "~>"
30
+ - - ~>
32
31
  - !ruby/object:Gem::Version
33
32
  version: 1.0.0
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.0.0
35
+ version_requirements: *22830756
41
36
  - !ruby/object:Gem::Dependency
42
37
  name: jeweler
43
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &22848264 !ruby/object:Gem::Requirement
39
+ none: false
44
40
  requirements:
45
- - - "~>"
41
+ - - ~>
46
42
  - !ruby/object:Gem::Version
47
43
  version: 1.6.4
48
44
  type: :development
49
45
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: 1.6.4
46
+ version_requirements: *22848264
55
47
  - !ruby/object:Gem::Dependency
56
48
  name: rcov
57
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &22884180 !ruby/object:Gem::Requirement
50
+ none: false
58
51
  requirements:
59
- - - ">="
52
+ - - ! '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  type: :development
63
56
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
57
+ version_requirements: *22884180
69
58
  - !ruby/object:Gem::Dependency
70
59
  name: rails
71
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &23559084 !ruby/object:Gem::Requirement
61
+ none: false
72
62
  requirements:
73
- - - ">="
63
+ - - ! '>='
74
64
  - !ruby/object:Gem::Version
75
65
  version: 3.0.0
76
66
  type: :development
77
67
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.0.0
68
+ version_requirements: *23559084
83
69
  description: Site24x7 APMInsight gives you end-to-end web-transaction awareness of
84
70
  Rails applications enabling you to isolate performance issues and resolve them quickly.
85
71
  To monitor Rails application performance, download and deploy Ruby agent(site24x7_apminsight)
@@ -97,16 +83,25 @@ files:
97
83
  - README.rdoc
98
84
  - Rakefile
99
85
  - VERSION
86
+ - site24x7-agent.gemspec
100
87
  - conf/apminsight.conf
88
+ - lib/version.rb
89
+ - lib/site24x7_apminsight.rb
101
90
  - lib/agent/am_objectholder.rb
91
+ - lib/agent/api/custom_tracker.rb
102
92
  - lib/agent/configuration/am_configuration.rb
93
+ - lib/agent/handler/custom_api_handler.rb
94
+ - lib/agent/handler/sequence_book.rb
95
+ - lib/agent/handler/tracker_handler.rb
103
96
  - lib/agent/logging/am_logger.rb
104
97
  - lib/agent/metrics/am_metricscollector.rb
105
98
  - lib/agent/metrics/am_metricsformatter.rb
106
99
  - lib/agent/metrics/am_metricsparser.rb
107
100
  - lib/agent/metrics/am_metricstore.rb
101
+ - lib/agent/metrics/exception_record.rb
108
102
  - lib/agent/server/am_agent.rb
109
103
  - lib/agent/server/am_connector.rb
104
+ - lib/agent/server/instrument/action_view.rb
110
105
  - lib/agent/server/instrument/active_record.rb
111
106
  - lib/agent/server/instrument/am_apm.rb
112
107
  - lib/agent/server/instrument/am_instrumenter.rb
@@ -120,29 +115,27 @@ files:
120
115
  - lib/agent/util/am_constants.rb
121
116
  - lib/agent/util/am_util.rb
122
117
  - lib/agent/util/transaction_util.rb
123
- - lib/site24x7_apminsight.rb
124
- - lib/version.rb
125
- - site24x7-agent.gemspec
126
118
  homepage: https://www.site24x7.com/help/apm/ruby-agent.html
127
119
  licenses: []
128
- metadata: {}
129
120
  post_install_message:
130
121
  rdoc_options: []
131
122
  require_paths:
132
123
  - lib
133
124
  required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
134
126
  requirements:
135
- - - ">="
127
+ - - ! '>='
136
128
  - !ruby/object:Gem::Version
137
129
  version: '0'
138
130
  required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
139
132
  requirements:
140
- - - ">="
133
+ - - ! '>='
141
134
  - !ruby/object:Gem::Version
142
135
  version: '0'
143
136
  requirements: []
144
137
  rubyforge_project:
145
- rubygems_version: 2.5.1
138
+ rubygems_version: 1.7.2
146
139
  signing_key:
147
140
  specification_version: 3
148
141
  summary: Site24x7 APMInsight gives you end-to-end web-transaction awareness of Rails
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 40e506165d426c193ff10760a05c9fa8cf6b47f7
4
- data.tar.gz: be7e4ecf075d3e7fb6182e5f4b4db9a53bf7dfa7
5
- SHA512:
6
- metadata.gz: 4f68165cdcb35e477f82dc16caaad659ef9d6baefd9e2bda38550149ff668663a927326ac0575bf0df066355c99dc995a91813ed701d18d2c6f41cf6b4ab7522
7
- data.tar.gz: db9d4b9e7833c94fb6eb1fee10e25ab93e7e55cf77710040879d3decf0b79b4c5845181e8aa8c38ae5a0c948d77e29a510d6a296362a72e1e255580b691ee559