Welcome Guest, Not a member yet? Register   Sign In
Sentry CodeIgniter4 SDK Integration
#1

(This post was last modified: 03-19-2025, 05:53 AM by campio97.)

Hello everyone,
I am exploring the possibility of integrating Sentry with CodeIgniter 4. Has anyone already developed this integration? If not, would anyone be interested in collaborating on creating a dedicated Sentry-CodeIgniter4 SDK?
For error logging, the basic Sentry-PHP SDK is sufficient, but when it comes to performance monitoring and tracing, a more integrated solution is necessary. CodeIgniter 4 already gathers all the essential data for performance and traces through its debug toolbar, which uses collectors (see: https://codeigniter4.github.io/userguide...gging.html). We could potentially leverage these collectors, making the development of the SDK relatively straightforward.
What are your thoughts on this? Looking forward to your feedback and any potential collaboration!
Best regards,

PS: I opened a feature request on sentry-php sdk github too: https://github.com/getsentry/sentry-php/issues/1811
Reply
#2

This may help you.

Medium - Enrich your logging on Codeigniter 4 with Sentry
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

The Sentry CodeIgniter4 SDK Integration allows you to easily track errors and monitor performance in CodeIgniter 4 applications. By configuring the Sentry SDK with your project’s DSN, you can automatically capture exceptions, errors, and performance data. It provides real-time alerts, identifies slow transactions, and captures user context for better insights, helping developers quickly address issues and improve the user experience.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB