Skip to content

Commit b8a6a02

Browse files
committed
modify naming
1 parent 85e9464 commit b8a6a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/php_observer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static void nr_fiber_disable(zend_fiber_context* fiber_context) {
130130
/* Fiber init/desetroy detected, end and keep the transaction. */
131131
nrl_warning(NRL_INSTRUMENT,
132132
"Transaction is truncated because PHP Fiber use is detected.");
133-
nrm_force_add(NRPRG(txn)->unscoped_metrics, "Supportability/library/PHP/Fiber/used", 0);
133+
nrm_force_add(NRPRG(txn)->unscoped_metrics, "Supportability/PHP/Fiber/used", 0);
134134
nr_php_txn_end(0, 0 TSRMLS_CC);
135135
}
136136
}
@@ -141,7 +141,7 @@ static void nr_fiber_switch_disable(zend_fiber_context* from,
141141
/* Fiber switch detected, end and keep the transaction. */
142142
nrl_warning(NRL_INSTRUMENT,
143143
"Transaction is truncated because PHP Fiber use is detected.");
144-
nrm_force_add(NRPRG(txn)->unscoped_metrics, "Supportability/library/PHP/Fiber/used", 0);
144+
nrm_force_add(NRPRG(txn)->unscoped_metrics, "Supportability/PHP/Fiber/used", 0);
145145
nr_php_txn_end(0, 0 TSRMLS_CC);
146146
}
147147
}

0 commit comments

Comments
 (0)