Svelte Hacker News logo
  • top
  • new
  • best
  • show
  • ask
  • jobs
  • about

Show HN: Pedantic.run – Lint PromQL Queries

pedantic.run

1 point by neinasaservice 20 minutes ago

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 \ -H 'content-type: application/json' \ -d '{"query":"topk(5, rate(container_memory_usage_bytes{pod=~\".*\"}[10m]))"}'