Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ParsimonyGit/frappe-sentry
Sentry integration for Frappe Framework
https://github.com/ParsimonyGit/frappe-sentry
Last synced: about 2 months ago
JSON representation
Sentry integration for Frappe Framework
- Host: GitHub
- URL: https://github.com/ParsimonyGit/frappe-sentry
- Owner: ParsimonyGit
- License: other
- Fork: true (Bloomstack/frappe-sentry)
- Created: 2020-09-25T09:42:19.000Z (over 4 years ago)
- Default Branch: main-v14
- Last Pushed: 2023-11-30T11:24:26.000Z (about 1 year ago)
- Last Synced: 2024-09-02T08:04:53.486Z (6 months ago)
- Language: Python
- Size: 49.8 KB
- Stars: 5
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-frappe - Sentry - Send error logs to [Sentry](https://sentry.io/) for debugging. (Uncategorized / Uncategorized)
README
## Sentry
Sends errors and performance data to Sentry. Compatible with Frappe / ERPNext v14.
### Features
- Sends front-end and backend errors to Sentry
- Performance monitoring (only front-end)
- Sends account email and site when error occurs
- If `frappe.log_error` is called without exception, it takes the message and title and passes that to Sentry### Configuring Sentry
You can add the following keys to either the `common_site_config.json` file, or a specific site's `site_config.json` file.
**Note**: Adding any key to a site's `site_config.json` file will override that attribute's value in the `common_site_config.json` file.
```jsonc
{
...
"enable_sentry_developer_mode": true, // to enable sentry when `developer_mode` is active
"sentry_dsn": "https://:@sentry.io/", // fetch from a Sentry project's settings
"sentry_site": "", // optional attribute to tag events with a site; default: site URL
"sentry_project": "", // optional attribute to tag events with a project; default: site URL
"sentry_server_name": "", // optional attribute to tag events with a server name; default: site URL
...
}
```### License
MIT