fix previous
This commit is contained in:
parent
3bf275e445
commit
cf18bc576e
|
@ -54,8 +54,8 @@ class Tracer {
|
|||
$span = $this->tracer->spanBuilder($_SESSION['name'] ?? 'not-logged-in')
|
||||
->setParent($context)
|
||||
->setSpanKind(SpanKind::KIND_SERVER)
|
||||
->setAttribute('php.request', json_encode($_REQUEST ?? []))
|
||||
->setAttribute('php.server', json_encode($_SERVER ?? []))
|
||||
->setAttribute('php.request', json_encode($_REQUEST))
|
||||
->setAttribute('php.server', json_encode($_SERVER))
|
||||
->setAttribute('php.session', json_encode($_SESSION ?? []))
|
||||
->startSpan();
|
||||
|
||||
|
|
Loading…
Reference in New Issue