Autometrics is an observability micro-framework built for developers. It makes it easy to instrument any function with the most useful metrics: request rate, error rate, and latency. Autometrics uses instrumented function names to generate Prometheus queries so you don’t need to hand-write complicated PromQL.
To make it easy for you to spot and debug issues in production, Autometrics inserts links to live charts directly into each function’s doc comments and provides dashboards that work out of the box. It also enables you to create powerful alerts based on Service-Level Objectives (SLOs) directly in your source code. Lastly, Autometrics writes queries that correlate your software’s version info with anomalies in the metrics to help you quickly identify commits that introduced bugs or latency.
See the docs for more details about using Autometrics and the ideas behind it.
Autometrics.Demo.mp4
Autometrics is available in the following programming languages:
- Rust - Repo | Quickstart | API Docs
- TypeScript - Repo | Quickstart | API Docs
- Go - Repo | Quickstart | API Docs
- Python - Repo | Quickstart | API Docs
- C#/.NET (community-maintained) - Repo
- Java (community-maintained) - Repo | IntelliJ Plugin
Want to help implement autometrics in another language? Take a look at the Autometrics Specification and get in touch! We'd love to work with you on it.
We would love to have you! If you have ideas, suggestions, questions, or would like to pitch in, please come join us!
You can get invovled in a variety of ways:
- Join the conversation on Discord
- See the ongoing discussions and new ideas in the Github Discussions (this is a good place to bring up new feature ideas)
- Find the overall project roadmap here
- And take a look at the open issues on the repos of each of the language implementations