You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Laravel gates feature allow us to define callbacks with Gate::before and Gate::after, we could use this to create a span for the gate check (since gates might execute queries) and add breadcrumbs that a gate authorization has taken place. This could be interesting data to see back in the performance traces and make it easier to find where queries are coming from + the breadcrumbs might be interesting too especially if we can add some information on what gate and gate method was called and mabe even what the result was.
The text was updated successfully, but these errors were encountered:
The Laravel gates feature allow us to define callbacks with
Gate::before
andGate::after
, we could use this to create a span for the gate check (since gates might execute queries) and add breadcrumbs that a gate authorization has taken place. This could be interesting data to see back in the performance traces and make it easier to find where queries are coming from + the breadcrumbs might be interesting too especially if we can add some information on what gate and gate method was called and mabe even what the result was.The text was updated successfully, but these errors were encountered: