Show HN: Apitally – A simple API monitoring and analytics tool for Go

github.com

2 points by itssimon 21 hours ago

G’day Hacker News, I’m Simon Gurcke, the sole founder of Apitally (https://apitally.io).

I’m building a simple API monitoring and analytics tool, which is helping users understand API usage and performance, spot issues early and troubleshoot effectively when something goes wrong.

Today I'm showing off the new Apitally Go SDK (https://github.com/apitally/apitally-go) with support for the frameworks Echo, Fiber, Gin and chi. Each framework is integrated via specific middleware, while most of the processing happens in a separate goroutine.

I had never built anything in Go before, so this was a great learning opportunity for me. By now the SDK has been through a few iterations, and I feel comfortable that it's ready for widespread production use. It has good test coverage and an extensive test matrix for different versions of Go and the supported frameworks.

Noteworthy features of Apitally include:

- Metrics & insights into API usage, errors and performance, for the whole API, each endpoint and individual API consumers.

- Request logging, which is opt-in and highly configurable in terms of what data is included in the logs. Users can drill down from aggregated metrics to individual requests, which has proven to be super helpful when troubleshooting issues.

- Uptime monitoring & custom alerts based on various API traffic, error and performance metrics with notifications delivered via email, Slack or Microsoft Teams.

I've actually posted about Apitally before (in February). At the time it only supported Python and Node.js. Now I'm hoping to reach the Go community as well.

The motivation for building Apitally came from my frustration with existing monitoring tools, which were too complex for my API-centric use cases, and often a pain to use. Consequently, I put a lot of emphasis on keeping Apitally as simple as possible and fully focussed on REST APIs.

Apitally is a paid SaaS now (I've dropped the free tier to become more sustainable), but with very affordable pricing starting at $9 per month. There's a free 14-day trial, and the dashboard has a demo mode, so users can explore it without having to set up their own app.

One of the next big items on my roadmap is to support OpenTelemetry for application logs and traces.