builder_apm 0.5.1 → 0.5.2

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
  SHA256:
3
- metadata.gz: 204f52b000293324cc47566e57c0cfc3a1061262bb4daa85ade76ec733a78e84
4
- data.tar.gz: 95ee965f9d8b64a19951ce3335f6f8255668ad91d95947976d594d63edeb3eb1
3
+ metadata.gz: 07c43e6b1dbdf3d82b799d3c3ef46bf0fb4e11c42c3879f902cf22a22cb408f8
4
+ data.tar.gz: 31408d58904939d8b3fe95c5d515bef2fe2904a828de0849456f95b981fa0292
5
5
  SHA512:
6
- metadata.gz: f34eb19856e557ce3c627245cbad8ff1a39cbdcaa23b313220cf9764af2ea97ad42e8beca9fdaa9d06625f3ec5e324140b00b28a3d76b7c1a4701c258a1d88aa
7
- data.tar.gz: e8be981fb87a3616d28e950e0421f69e622118bd27e5c0444fefe0e63660ec93ef434e180751e15d2499235eec3150ff640403302ee4718a8f54dd89722a8cfb
6
+ metadata.gz: 1ec5e7f2e393b0ab717fbe6b294772eaa0d0ea1d6f2b1be6cd695c8d3aab3ca82a8998a8aad4c86e279f4d38e056780c57afc5216a4b60e350abff933f45d88c
7
+ data.tar.gz: 9f2a147042b4b0dc40c694d708da5dcb53b120da5d6347e96bc7c1e0d6b72d4d94a81fa52c67a5f1107b5c82e155a1bfcc3a37d966929eb1c11f47128c0935bf
@@ -227,6 +227,8 @@
227
227
  summaryDiv.append($('<span>').addClass('db_duration').text('DB Duration: ' + formatDuration(request.db_runtime) + 'ms'));
228
228
  summaryDiv.append($('<span>').addClass('view_duration').text('View Duration: ' + formatDuration(request.view_runtime) + 'ms'));
229
229
  summaryDiv.append($('<span>').addClass('method').text('Method: ' + request.method));
230
+ summaryDiv.append($('<span>').addClass('method_tracing_duration').text('APM Method Tracking Duration: ' + formatDuration(request.method_tracing) + 'ms'));
231
+ summaryDiv.append($('<span>').addClass('db_tracing_duration').text('APM DB Tracking Duration: ' + formatDuration(request.db_tracing) + 'ms'));
230
232
  summaryDiv.append($('<span>').addClass('params').text('Params: ' + JSON.stringify(request.params)));
231
233
 
232
234
  if (diagnosis.length === 0) { // Add the AiDoctor button
@@ -28,9 +28,8 @@ module BuilderApm
28
28
  end
29
29
 
30
30
  def valid_trace_point?(tp)
31
- return !Thread.current[:request_id].nil? && tp.path.start_with?(@root_path)
32
-
33
- # !Thread.current[:request_id].nil? && not_controller_endpoint(tp) && valid_gem_path(tp)
31
+ # return !Thread.current[:request_id].nil?
32
+ !Thread.current[:request_id].nil? && not_controller_endpoint(tp) && tp.path.start_with?(@root_path)
34
33
  end
35
34
 
36
35
  def not_controller_endpoint(tp)
@@ -1,3 +1,3 @@
1
1
  module BuilderApm
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: builder_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Ketelle