Skip to main content

A Duration Log Tool for Django

Project description

Django Duration Log

注册到 installed_apps

INSTALLED_APPS = [
    "corsheaders",
    "django_duration_log",
    ···
]

添加 middleware

MIDDLEWARE = [
    "corsheaders.middleware.CorsMiddleware",
    "django_duration_log.middlewares.DjangoDurationLogMiddleware",
    ···
]

配置环境变量

INFLUXDB_ACCESS_TOKEN = os.getenv("INFLUXDB_ACCESS_TOKEN")
INFLUXDB_ORG = os.getenv("INFLUXDB_ORG")
INFLUXDB_BUCKET = os.getenv("INFLUXDB_BUCKET")
INFLUXDB_URL = os.getenv("INFLUXDB_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

django_duration_log-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file django_duration_log-0.0.4.tar.gz.

File metadata

  • Download URL: django_duration_log-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for django_duration_log-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ac2acb7dd9bc2dff8fe569035e855d06bbf4e3ef6cee9262ddd1cb54fc1a4c58
MD5 3ba2b11656a7b0975e6020739080dd6b
BLAKE2b-256 3dcdcbad4fa6c41bac67888b0436567a9c54da6370ddf6271e2aa9e7551c394a

See more details on using hashes here.

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