The Sentry module for OpenMage
Contents (v3.0.0)
Don't forget that the present documentation is only about the latest version of the module.
Don't forget to read this page entirely.
🌟🌟🌟🌟🌟 by Michel,
on 01/04/2020 This module isn't premium, isn't ultimate, isn't pro, it doesn't contain a spyware or a nice ad, and it won't increase by 165% your ROI. It's just better than anything else you've seen anywhere else. It's a revolution!
Module presentation
Description
...
- errors when profiling with Blackfire are not sent to Sentry
- errors are sent to Sentry after `fastcgi_finish_request` in the `__destruct()`
- run _update-sdkjs.php_ to update [Sentry SDK JS](https://github.com/getsentry/sentry-javascript)
- run _varnish-sentry.php_ in a `screen`
...
Access and configuration
Configuration available in System / Configuration / Developer / Sentry.
Installation and uninstallation
Run the following queries to update and delete old configuration values (to v2+):
sqlUPDATE core_config_data SET path = REPLACE(path, "/amg-sentry/", "/sentry/") WHERE path LIKE "%/amg-sentry/%";
UPDATE core_config_data SET path = REPLACE(path, "-", "_") WHERE path LIKE "%/sentry/%";
UPDATE core_config_data SET path = "dev/sentry/dsn_js_front" WHERE path LIKE "dev/sentry/dsn_js";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/php_errors";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/php_exceptions";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/ignore_error_control_operator";
DELETE FROM core_config_data WHERE path LIKE "dev/sentry/%" AND path NOT LIKE "dev/sentry/logger"
AND path NOT LIKE "dev/sentry/dsn_js_front" AND scope_id != 0;
Nothing simpler with composer (or by decompressing the module archive).
To get the key, don't stop reading :) ...
To install:
- install with composer
- apply openmage.diff
- apply errors.diff
To upgrade:
- revert openmage.diff
- upgrade with composer
- apply openmage.diff
After any upgrade of OpenMage, apply errors.diff and openmage.diff again.
For uninstallation, having uninstalled the module, all that remains is to erase the configuration:
sqlDELETE FROM core_config_data WHERE path LIKE "dev/sentry/%";
Module download
Installation with composer: composer require luigifab/openmage-sentry
Download of the latest version: openmage-sentry-3.0.0.tar.gz
See also: github - composer - geany - phpstorm
- Current version: 3.0.0 (01/01/2024)
- Compatibility: OpenMage 19.x / 20.x / 21.x, PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3
- License: OSL 3.0
- Read absolutely: the README file
- 3.0.0
- Tested with Firefox 36/114, Chrome 32/109, Edge 109, Opera 19/95 on OpenMage 21.3.0 with PHP 7.2 - 8.3 and MariaDB 10.11.
If you like this module, take some of your time to improve the translations.