justbetter / magento2-sentry
justbetter/magento2-sentry
Magento 2 Logger for Sentry
Magento 2 Sentry Logger
This Magento 2 module integrates the Sentry sdk into magento 2. Depending on the log level configured in the backend of magento 2, notifications and errors can be send to sentry.
Installation
composer require justbetter/magento2-sentrybin/magento module:enable JustBetter_Sentrybin/magento setup:upgrade && bin/magento setup:static-content:deploy
Configuration
- Options for the module are defined in the backend under Stores > Configuration > JustBetter > Sentry configuration
Optional error page configuration
- Optional you can configure custom error pages in pub/errors. You can use the sentry feedback form and insert here the sentry log ID. The Sentry Log Id is captured in de customer session and can be retrieved in
processor.php. Soon I'll integrate this in the module.
Compability
The module is tested on magento version 2.2.3 with sentry sdk version 1.8.x
Ideas, bugs or suggestions?
Please create a issue or a pull request.
Todo
- Integrate custom error pages in composer package
- Integrate feedback sentry form in error pages
License
CHANGELOG
2018-04-30 - 0.2.1
- downgraded requirement monolog for magento 2.1.x
2018-04-30 - 0.2.0
- Feature request to test sentry in development mode (https://github.com/justbetter/magento2-sentry/issues/4)
- Added mage deploy mode to sentry in context_tags
2018-04-17 - 0.1.0
- Feature request for sending test events (https://github.com/justbetter/magento2-sentry/issues/3)
- Added ACL roles for editing sentry config
2018-03-25 - 0.0.6
- Bugfix wrong file commit
2018-03-17 - 0.0.5
- Initial commit module - basic working module
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 4.5.5 | stable | Fail | 2026-01-27 09:40:40 |
| 4.5.4 | stable | Not tested | 2026-01-26 15:34:03 |
| 4.5.3 | stable | Not tested | 2026-01-05 09:23:34 |
| 4.5.2 | stable | Not tested | 2025-11-27 14:13:35 |
| 4.5.1 | stable | Not tested | 2025-11-11 10:51:14 |
| 4.5.0 | stable | Not tested | 2025-11-04 15:20:49 |
| 4.4.0 | stable | Not tested | 2025-07-14 08:42:00 |
| 4.3.0 | stable | Not tested | 2025-06-24 11:42:39 |
| 4.2.0 | stable | Not tested | 2025-06-11 09:03:35 |
| 4.1.0 | stable | Not tested | 2025-06-04 12:25:27 |
| 4.0.1 | stable | Not tested | 2025-05-06 08:57:57 |
| 4.0.0 | stable | Not tested | 2025-04-23 11:38:10 |
| 3.9.0 | stable | Not tested | 2025-01-31 08:55:30 |
| 3.8.0 | stable | Not tested | 2024-08-09 09:13:29 |
| 3.7.2 | stable | Not tested | 2024-07-04 11:17:26 |
| 3.7.1 | stable | Not tested | 2024-06-25 10:48:26 |
| 3.7.0 | stable | Not tested | 2024-06-25 10:03:50 |
| 3.6.0 | stable | Not tested | 2024-03-29 09:12:01 |
| 3.5.2 | stable | Not tested | 2024-03-18 12:51:37 |
| 3.5.1 | stable | Not tested | 2023-12-21 15:03:02 |
| 3.5.0 | stable | Not tested | 2023-12-20 11:57:46 |
| 3.4.0 | stable | Not tested | 2023-06-14 15:24:52 |
| 3.3.1 | stable | Not tested | 2023-03-15 15:22:14 |
| 3.3.0 | stable | Not tested | 2023-03-01 10:10:31 |
| 3.2.0 | stable | Not tested | 2022-07-07 09:42:00 |
| 3.1.0 | stable | Not tested | 2022-06-14 14:52:16 |
| 3.0.2 | stable | Not tested | 2022-06-14 14:47:03 |
| 3.0.1 | stable | Not tested | 2022-05-10 12:50:00 |
| 3.0.0 | stable | Not tested | 2022-04-13 12:41:34 |
| 2.6.1 | stable | Not tested | 2022-04-13 12:03:13 |
| 2.6.0 | stable | Not tested | 2021-04-08 09:19:00 |
| 2.5.4 | stable | Not tested | 2021-02-10 11:11:20 |
| 2.5.3 | stable | Not tested | 2021-02-03 12:56:28 |
| 2.5.2 | stable | Not tested | 2021-01-18 08:42:23 |
| 2.5.1 | stable | Not tested | 2021-01-18 08:37:52 |
| 2.5.0 | stable | Not tested | 2021-01-15 08:46:31 |
| 2.4.0 | stable | Not tested | 2020-12-07 08:38:26 |
| 2.3.2 | stable | Not tested | 2020-11-30 10:47:09 |
| 2.3.1 | stable | Not tested | 2020-08-31 11:44:23 |
| 2.3.0 | stable | Not tested | 2020-06-29 09:07:35 |
| 2.2.3 | stable | Not tested | 2020-02-25 15:18:16 |
| 2.2.2 | stable | Not tested | 2020-02-11 14:44:41 |
| 2.2.1 | stable | Not tested | 2019-12-12 10:10:41 |
| 2.2.0 | stable | Not tested | 2019-12-12 10:06:14 |
| 2.1.0 | stable | Not tested | 2019-11-22 13:54:34 |
| 2.0.0 | stable | Not tested | 2019-11-19 10:18:24 |
| 0.8.0 | stable | Not tested | 2019-08-29 14:26:59 |
| 0.7.2 | stable | Not tested | 2019-06-20 07:21:16 |
| 0.7.1 | stable | Not tested | 2019-06-19 15:05:11 |
| 0.7.0 | stable | Not tested | 2019-04-23 09:35:50 |
| 0.6.2 | stable | Not tested | 2019-04-05 08:15:44 |
| 0.6.1 | stable | Not tested | 2019-02-15 12:50:10 |
| 0.6.0 | stable | Not tested | 2019-02-14 09:05:04 |
| 0.5.1 | stable | Not tested | 2019-02-13 09:06:55 |
| 0.5.0 | stable | Not tested | 2018-12-07 12:00:21 |
| 0.4.2 | stable | Not tested | 2018-10-17 12:15:31 |
| 0.4.1 | stable | Not tested | 2018-08-15 08:50:57 |
| 0.4.0 | stable | Not tested | 2018-08-10 15:36:28 |
| 0.3.0 | stable | Not tested | 2018-07-06 07:41:31 |
| 0.2.2 | stable | Not tested | 2018-05-01 18:50:58 |
| 0.2.1 | stable | Not tested | 2018-04-30 20:49:12 |
| 0.2.0 | stable | Not tested | 2018-04-30 10:11:56 |
| 0.1.0 | stable | Not tested | 2018-04-17 14:36:06 |
| 0.0.6 | stable | Not tested | 2018-03-23 08:22:19 |
| 0.0.5 | stable | Not tested | 2018-03-07 15:29:01 |
Requires 8
| Package | Constraint |
|---|---|
| php | >=8.1 |
| sentry/sentry | ^4.13 |
| monolog/monolog | >=2.7.0|^3.0 |
| magento/framework | >=103.0.7 |
| magento/module-csp | * |
| nyholm/psr7 | ^1.2 |
| magento/module-config | >=101.2 |
| justbetter/magento2-core | ^1.0 |
Requires-dev 3
| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.32.0 |
| magento/magento-coding-standard | >=34 |
| rector/rector | >=1.2.5 |
No QA results yet
QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.
