Skip to main content

Sentry tunnel for DRF

Project description

Olá!

Setup

1. Install using pip:

pip install ngits-drf-sentry-tunnel

2. Change your settings file:

import os

...

INSTALLED_APPS = [
    ...
    "rest_framework",
    "sentry_tunnel"
]

...

SENTRY_HOST = "sentry.local"
SENTRY_PROJECT_IDS = ["4"]

3. Add paths to your urls.py file:

from django.urls import path, include

urlpatterns = [
    ...
    path("", include("sentry_tunnel.urls"))
]

Above example results: http://127.0.0.1:8000/tunnel/ API endpoint URL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ngits_drf_sentry_tunnel-2.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ngits_drf_sentry_tunnel-2.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ngits_drf_sentry_tunnel-2.1.0.tar.gz.

File metadata

  • Download URL: ngits_drf_sentry_tunnel-2.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for ngits_drf_sentry_tunnel-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f59c606fcd3edd1d1e7f13792ac2ba8d73d5f9954b8a68b2ad5158402f715b05
MD5 e6d57b9f240508c5197786e92b144c0f
BLAKE2b-256 3307a47af27f96795b9eee5c75f3aaa19c011293b89e0109a49cfebc24749a29

See more details on using hashes here.

File details

Details for the file ngits_drf_sentry_tunnel-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ngits_drf_sentry_tunnel-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1084df805f12f1623cebb4050cd5a2b447374fcc39acb7082fde8e8ebbfe6b49
MD5 adfe147c5232b4b9cdd4a6e64ad78674
BLAKE2b-256 32d6c03bed243f684bef6d88a1b4bdb753de47b061be17c67627d0ef54afe69a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page