Skip to main content

Auklet - Problem Solving Software for Django

Auklet for Django

Maintainability Test Coverage

This is the official Django agent for Auklet. It officially supports Django 1.7+, and runs on most POSIX-based operating systems (Debian, Ubuntu Core, Raspbian, QNX, etc).

Features

  • Automatic report of unhandled exceptions
  • Location, system architecture, and system metrics identification for all issues

Quickstart

To install the agent with pip:

pip install django-auklet

To setup Auklet monitoring for you application simply include it in your INSTALLED_APPS:

INSTALLED_APPS = (
    'auklet',
    ...,
)

Then go and create an application at https://app.auklet.io/ to get your config settings:

AUKLET_CONFIG = {
    "api_key": "<your api key>",
    "application": "<your application id>",
    "organization": "<your organization id>"
}

Authorization

To authorize your application you need to provide both an API key and app ID. These values are available in the connection settings of your application as well as during initial setup.

Optional: Release Tracking

You can track releases and identify which servers are running what variant of code. To do this, you may provide the git commit hash of your deployed code and a version string you can modify. This release value should be passed into the settings variable through the release key, and your custom version should be passed via the version key. The release value must be the git commit hash that represents the deployed version of your application. The version value is a string that you may set to whatever value you wish to define your versions. Please note that you can provide either a release value, version value, or both.

  • Providing release enables code snippets to be shown for identified errors if you’ve linked your GitHub.
  • Including version allows you to track what version of code had the issue.
curl -X POST https://api.auklet.io/v1/releases/ \
            -H "Content-Type: application/json" \
            -H "Authorization: JWT <your api key>" \
            -d '{"application": "<your application id>", "release": "'$(git rev-parse HEAD)'", "version": "<your own version>"}'

You can get a pre constructed curl request from the setup directions at Auklet.

AUKLET_CONFIG = {
    "api_key": "<your api key>",
    "application": "<your application id>",
    "organization": "<your organization id>",
    "release": "<the git hash of your deployed code>",  # Optional
    "version": "1.2.3"
}

Middleware Error Handling

To set up default Django middleware error handling, add the Auklet middleware to the end of your middleware configs:

MIDDLEWARE = (
    ...,
    "auklet.middleware.AukletMiddleware",
)

If you are already using an error handling middleware which returns a response, you need to disable it or do the following before you return a response; this ensures that the signal is sent to the Auklet middleware.

got_request_exception.send(sender=self, request=request)

Questions? Problems? Ideas?

To get support, report a bug or suggest future ideas for Auklet, go to https://help.auklet.io and click the blue button in the lower-right corner to send a message to our support team.

Resources

Metadata

Release files for django-auklet 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-auklet 0.5.0
File Size Uploaded
django-auklet-0.5.0.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-auklet 0.5.0
File Interpreter ABI Platform
django_auklet-0.5.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 33.4 kB

Release files / django-auklet-0.5.0.tar.gz

Download URL django-auklet-0.5.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
06aa3c12e32751daca657e5b06a63e801e0594ef5d8d57fc09a51e49410dc8a4
BLAKE2b-256 checksum
How to use checksums
a2c7d2f9a21184819dca4a550cc0ae8c04eb5cd777758efe32245fa7d78a8760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / django_auklet-0.5.0-py2.py3-none-any.whl

Download URL django_auklet-0.5.0-py2.py3-none-any.whl
Size 19.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7ff082ccf87765408a8194f19f94544699575e94f1cb9d80c53d09209cee4f47
BLAKE2b-256 checksum
How to use checksums
1f14c516510fa5d88c81b27ffeeb2edf0ce858308fe34cda6a71f01a5821fc3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page