This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Description
Proposal
Would be great to make fluent interface for Span. It's very popular practice
now:
$scope->getSpan()->setTag(Tags::ERROR, true);
$scope->getSpan()->setTag(Tags::STATUS_CODE, $httpCode);
$scope->getSpan()->log(['message' => $response]);
fluent interface:
$scope->getSpan()
->setTag(Tags::ERROR, true)
->setTag(Tags::STATUS_CODE, $httpCode)
->log(['message' => $response]);