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 Loading

  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 809 29

  2. autometrics-ts autometrics-ts Public

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

    TypeScript 138 8

  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 217 7

  4. autometrics-go autometrics-go Public

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

    Go 142 9

  5. autometrics-shared autometrics-shared Public

    Resources used by all of the autometrics implementations

    Dockerfile 11

  6. am am Public

    Autometrics Companion CLI app

    Rust 16 3

Repositories

Showing 10 of 26 repositories
  • autometrics-rs Public

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

    autometrics-dev/autometrics-rs’s past year of commit activity
    Rust 809 Apache-2.0 29 12 (2 issues need help) 0 Updated Oct 21, 2024
  • docs Public

    Documentation site for autometrics

    autometrics-dev/docs’s past year of commit activity
    TypeScript 3 Apache-2.0 2 6 0 Updated Apr 23, 2024
  • autometrics-demo-python-fastapi-animals Public

    Example of a fastapi project that uses autometrics

    autometrics-dev/autometrics-demo-python-fastapi-animals’s past year of commit activity
    Python 1 3 0 0 Updated Apr 22, 2024
  • diff-metrics Public

    A github action that comments on PR to describe impact on metrics

    autometrics-dev/diff-metrics’s past year of commit activity
    TypeScript 15 0 6 7 Updated Apr 8, 2024
  • autometrics-py Public

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

    autometrics-dev/autometrics-py’s past year of commit activity
    Python 217 Apache-2.0 7 9 (1 issue needs help) 0 Updated Mar 16, 2024
  • instrument-pipeline Public

    Export job execution metrics to a Prometheus aggregation gateway

    autometrics-dev/instrument-pipeline’s past year of commit activity
    TypeScript 6 Apache-2.0 0 1 0 Updated Feb 28, 2024
  • autometrics-ts Public

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

    autometrics-dev/autometrics-ts’s past year of commit activity
    TypeScript 138 MIT 8 3 0 Updated Feb 28, 2024
  • autometrics-go Public

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

    autometrics-dev/autometrics-go’s past year of commit activity
    Go 142 Apache-2.0 9 9 0 Updated Jan 25, 2024
  • am Public

    Autometrics Companion CLI app

    autometrics-dev/am’s past year of commit activity
    Rust 16 Apache-2.0 3 16 1 Updated Dec 21, 2023
  • gettingstarted-am-rs Public

    Getting started with Autometrics and the Rust Axum web framework

    autometrics-dev/gettingstarted-am-rs’s past year of commit activity
    Rust 1 0 0 0 Updated Dec 6, 2023