File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -115,12 +115,15 @@ static zend_observer_fcall_handlers nr_php_fcall_register_handlers(
115
115
}
116
116
}
117
117
handlers .begin = wraprec -> special_instrumentation_before ?
118
- (zend_observer_fcall_begin_handler )wraprec -> special_instrumentation_before :
119
- nr_php_observer_fcall_begin_instrumented ;
118
+ (zend_observer_fcall_begin_handler )wraprec -> special_instrumentation_before :
119
+ wraprec -> is_transient ?
120
+ nr_php_observer_fcall_begin :
121
+ nr_php_observer_fcall_begin_instrumented ;
120
122
handlers .end = wraprec -> special_instrumentation ?
121
- (zend_observer_fcall_end_handler )wraprec -> special_instrumentation :
122
- wraprec -> create_metric ? nr_php_observer_fcall_end_create_metric :
123
- nr_php_observer_fcall_end ;
123
+ (zend_observer_fcall_end_handler )wraprec -> special_instrumentation :
124
+ wraprec -> create_metric ?
125
+ nr_php_observer_fcall_end_create_metric :
126
+ nr_php_observer_fcall_end ;
124
127
return handlers ;
125
128
}
126
129
#endif
You can’t perform that action at this time.
0 commit comments