LordSimal / cakephp-sentry

CakePHP 4.4+/5+ plugin integration for Sentry
MIT License
10 stars 3 forks source link

Missing Sentry features #17

Open LordSimal opened 1 month ago

LordSimal commented 1 month ago

This issue should track the missing features of this plugin which could technically be implemented:

Insights - Requests

Cake's HTTP client could rather easily be hooked up to the this feature since events have been added to CakePHP 5.1

Insights - Assets

If assets are served via the AssetMiddleware they could be tracked via the Assets feature of sentry since they are not statically served via the webserver directly.

There is just no event or hook to currently trigger such logic

Insights - Caches

As far as I can tell there is no event or hook present to easily trace each cache set/get call. The DebugKit can only show how many hits/fails a specific cache pool got but thats not granular enough for what the sentry API requires

Insights - Queues

This should work indipendently on which queue plugin someone uses (either cakephp/queue or e.g. dereuromark/cakephp-queue)

Cron

See https://github.com/LordSimal/cakephp-sentry/issues/11

LordSimal commented 1 month ago

HTTP Client Tracing: https://github.com/LordSimal/cakephp-sentry/pull/18