返回首页
最新
通过 API 对 PromQL 进行 lint 检查,无需安装任何东西。
查询不会被存储,只会进行静态分析以检测明显的问题和类型安全性。
使用以下命令:
```bash
curl -s https://pedantic.run/api/analyze \
-H 'content-type: application/json' \
-d '{"query":"topk(5, rate(container_memory_usage_bytes{pod=~\".*\"}[10m]))"}'
```