add placeholder instrumentation for public
This commit is contained in:
@@ -30,12 +30,6 @@
|
||||
$op = (string)clean($op);
|
||||
$method = (string)clean($method);
|
||||
|
||||
$span = Tracer::start(__FILE__);
|
||||
|
||||
register_shutdown_function(function() use ($span) {
|
||||
$span->end();
|
||||
});
|
||||
|
||||
startup_gettext();
|
||||
|
||||
$script_started = microtime(true);
|
||||
@@ -44,6 +38,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
$span = OpenTelemetry\API\Trace\Span::getCurrent();
|
||||
|
||||
header("Content-Type: text/json; charset=utf-8");
|
||||
|
||||
if (Config::get(Config::SINGLE_USER_MODE)) {
|
||||
|
||||
Reference in New Issue
Block a user