Prometheus Query

SkillMonitoring & ops

Query metrics and set up alerts using Prometheus at {{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Prometheus Query skill

What this skill tells your AI

The instructions your AI receives, as published by bidewio/better-openclaw in skills/prometheus-query/SKILL.md and read by ahel’s review.

Prometheus is available at http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}} within the Docker network.

Instant Query

curl -G "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/query" \
  --data-urlencode 'query=up'

Range Query

curl -G "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/query_range" \
  --data-urlencode 'query=rate(http_requests_total[5m])' \
  --data-urlencode 'start=2024-01-01T00:00:00Z' \
  --data-urlencode 'end=2024-01-01T01:00:00Z' \
  --data-urlencode 'step=60'

List Targets

curl "http://{{PROMETHEUS_HOST}}:{{PROMETHEUS_PORT}}/api/v1/targets"

Tips for AI Agents

  • Use PromQL for powerful metric queries: rate(), sum(), histogram_quantile().
  • Check target health at /targets to verify scrape configurations.
  • Combine with Grafana for visual dashboards.

Signals

GitHub stars
58
Forks
6
Last commit
Aug 2026
Advanced
Item type
skill
Key
prometheus-query
Source
github.com/bidewio/better-openclaw