The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Productivity · SKILL.md

prometheus

prometheus

Query metrics via Prometheus API. Run PromQL queries and manage alerts.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: prometheus description: Query metrics via Prometheus API. Run PromQL queries and manage alerts. metadata: {"clawdbot":{"emoji":"🔥","requires":{"env":["PROMETHEUS_URL"]}}}

Prometheus

Metrics and monitoring.

Environment

export PROMETHEUS_URL="http://prometheus.example.com:9090"

Query Metrics

curl "$PROMETHEUS_URL/api/v1/query?query=up"

Range Query

curl "$PROMETHEUS_URL/api/v1/query_range?query=rate(http_requests_total[5m])&start=2024-01-30T00:00:00Z&end=2024-01-30T12:00:00Z&step=60"

List Targets

curl "$PROMETHEUS_URL/api/v1/targets"

List Alert Rules

curl "$PROMETHEUS_URL/api/v1/rules"

Get Alerts

curl "$PROMETHEUS_URL/api/v1/alerts"

Links

Saved skills