Autometrics: Easily add metrics in Rust and understand them in Prometheus


Details
For this month, we're hosting Evan Schwartz at the Materialize office to present a new way to easily add metrics to your Rust applications. Please notice the updated COVID requirements for our venue.
Autometrics (github.com/autometrics-dev/autometrics-rs) is a new crate that makes it easy to understand the error rate, latency, and production usage of any function in your code. It’s a macro that instruments functions such as HTTP handlers and database methods with useful metrics. The library then generates Prometheus queries to help you make sense of the data and inserts links to the live charts directly into each function’s doc comments. Autometrics also enables defining Service-Level Objectives (SLOs) or alerts in your Rust code and it will soon come with a Grafana dashboard to give a live overview of your project. In this talk, the creator of autometrics will discuss the benefits and pain points of using metrics today, explain how autometrics helps, and show what it’s like to jump straight from your code to charts showing its performance in realtime.
***
We'll open doors at 7pm, and the talks will be from 7:30pm-8:30pm. And as usual, if there's enough interest, we'll go hang out at a local bar afterward!
***
If you'd like to share a talk with us, have talk suggestions, or would like to keep up with our virtual events in the future, please join our Rust East Coast Discord, where we plan and share future and past talks!
***
JFrog has generously agreed to sponsor this month's event by providing food and drink.
***
Materialize has generously agreed to host this month's event.
COVID-19 safety measures

Autometrics: Easily add metrics in Rust and understand them in Prometheus