This page explains how to try out Axiom with sample data. It walks you through an example where you want to keep track of OpenTelemetry (OTel) traces with Axiom.By following this page, you will:
Explore the structure of sample data.
Display a stream of incoming data.
Analyze the data.
Visualize the data by creating a simple dashboard.
Set up a monitor that alerts you about internal server errors.
Click the Query tab at the top of the page, and then click APL in the top left. This enables you to query your data with the Axiom Processing Language (APL). For more information, see Introduction to APL.
In the text field, enter the following:
Copy
Ask AI
['otel-demo-traces']| where duration > 5ms| summarize count() by bin_auto(_time), ['service.name']
Click Run.
You see the number of requests taking longer than 5 ms for each service over time.
In the top left, click Monitors, and then click New monitor on the top right.
Click Threshold monitor.
In Check options, enter 10000 as the value.
Click + Add notifier, and then select Email: Slow requests notifier.
In the APL section, enter the following:
Copy
Ask AI
['otel-demo-traces']| where duration > 5ms| summarize count() by bin(_time, 1m)
Click Create.
You created a monitor that automatically sends a notification to your email address if the number of requests taking longer than 5 ms is higher than 10,000 during a one minute period.