Skip to content

v1.0.0 - Production-Ready Telemetry Engine & UI

Latest

Choose a tag to compare

@iamsabbiralam iamsabbiralam released this 09 Jul 12:43

What's New in v1.0.0 🚀

We are excited to announce the official v1.0.0 release of debugkit! This version brings a fully stable, lightweight, and zero-dependency runtime telemetry engine to your Go applications.

Key Highlights 🌟

  • Embedded UI Dashboard: Seamlessly mounts a beautiful and responsive dashboard inside your application using Go embed.FS. Access it directly at /debugkit.
  • Memory & System Analytics: Real-time tracking of active goroutines, allocated heap memory, total system memory, and heap objects.
  • SQL Query Tracking: Monitor database performance and log query execution speeds effortlessly.
  • Defensive Design & Stability: Built-in Nil Guards across all core collector methods to prevent any accidental nil pointer dereference panics, ensuring your production server remains bulletproof.

Installation 📦

go get github.com/iamsabbiralam/debugkit@v1.0.0

Quick Example 🛠️


import (
	"net/http"
	"[github.com/iamsabbiralam/debugkit](https://github.com/iamsabbiralam/debugkit)"
)

func main() {
	// Initialize the engine
	debugkit.New()

	mux := http.NewServeMux()
	
	// Register dashboard and API endpoints
	debugkit.RegisterUIHandlers(mux)

	// Wrap middleware
	http.ListenAndServe(":8080", debugkit.DebuggerMiddleware(mux))
}