← ClaudeAtlas

metricsqllisted

VictoriaMetrics MetricsQL query language as a PromQL superset: rollup extensions, behavioral differences from PromQL (rate/increase semantics, implicit conversions, auto-aligned subqueries), label manipulation, WITH templates, keep_metric_names modifier, multiple-or filters, and query API enhancements. Invoke whenever task involves any interaction with MetricsQL or VictoriaMetrics queries — writing, debugging, optimizing, migrating PromQL to VictoriaMetrics, or reviewing.
xobotyi/cc-foundry · ★ 23 · Code & Development · score 81
Install: claude install-skill xobotyi/cc-foundry
# MetricsQL VictoriaMetrics PromQL superset. Syntactically backwards-compatible; **semantically different** for a subset of queries. Lead with the diffs — that's where users get burned. PromQL fundamentals live in the sibling `promql` skill; this covers only what PromQL doesn't. ## References - **Behavioral diffs from PromQL** — [`${CLAUDE_SKILL_DIR}/references/behavioral-diffs.md`] `rate`/`increase`/`delta`/`changes` diffs, `_prometheus`-suffixed variants, scalar/instant-vector unification, NaN handling, name retention, implicit conversions, auto-aligned subqueries, `default_rollup` lookback, staleness markers. - **MetricsQL-only extensions** — [`${CLAUDE_SKILL_DIR}/references/extensions.md`] Rollup family, `WITH` templates, multiple-`or` filters, `default`/`if`/`ifnot` ops, `group_left(*) prefix`, `keep_metric_names`, `[Ni]` step, numeric suffixes, aggregate `limit N`, `boundsLabel`, fractional durations, Graphite, multi-line. - **Full function catalog** — [`${CLAUDE_SKILL_DIR}/references/functions-catalog.md`] All rollup, transform, label-manipulation, aggregate functions by category, with PromQL/MetricsQL provenance. - **Query API enhancements** — [`${CLAUDE_SKILL_DIR}/references/api-enhancements.md`] `extra_label`, `extra_filters[]`, `round_digits`, `limit`, timestamp formats, `stats` response, cluster vmselect URL layout, multi-tenancy. Read the relevant reference before proceeding. ## What MetricsQL Is - **Strict syntactic superset** of PromQL — every