Fiberplane Adds Metrics Tool
Written by Kay Ewbank   
Thursday, 13 April 2023

Fiberplane has announced Autometrics, a set of open source libraries for understanding the performance of your code in production. It provides Grafana dashboards and Fiberplane notebooks to visualize the metrics of how your code is performing.

Fiberplane notebooks are collaborative spaces for teams with notebooks made up of cells to provide a centralized place to pull all the data about an incident together in one space. That data can be used by distributed teams managing a distributed system in real time.

autometrics

The Autometrics libraries are built on the Prometheus and OpenTelemetry open source projects, and can be used to track important metrics including the request, error rate and latency of any function. The library can also generate customized Prometheus queries to help you understand the data collected, and insert links to the live charts directly into each function's doc comments.

autometricsscreen

Autometrics inserts links to live Prometheus charts directly into each instrumented function's doc comments. The libraries take a different approach to the problem of logs that are difficult to understand that can occur costs.

The developers of Autometrics say that

"instead of throwing away valuable context and then using compute power to recreate it, it starts inside your code. It enables you to understand your production system at one of the most fundamental levels: from the function."

Autometrics can be added to any function in your code, from HTTP handlers down to database methods. This means that if you are looking into a problem with a specific HTTP handler, you can browse through the metrics of the functions called by the misbehaving function.

To see what's going on, all a developer has to do is to hover over the function names of the nested function calls in their IDE to look at the metrics. Alternatively, you can directly open the chart of the request or error rate of all functions called by a specific function.

Autometrics is available on GitHub and the Autometrics website.

autometrics

More Information

Autometrics On GitHub

Autometrics Website

Related Articles

Fiberplane Open Sources Plug-In System

Fiberplane Collaboration Tool Available In Beta

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


RAG from Scratch
10/12/2024

The "RAG from Scratch" tutorial by Langchain coupled with the "RAG playground" are two great educational resources that will help you kickstart your journey with RAG.



Knuth's Xmas Lecture 2024 - Strong And Weak
22/12/2024

Could  the festive season be complete without Donald Kunth putting on his flamboyant xmas top and talking to us about something that most of us know nothing about? Of course not.


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Thursday, 13 April 2023 )