DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Django and React Single Page Application Development - Part 1
  • Configuring SSO Using WSO2 Identity Server
  • What Developers Need to Know About the Price Checker App
  • Auto-Scaling a Spring Boot Native App With Nomad

Trending

  • How to Submit a Post to DZone
  • Spring Authentication With MetaMask
  • TDD With FastAPI Is Easy
  • Automated Testing: The Missing Piece of Your CI/CD Puzzle
  1. DZone
  2. Coding
  3. Frameworks
  4. Monitoring Your Django App with Librato

Monitoring Your Django App with Librato

Librato is great for monitoring Django apps. Here's a breakdown of system requirements and an explanation of how it actually functions.

Dave Josephsen user avatar by
Dave Josephsen
·
Ivana Ivanovic user avatar by
Ivana Ivanovic
·
Dec. 09, 15 · Analysis
Like (1)
Save
Tweet
Share
2.36K Views

Join the DZone community and get the full member experience.

Join For Free

Our instrumentation reports above 80 metrics that measure various performance and health metrics. It is easy to fine-tune the reported metrics using the provided configuration file.

  • Current and historical average web response times, including visibility into model layer latency, WSGI application layer overhead, time spent accessing external services, and in the application code itself.
  • Overall throughput, broken down by HTTP status codes.
  • Error request percentages.
  • Log volume for critical, error and warning messages, achieved by instrumenting the standard logging module. A variation in the log volume can often signal anomalous behavior.

System Requirements

You’ll need a recent stable version of Django running Python 2.7. Our instrumentation was most recently tested using Django 1.8.6, Python 2.7.3 and Ubuntu 14.04.3 LTS.

How it Works

Our instrumentation is designed to work with no code modifications to your application.

  • Installing our pip package gives you the ability to transparently wrap the appropriate Django and Python classes and report useful measurements to Librato. However, the instrumentation doesn’t kick in unless you run it using the launcher utility (see below).
  • Running your application using our launcher utility enables the instrumentation, which ultimately reports the metrics for the app.
  • The launcher also spins up a bundled StatsD process, which aggregates and reports measurements to Librato.
  • Metrics are reported to Librato asynchronously, in order to reduce the performance impact on executing web requests.

You can optionally create a Python virtual environment to isolate the instrumentation to your Django web application.

More Information

Check out our Knowledge Base article for step-by-step details on configuring and running Django web applications. If you’d like to contribute features or bug fixes, please create a pull request on the librato-python-web GitHub project. And, of course, never hesitate to contact our support.

Django (web framework) app application

Published at DZone with permission of Dave Josephsen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Django and React Single Page Application Development - Part 1
  • Configuring SSO Using WSO2 Identity Server
  • What Developers Need to Know About the Price Checker App
  • Auto-Scaling a Spring Boot Native App With Nomad

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: