Connect your application
Choose an integration and get a minimal configuration you can run right away.
Connect Spring Boot, Quarkus, Micronaut, FastAPI, Express, Django, Gin, or Go net/http to lightweight self-hosted monitoring without deploying a full Prometheus and Grafana stack.
Choose an integration
Not sure? Choose Inspect.
Application details
Application setup required
Enable Spring Boot Actuator
Add Spring Boot Actuator and expose its health and metrics endpoints. StatLite works with standard Actuator metrics; Prometheus metrics are optional. Generated YAML uses /actuator as the management base URL.
Application setup required
Enable Quarkus metrics
Add quarkus-micrometer-registry-prometheus to expose /q/metrics. Add quarkus-smallrye-health if you also want application health reporting.
Application setup required
Enable Micronaut metrics
Requires StatLite 0.6.0+. Enable Micronaut management and Micrometer to expose /prometheus. Generated YAML uses this metrics endpoint.
Application setup required
Add StatLite Metrics to your app
Generated YAML configures StatLite. You must also add the helper, middleware, or view and expose /statlite/metrics in your application. The Express article walks through that pattern.
These lightweight integrations keep cumulative state in the application process. Use one stable endpoint and StatLite target per process unless your application provides its own aggregation.
Live preview
statlite.yaml
Using a custom endpoint or management path? Edit the generated YAML before starting StatLite.
Let StatLite help
Not sure which integration to use?
Let StatLite inspect your application locally. The browser will not connect to your app.
statlite inspect http://localhost:8080
StatLite will try to detect a supported integration. If successful, it will show the available capabilities and print a suggested statlite.yaml.
For Micronaut, select the type explicitly: statlite inspect --type micronaut 'http://localhost:8080'.