25 ms·
Show HN: Pedantic.run – Lint PromQL Queries
Lint PromQL via API, no need to install anything.
Queries don't get stored, just statically analyzed for obvious smells and type safety
curl -s https://pedantic.run/api/analyze https://pedantic.run/api/analyze \
-H 'content-type: application/json' \
-d '{"query":"topk(5, rate(container_memory_usage_bytes{pod=~\".*\"}[10m]))"}'