An open source micro framework for observability
Autometrics makes it easy to instrument any function with the most useful metrics and generates powerful queries to help you identify and debug issues in production.
Function-level metrics
Use Autometrics decorators, and wrappers to quickly instrument any function in your code. Autometrics will create the most important metrics for each function and record them in a uniform and Prometheus-compatible format.
Accurate and actionable alerts
The Autometrics framework includes first-class primitives for working with Service Level Objectives and makes it easy for any developer to adopt a powerful alerting workflow.
Firing
My API SLO
24 hours ago
autometrics-success-rate-95
Get actionable alerts when things go wrong
Quickly spot misbehaving functions and put out fires.
25
20
15
10
05
00
Alert firing
13:00
14:30
15:00
15:30
16:00
13:33
14:00
Create alerts based on your SLO's
Set up alerting workflows to get notified in case you’re at risk of breaching your SLOs.
# Create an objective for low latency
API_SLO_LOW_LATENCY = Objective(
"My API SLO", latency=(
ObjectiveLatency.Ms250, ObjectivePercentile.P99))
Group them into Service Level Objectives
Define latency and error rate goals with SLO’s that your API needs to meet.
@autometrics
def say_hello():
return "hello world"
Annotate functions in your code to instrument them.
Automatically track the most important metrics such as response time and error rate.
Meet Explorer,
your debug companion
Visualize and investigate the performance of your functions, service level objectives and alerts.