All Projects → justbetter → Magento2 Sentry

justbetter / Magento2 Sentry

Licence: mit
Magento 2 module to log to Sentry

Projects that are alternatives of or similar to Magento2 Sentry

Module Rocketjavascript
Stars: ✭ 37 (-62.63%)
Mutual labels:  magento2, magento2-extension
Avs scopehint2
Magento 2 module for displaying additional information in configuration
Stars: ✭ 79 (-20.2%)
Mutual labels:  magento2, magento2-extension
M2 Opcache Monitor
Monitor PHP OpCache from the Admin
Stars: ✭ 38 (-61.62%)
Mutual labels:  magento2, magento2-extension
Storecodebodyclass
🏪 This Magento 2 Plugin adds the store & website code to the body class
Stars: ✭ 28 (-71.72%)
Mutual labels:  magento2, magento2-extension
Magento2 Custom Shipping Rate
Create your own Custom Shipping rates for admin order or a predefined sets of shipping methods for frontend customers.
Stars: ✭ 76 (-23.23%)
Mutual labels:  magento2, magento2-extension
Dotmailer Magento2 Extension
The official Engagement Cloud for Magento2 extension
Stars: ✭ 33 (-66.67%)
Mutual labels:  magento2, magento2-extension
Magento2 Faq
This module adds an easy way to use FAQ Section to your Magento store with jQuery Accordion. In this module, admin can add and update FAQ. Admin can also create FAQ group with group icon.
Stars: ✭ 43 (-56.57%)
Mutual labels:  magento2, magento2-extension
Cleancheckout
A drop-in replacement for the Magento 2 checkout.
Stars: ✭ 280 (+182.83%)
Mutual labels:  magento2, magento2-extension
Magento2 Module Image Resizer
Magento 2 Module to add simple image resizing capabilities in all blocks and .phtml templates
Stars: ✭ 87 (-12.12%)
Mutual labels:  magento2, magento2-extension
Magento2 Buynow
This module add "BuyNow" button on product view page and product list page to process directly checkout.
Stars: ✭ 55 (-44.44%)
Mutual labels:  magento2, magento2-extension
Magento2 Form Field Manager
Customer and Address Form Fields Manager for Magento2
Stars: ✭ 21 (-78.79%)
Mutual labels:  magento2, magento2-extension
Magento2 Productattachment
The Product Attachments extension for Magento 2 equips product pages with a special attachments block where you can upload numerous documents such as user guides, extra images, pdf, certificates, licenses and many others.
Stars: ✭ 92 (-7.07%)
Mutual labels:  magento2, magento2-extension
Magento2 Module Mailcatcher
Magento 2 Module to catch, log and redirect emails on Local and Dev Servers
Stars: ✭ 14 (-85.86%)
Mutual labels:  magento2, magento2-extension
Magento2 Easy Template Path Hints
Magento 2 Easy Template Path Hints
Stars: ✭ 36 (-63.64%)
Mutual labels:  magento2, magento2-extension
Magento2 Frontools
Set of front-end tools for Magento 2 based on Gulp.js
Stars: ✭ 416 (+320.2%)
Mutual labels:  magento2, magento2-extension
Magento2 Plugin
Speed up your Magento 2 webshop. Optimize your JPEG and PNG images automatically with TinyPNG.
Stars: ✭ 38 (-61.62%)
Mutual labels:  magento2, magento2-extension
m2.Breadcrumbs
Magento2. Extension add breadcrumbs to pages in Magento2 that by default do not have breadcrumbs.
Stars: ✭ 17 (-82.83%)
Mutual labels:  magento2, magento2-extension
magento2-webappmanifest
A Magento 2 extension that adds a Web App Manifest to the store.
Stars: ✭ 19 (-80.81%)
Mutual labels:  magento2, magento2-extension
Magento2 Google Address Lookup
Provides an address lookup service on a Magento 2 store powered by the Google Places API
Stars: ✭ 46 (-53.54%)
Mutual labels:  magento2, magento2-extension
Magestudy
Magento 2 extension samples
Stars: ✭ 55 (-44.44%)
Mutual labels:  magento2, magento2-extension

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-sentry
  • bin/magento module:enable JustBetter_Sentry
  • bin/magento setup:upgrade
  • bin/magento setup:di:compile
  • bin/magento setup:static-content:deploy

Configuration

This module uses the Magento Deployment Configuration for most it's configuration. This means that you need to add this array to your app/etc/env.php:

'sentry' => [
    'dsn' => 'example.com',
    'logrocket_key' => 'example/example',
    'environment' => null,
    'log_level' => \Monolog\Logger::WARNING,
    'mage_mode_development' => false,
]

Next to that there are some configuration options under Stores > Configuration > JustBetter > Sentry.

Configuration values

  • dsn: Please enter here the DSN you got from Sentry for your project. You can find the DSN in the project settings under "Client Key (DSN)"
  • environment: Here you can specify the environment under which the deployed version is running. Common used environments are production, staging, and development. With this option you can differentiate between errors which happen on the staging and i.e. on the production system
  • log_level: With this configuration you can specify from which logging level on Sentry should get the messages
  • mage_mode_development: If this option is set to true you will receive issues in Sentry even if you're Magento is running in develop mode.

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(2020-Q1) I'll integrate this in the module.

Compatibility

The module is tested on Magento version 2.2.x & 2.3.x with sentry sdk version 2.x. Magento 2.1.x is not supported by us anymore, feel free to fork this project or make a pull request.

Ideas, bugs or suggestions?

Please create a issue or a pull request.

About us

We’re a innovative development agency from The Netherlands building awesome websites, webshops and web applications with Laravel and Magento. Check out our website justbetter.nl and our open source projects.

License

MIT


JustBetter logo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].