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 Echo#2785

itssimon started this conversation inShow and tell
Discussion options

Hey Echo 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 builtApitally, a simple API monitoring and analytics tool for Echo 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

Apitally'sopen-source SDK integrates with Echo via a lightweight middleware, which captures key metrics for all API requests & responses, aggregates them and asynchronously ships them to Apitally in regular intervals, without affecting performance.

Setup is super easy. You just add a few lines of code to your app ⬇️

import (    apitally"github.com/apitally/apitally-go/echo""github.com/labstack/echo/v4")funcmain() {e:=echo.New()config:=&apitally.Config{ClientId:"your-client-id",Env:"dev",// or "prod" etc.    }e.Use(apitally.Middleware(e,config))// ... rest of your code ...}

If you'd like to try it out, there's asetup guide for Echo.

Screenshot of the Apitally dashboard ⬇️

Apitally dashboard

Please let me know what you think!

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@itssimon

[8]ページ先頭

©2009-2025 Movatter.jp