Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey Django community,

When shipping APIs, having access to logs and metrics is crucial to understand API usage and troubleshoot issues. However, I've found that most monitoring tools bury these in bloated dashboards that are a pain to use.

That's why I built Apitally, a simple API monitoring and analytics tool for Django that focuses on what actually matters for APIs:

  • Usage metrics (per endpoint and consumer)
  • Error tracking (with stack traces)
  • Performance monitoring
  • Request logs + correlated application logs
  • Uptime monitoring + alerts with Slack/Teams notifications

The Apitally SDK integrates with Django via a lightweight middleware, which captures metrics and logs for all API requests and asynchronously sends them to Apitally’s servers in regular intervals, without affecting performance.

Setup is super easy. Just add a few lines of code to your settings. No infrastructure changes required.

MIDDLEWARE = [
    "apitally.django.ApitallyMiddleware",
    # Other middleware ...
]
APITALLY_MIDDLEWARE = {
    "client_id": "your-client-id",
    "env": "dev",  # or "prod" etc.
}

Here's a screenshot of the Apitally dashboard:

Apitally dashboard

If you'd like to try it out, there's a detailed setup guide for Django REST Framework.

Please let me know what you think!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.