Modulis for Golang
Add production-grade observability to your Go applications. Monitor goroutines, trace HTTP handlers, and collect runtime metrics with idiomatic Go integration.
Get Started in Minutes
Add Modulis to your Golang project with just a few lines of code.
Install the module
go get github.com/modulis/modulis-go Initialize Modulis in your main function
package main
import (
"net/http"
modulis "github.com/modulis/modulis-go"
)
func main() {
// Initialize Modulis
modulis.Init(modulis.Config{
APIKey: "YOUR_API_KEY",
})
defer modulis.Shutdown()
http.Handle("/", modulis.Handler(myHandler))
http.ListenAndServe(":8080", nil)
} Deploy and monitor
Deploy your application and start seeing real-time telemetry data in your Modulis dashboard within seconds.
Key Features for Golang
Purpose-built instrumentation designed for the Golang ecosystem.
Goroutine Tracking
Monitor goroutine count, lifecycle, and detect goroutine leaks before they cause issues.
HTTP Handler Tracing
Automatically trace net/http handlers and popular routers like chi, gin, and echo.
gRPC Monitoring
Full gRPC interceptor support for tracing unary and streaming RPCs with metadata.
Runtime Metrics
Collect Go runtime metrics including GC pauses, memory allocation, and scheduler latency.
Why Modulis + Golang?
Idiomatic Go API with minimal allocations
Context-based trace propagation
Support for popular Go frameworks and routers
OpenTelemetry-compatible span export