Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Apitally - Metrics, logs, and alerts for FastAPI#11762

itssimon started this conversation inShow and tell
Discussion options

Hey FastAPI community,

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

That's why I builtApitally, a simple API monitoring tool for FastAPI 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

TheApitally SDK integrates with FastAPI through a lightweight middleware, which automatically captures metrics and logs for all requests and asynchronously sends them to Apitally in regular intervals.

Setup is super easy. Just add a few lines of code to your project:

fromfastapiimportFastAPIfromapitally.fastapiimportApitallyMiddlewareapp=FastAPI()app.add_middleware(ApitallyMiddleware,client_id="your-client-id",env="dev",# or "prod" etc.)

There's a detailedsetup guide for FastAPI, if you'd like to try it out.

The Apitally dashboard looks like this ⬇️

Apitally dashboard

Please let me know what you think!

You must be logged in to vote

Replies: 1 comment

Comment options

I like how it’s tailored for FastAPI and keeps things simple without the overwhelm of bigger platforms. The focus on privacy is a nice touch too

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
2 participants
@itssimon@Vincenzo140

[8]ページ先頭

©2009-2025 Movatter.jp