Skip to content
@autometrics-dev

Autometrics

Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.

GitHub_headerImage

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.

Discord Shield

Autometrics.Demo.mp4

Implementations

Autometrics is available in the following programming languages:

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.

Get Involved!

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

Pinned

  1. autometrics-rs autometrics-rs Public

    Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.

    Rust 772 26

  2. autometrics-ts autometrics-ts Public

    Easily add metrics to your system – and actually understand them using automatically customized Prometheus queries

    TypeScript 129 7

  3. autometrics-py autometrics-py Public

    Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.

    Python 208 6

  4. autometrics-go autometrics-go Public

    Easily add metrics to your system -- and actually understand them using automatically customized Prometheus queries

    Go 129 8

  5. autometrics-shared autometrics-shared Public

    Resources used by all of the autometrics implementations

    Dockerfile 10

  6. am am Public

    Autometrics Companion CLI app

    Rust 13 2

Repositories

Showing 10 of 26 repositories