HNHacker News
TopNewBestAskShowJobs

itssimon

19 karma · joined February 27, 2024

Founder of Apitally (https://apitally.io)
submissionscomments
itssimon··on [dead]
I'm the founder of Apitally, and today I'm announcing support for Hono and FastAPI apps running on Cloudflare Workers. This new integration uses Cloudflare Logpush. Linked is the official release announcement.
itssimon··on [dead]
Hey all, I'm the solo founder of Apitally, an indie product for API monitoring & analytics.

Apitally is a lightweight alternative to the large, complex monitoring platforms, built to provide focused insights for REST APIs. It supports most popular frameworks across Python, JavaScript, Go, .NET, and Java.

In addition to logging API requests, Apitally can now capture application logs and correlate them with requests, giving users more context when troubleshooting API issues.

itssimon··on [dead]
Introducing our new integration for AdonisJS, offering comprehensive API insights and request logging with minimal effort.
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Great point, noted! Thanks!
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Thanks so much for the shout-out and feedback! Definitely true that tracing (likely with OpenTelemetry) would be a very valuable future feature addition - especially for database queries. I actually had that use case come up at work today.
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Valid concern that I tried to specifically address in how the SDKs are implemented! The middleware part is actually super lightweight. It only captures relevant metrics from the request and response and stores them in memory. Further processing and sending to Apitally happens asynchronously in the background, in regular intervals. That way the performance impact on request handling is very minimal.

Anecdotally, I noticed zero increase in CPU usage when I added the Apitally SDK to a FastAPI app that handles ~100 req/s. In comparison, adding OpenTelemetry was very noticeable, at least doubling the CPU usage.

itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Sì, naturalmente! They approve of my spaghetti code
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Thank you! The SDKs are open-source, which I believe is the most important part. Users can verify how the integrations work and exactly what data is collected.

To me, privacy-focused also means to avoid collecting sensitive data in the first place. I'm hoping that mostly negates the need for self-hosting, in the spirit of keeping things simple for users.

That said, I'm definitely considering to support self-hosting in the future as well, and possibly open-sourcing the rest of the codebase.

itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
A bit off-topic, but I'm curious. What are the benefits of Bugsink over Sentry? Sentry can also be self-hosted.
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Yes, support for Go has been requested a few times and is on the roadmap!
itssimon··on Show HN: Klarity – Open-source tool to analyze uncertainty/entropy in LLM output
I ended up playing with the background animtation on your website for 10 minutes, was fun
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
Thanks, I appreciate the feedback! Datadog is obviously super powerful, maybe partially warranting the price tag, but most of the time the gazillion features just confuse me to the point that I don't want to use it.
itssimon··on Show HN: Apitally – A simple, privacy-focused API monitoring and analytics tool
By the way, I’m planning to add support for more frameworks and languages, hopefully with help from the community.

At the top of my list are Laravel (PHP) and Spring (Java), but I’m keen to hear what other frameworks would be popular here.

itssimon··on FastAPI application monitoring made easy
Understand how your API is being used and how it's performing without deploying, configuring and maintaining complex monitoring tools.
itssimon··on Show HN: Apitally – REST API monitoring made easy
Thanks! Let me know if I can be of any help.
itssimon··on Show HN: Apitally – REST API monitoring made easy
Thanks for your feedback!

Being able to instrument background tasks is a great idea that I would find useful for my own projects as well. I'll consider adding that to the roadmap!

The threading.Lock usage is a bit of a precaution that might not always be necessary. However, in cases where it's not necessary, the lock will always be uncontended and then be trivial to acquire. I'll think about whether that's worth optimizing.