Koskamo

Monitor error rates and response time anomalies

Receive automated notifications when error rates exceed defined thresholds or when response times spike anomalously, enabling rapid incident detection.

How it works

Read-onlyOperations and infrastructure

The agent constructs APL queries to analyze log and trace data. For error rates, it filters for status.code 'ERROR' and calculates the average rate per minute. For response times, it calculates the median duration by route. The agent then configures threshold or anomaly monitors with specific frequencies, ranges, and comparison operators to trigger alerts based on the calculated metrics.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Monitor error rates and response time anomalies
Create a monitor to alert when the error rate exceeds 0.01 per minute in the sample_dataset. Also create an anomaly monitor to detect spikes in median response times by route in my_traces.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

This page presents example monitor configurations for some common alerting use cases.
Monitor examples | Axiom Docs

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.