This project has been archived by its maintainers, and is no longer receiving any updates.
opsgenie-logger
A Python logging handler for Atlassian OpsGenie.
Basic Usage
import logging
from opsgenie_logger import OpsGenieHandler
logger = logging.getLogger()
handler = OpsGenieHandler(api_key="integration_api_key", team_name="my_team", level=logging.ERROR)
logger.addHandler(handler)
logger.error("This will go to OpsGenie!")
try:
raise ValueError("This is a problem")
except ValueError:
logger.exception("This stack trace is going to OpsGenie")
Contribution Guidelines
- Any changes should be covered with a unit test and documented in CHANGELOG.md
Release Process
- Start a release with Git Flow
- Update the version number using Semantic Versioning in
pyproject.tomland__init__.py - Ensure all dependencies are pointing to released versions
- Update the release notes in CHANGELOG.md
- Move changes from "Unreleased" to a section with appropriate version #
- Add a link at the bottom of the page to view this version in GitHub.
- Commit and push any changes
- Create a pull request from the release branch to master
- Ensure all checks pass (e.g. CircleCI)
- Open and merge the pull request
- Create a tag on the merge commit with the release number
Contributors
- Dylan Anthony danthony@triaxtec.com
Metadata
Release files for opsgenie-logger 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opsgenie-logger-0.1.6.tar.gz | 4.4 kB | Without provenance | Details for opsgenie-logger-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opsgenie_logger-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for opsgenie_logger-0.1.6-py3-none-any.whl |
Total release size: 9.2 kB
Release files / opsgenie-logger-0.1.6.tar.gz
| Download URL | opsgenie-logger-0.1.6.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f65aaa4c092b119d3310bf47dd86f88e81b56128dc56c3d16b4c1aa87c1d53f8
|
|
BLAKE2b-256 checksum How to use checksums |
e42e93aa0548e34dc530fd51e21e5a394cf318c92e7be7eb497c1841787a38da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.1 Linux/4.15.0-1028-gcp
|
Release files / opsgenie_logger-0.1.6-py3-none-any.whl
| Download URL | opsgenie_logger-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b89809492b2f2a435c9263bf532ec38a61294b50082b8b4e1538bc23867a6e35
|
|
BLAKE2b-256 checksum How to use checksums |
4ae1e33b1cfa7f19130f4c9c1623b6b45b596cc962cd9c30d9e004d704469365
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.1 Linux/4.15.0-1028-gcp
|
Security for opsgenie-logger 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.