metrics-chart
Installation
SKILL.md
metrics-chart
Turns a metrics query response into a multi-series line chart.
Input is exactly the body the Axiom metrics query service returns for
application/vnd.metrics.v3+json — defined in the metrics query service
(service/query, JsonV3QueryResponse in src/server.rs). It is a
regularly-sampled, multi-series time series; this skill draws it.
TL;DR
# From a file, stdout picks the best renderer for your terminal:
python3 scripts/metrics_chart.py response.json
# From a pipe (e.g. straight off the query API):
curl ... -H 'Accept: application/vnd.metrics.v3+json' | python3 scripts/metrics_chart.py