We should be able to configure trace sampling from the #[Trace] attribute, whether it's from a command or a route.
Example:
#[Traceable(ratio: 0.1)]
#[Route('/healthcheck', methods: ['GET'])]
public function healthcheck(): Response
{
return $this->json([
'status' => 'ok',
]);
}
We should be able to configure trace sampling from the
#[Trace]attribute, whether it's from a command or a route.Example: