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-1.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

ngits_drf_sentry_tunnel-1.0.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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