kali20gakki/msAgent / skills/profiler/prometheus-metrics-analyzer
prometheus-metrics-analyzer
Verified分析 SGLang、vLLM 和 vLLM-Ascend 推理服务的 Prometheus 原生历史 Runtime Metrics。通过动态发现指标、建立语义映射、查询核心指标和多轮补充证据,分析延迟、吞吐、调度及缓存等潜在瓶颈。不负责部署或参数优化。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 24.0 KB |
| config/queries.example.json | config | 515 B |
| config/request-input.example.json | config | 264 B |
| references/prometheus_setup.md | markdown | 8.4 KB |
| scripts/metrics_processor.py | script | 6.4 KB |
| scripts/prometheus_client.py | script | 16.3 KB |
| scripts/run_manager.py | script | 13.0 KB |
config/queries.example.json
View on GitHub[
{
"promql": "REPLACE_RUNNING_REQUESTS_GAUGE{job=\"REPLACE_TARGET_JOB\",instance=\"REPLACE_TARGET_INSTANCE\"}",
"unit": "requests"
},
{
"promql": "rate(REPLACE_GENERATION_TOKEN_COUNTER{job=\"REPLACE_TARGET_JOB\",instance=\"REPLACE_TARGET_INSTANCE\"}[2m])",
"unit": "tokens/second"
},
{
"promql": "histogram_quantile(0.95, sum by (le, instance, model_name) (rate(REPLACE_TTFT_BUCKET{job=\"REPLACE_TARGET_JOB\",instance=\"REPLACE_TARGET_INSTANCE\"}[2m])))",
"unit": "seconds"
}
]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |