collective.sentry


Namecollective.sentry JSON
Version 0.3.1 PyPI version JSON
download
home_page
SummarySentry integration with Plone 5.2/Zope 4
upload_time2023-10-11 13:55:38
maintainer
docs_urlNone
authorAndreas Jung
requires_python
licenseGPL
keywords policy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            collective.sentry
=================

Sentry integration with Zope.

Requirements
------------

* Plone 5.2, 5.1 (tested)
* Python 3.6+, 2.7 (tested)

Installation
------------

Add `collective.sentry` to your buildout and re-run buildout.

Configuration
-------------

Configure the Sentry DSN by setting the environment variable `SENTRY_DSN` inside your shell configuration or using buildout::

    [instance]
    environment-vars +=
        SENTRY_DSN https://......

Supplementary information logged in Sentry
------------------------------------------

`collective.sentry` will create automatically a Sentry tag `instance_name`
which is derived from the buildout part name of the related instance.  An
additional tag `project` can be configured (optional) if you set the
environment variable `SENTRY_PROJECT`.  This allows you introduce an additional
tag for filtering, if needed.


Set `SENTRY_ENVIRONMENT` to differentiate between environments e.g. staging vs production 
(https://docs.sentry.io/enriching-error-data/environments/)

Set `SENTRY_RELEASE` to sent release information to sentry. (https://docs.sentry.io/workflow/releases/)

Set ´SENTRY_INTEGRATIONS` (comma seperated) for different Integrations. (https://docs.sentry.io/platforms/python/configuration/integrations/)

Optional activation
---------------------
By default, if you install `collective.sentry` along you eggs, the instance start will crash if you do not configure `SENTRY_DSN`.
But sometime, you have multiple environments where you want that the product to be loaded, without doing anything under the hood (same conf for dev & prod, but no sentry on dev).
To enable this behavior, add `SENTRY_OPTIONAL=1` to your environment variables.

Repository
----------

https://github.com/collective/collective.sentry

Licence
-------

- GPL2 - GNU Public License 2
- based on `raven.contrib.zope`: BSD


Author
------

ZOPYX/Andreas Jung, info@zopyx.com

`collective.sentry` has been developed as part of a Plone 5.2 migration project and it
sponsored by the University Gent.

Changelog
=========


0.3.1 (2023-10-11)
------------------

- Fix SENTRY_MAX_LENGTH default value.
  [folix-01]


0.3.0 (2022-10-06)
------------------

- Add enviroment var to disable sentry integration. [krissik]


0.2.6 (2022-07-28)
------------------
- Fix a problem on `errorRaisedSubscriber` function that was missing the `exc_info` variable. [thomasmassmann]


0.2.5 (2022/07/26)
------------------

- Add optional environment parameter for Sentry integrations ("SENTRY_INTEGRATIONS", comma seperated list)
  [2silver]
- Ensure all exceptions which should be ignored are actually ignored before sending them.
  [thomasmassmann]


0.2.4 (2020/09/07)
------------------

- Ignore exceptions that are ignored in the root Zope error_log.
  [maurits]


0.2.3 (2020/08/05)
------------------
- Fix error handling on zope site root
  [krissik]

0.2.2 (2020/07/13)
------------------
- Add check with error_log ignored_exceptions before send exceptions to sentry
  [eikichi18]

0.2.1 (2020/07/08)
------------------
- Add SENTRY_ENVIRONMENT option.
  [fulv]

0.2.0 (2019/11/28)
------------------
- Add optional environment parameter to set max length of stacktrace ("SENTRY_MAX_LENGTH", default is 512)
  [Thokas]

0.1.7 (2019/10/21)
------------------
- Make collective.sentry configuration optional (do not load if no **SENTRY_DSN**)
  [kiorky]

0.1 (2019/08/15)
----------------

- initial release

Contributors
------------

- Andreas Jung <info@zopyx.com>
- Thomas Kastenholz <github@kronix.eu>


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "collective.sentry",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "policy",
    "author": "Andreas Jung",
    "author_email": "info@zopyx.com",
    "download_url": "https://files.pythonhosted.org/packages/63/f9/8528572952948e385e3afcfc4a288e56a6a6aa97fbd1fcc5a2652e44b955/collective.sentry-0.3.1.tar.gz",
    "platform": null,
    "description": "collective.sentry\n=================\n\nSentry integration with Zope.\n\nRequirements\n------------\n\n* Plone 5.2, 5.1 (tested)\n* Python 3.6+, 2.7 (tested)\n\nInstallation\n------------\n\nAdd `collective.sentry` to your buildout and re-run buildout.\n\nConfiguration\n-------------\n\nConfigure the Sentry DSN by setting the environment variable `SENTRY_DSN` inside your shell configuration or using buildout::\n\n    [instance]\n    environment-vars +=\n        SENTRY_DSN https://......\n\nSupplementary information logged in Sentry\n------------------------------------------\n\n`collective.sentry` will create automatically a Sentry tag `instance_name`\nwhich is derived from the buildout part name of the related instance.  An\nadditional tag `project` can be configured (optional) if you set the\nenvironment variable `SENTRY_PROJECT`.  This allows you introduce an additional\ntag for filtering, if needed.\n\n\nSet `SENTRY_ENVIRONMENT` to differentiate between environments e.g. staging vs production \n(https://docs.sentry.io/enriching-error-data/environments/)\n\nSet `SENTRY_RELEASE` to sent release information to sentry. (https://docs.sentry.io/workflow/releases/)\n\nSet \u00b4SENTRY_INTEGRATIONS` (comma seperated) for different Integrations. (https://docs.sentry.io/platforms/python/configuration/integrations/)\n\nOptional activation\n---------------------\nBy default, if you install `collective.sentry` along you eggs, the instance start will crash if you do not configure `SENTRY_DSN`.\nBut sometime, you have multiple environments where you want that the product to be loaded, without doing anything under the hood (same conf for dev & prod, but no sentry on dev).\nTo enable this behavior, add `SENTRY_OPTIONAL=1` to your environment variables.\n\nRepository\n----------\n\nhttps://github.com/collective/collective.sentry\n\nLicence\n-------\n\n- GPL2 - GNU Public License 2\n- based on `raven.contrib.zope`: BSD\n\n\nAuthor\n------\n\nZOPYX/Andreas Jung, info@zopyx.com\n\n`collective.sentry` has been developed as part of a Plone 5.2 migration project and it\nsponsored by the University Gent.\n\nChangelog\n=========\n\n\n0.3.1 (2023-10-11)\n------------------\n\n- Fix SENTRY_MAX_LENGTH default value.\n  [folix-01]\n\n\n0.3.0 (2022-10-06)\n------------------\n\n- Add enviroment var to disable sentry integration. [krissik]\n\n\n0.2.6 (2022-07-28)\n------------------\n- Fix a problem on `errorRaisedSubscriber` function that was missing the `exc_info` variable. [thomasmassmann]\n\n\n0.2.5 (2022/07/26)\n------------------\n\n- Add optional environment parameter for Sentry integrations (\"SENTRY_INTEGRATIONS\", comma seperated list)\n  [2silver]\n- Ensure all exceptions which should be ignored are actually ignored before sending them.\n  [thomasmassmann]\n\n\n0.2.4 (2020/09/07)\n------------------\n\n- Ignore exceptions that are ignored in the root Zope error_log.\n  [maurits]\n\n\n0.2.3 (2020/08/05)\n------------------\n- Fix error handling on zope site root\n  [krissik]\n\n0.2.2 (2020/07/13)\n------------------\n- Add check with error_log ignored_exceptions before send exceptions to sentry\n  [eikichi18]\n\n0.2.1 (2020/07/08)\n------------------\n- Add SENTRY_ENVIRONMENT option.\n  [fulv]\n\n0.2.0 (2019/11/28)\n------------------\n- Add optional environment parameter to set max length of stacktrace (\"SENTRY_MAX_LENGTH\", default is 512)\n  [Thokas]\n\n0.1.7 (2019/10/21)\n------------------\n- Make collective.sentry configuration optional (do not load if no **SENTRY_DSN**)\n  [kiorky]\n\n0.1 (2019/08/15)\n----------------\n\n- initial release\n\nContributors\n------------\n\n- Andreas Jung <info@zopyx.com>\n- Thomas Kastenholz <github@kronix.eu>\n\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Sentry integration with Plone 5.2/Zope 4",
    "version": "0.3.1",
    "project_urls": {
        "Code": "https://github.com/collective/collective.sentry",
        "Tracker": "https://github.com/collective/collective.sentry/issues"
    },
    "split_keywords": [
        "policy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63f98528572952948e385e3afcfc4a288e56a6a6aa97fbd1fcc5a2652e44b955",
                "md5": "9ce61df323a2d87ac9717d3df5a1331c",
                "sha256": "ef174966ec39b06f58e28d8cf3da309574e7c0f867fb417b58cf21de1d98196d"
            },
            "downloads": -1,
            "filename": "collective.sentry-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9ce61df323a2d87ac9717d3df5a1331c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6084,
            "upload_time": "2023-10-11T13:55:38",
            "upload_time_iso_8601": "2023-10-11T13:55:38.395471Z",
            "url": "https://files.pythonhosted.org/packages/63/f9/8528572952948e385e3afcfc4a288e56a6a6aa97fbd1fcc5a2652e44b955/collective.sentry-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-11 13:55:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "collective",
    "github_project": "collective.sentry",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "collective.sentry"
}
        
Elapsed time: 0.15993s