Prometheus Alerting & Recording Rule Generator (PromQL)
Construct PromQL alerting rules, recording rules, alert manager thresholds, labels, and runbook annotations visually.
# Prometheus Alerting & Recording Rules Specification
# Generated by ToolsAA (100% Client-Side Engine)
groups:
- name: infrastructure_node_alerts
interval: 30s
rules:
- alert: HostHighCpuLoad
expr: 100 - (avg by (instance, job) (rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 85
for: 5m
keep_firing_for: 2m
labels:
severity: warning
tier: "infra"
team: "sre-platform"
annotations:
summary: "Host CPU utilization exceeds 85% on {{ $labels.instance }}"
description: "Node {{ $labels.instance }} (job: {{ $labels.job }}) has had CPU utilization above 85% for 5m. Current load is {{ $value | printf \"%.2f\" }}%."
runbook_url: "https://runbooks.prometheus-operator.dev/runbooks/general/cpu-high-load/"
dashboard_url: "https://grafana.internal.net/d/node-exporter-full?var-instance={{ $labels.instance }}"
action_required: "Investigate noisy-neighbor processes via htop or check autoscaling capacity."
Group: infrastructure_node_alerts | For: 5m
Range: Windowed | Annotations: 3 vars
kube-prometheus-stack • Alertmanager • promtool
PromQL AST & Expression Synthesis
Visually construct robust PromQL expressions with metric selectors, range windows, aggregation functions, and comparison thresholds.
100% Browser-Side Privacy
Zero server communications or telemetry. Your internal metric names, cluster topologies, and runbook URLs remain private in your browser.
Promtool & Operator Native
Generates standard Prometheus 2.x rule files, kube-prometheus-stack PrometheusRule CRDs, and promtool test unit specs.