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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07c43e6b1dbdf3d82b799d3c3ef46bf0fb4e11c42c3879f902cf22a22cb408f8
|
|
4
|
+
data.tar.gz: 31408d58904939d8b3fe95c5d515bef2fe2904a828de0849456f95b981fa0292
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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?
|
|
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)
|
data/lib/builder_apm/version.rb
CHANGED