FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

PresideCMS Extension: Sentry error reporting

v2.0.0 Public

Sentry Integration for Preside

Overview

This extension provides integration with Sentry for the Preside platform.

Usage

Once installed (see below), you will need to configure your Sentry API key for your application. This can be achieved a number of ways:

  • Injecting a configuration variable, SENTRY_API_KEY (recommended). This can be achieved with a regular system environment variable named PRESIDE_SENTRY_API_KEY, or by adding a SENTRY_API_KEY entry to the /application/config/.injectedConfiguration json file
  • Setting an application variable application.SENTRY_API_KEY={yourkey}

In addition, you can optionally specify an environment that Sentry can use. This way you are able to distinguish within the same Sentry project different server environments, e.g. production, staging, development, ... Note: Environments are supported as of Sentry version 9.

  • Injecting a configuration variable, SENTRY_ENVIRONMENT (recommended). This can be achieved with a regular system environment variable named PRESIDE_SENTRY_ENVIRONMENT, or by adding a SENTRY_ENVIRONMENT entry to the /application/config/.injectedConfiguration json file
  • Setting an application variable application.SENTRY_ENVIRONMENT={yourenvironment}

Installation

Install the extension to your application via either of the methods detailed below (Git submodule / CommandBox) and then enable the extension by opening up the Preside developer console and entering:

extension enable preside-ext-mailgun
reload all

CommandBox (box.json) method

From the root of your application, type the following command:

box install preside-ext-sentry

Git Submodule method

From the root of your application, type the following command:

git submodule add https://github.com/pixl8/preside-ext-sentry.git application/extensions/preside-ext-sentry

Dependencies (0)


Dev Dependencies (0)


 

$ box install preside-ext-sentry

No collaborators yet.
     
  • Jun 23 2017 12:18 PM
  • Dec 04 2019 10:00 AM
  • 1,200
  • 844
  • 47,976