prometheus-query

Community

Query Prometheus/Thanos endpoints with promq.

Authordeloreyj
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Query Prometheus and Thanos endpoints protected by Cloudflare Access using promtool and the bundled promq CLI to manage tokens, headers, and HTTP config for reliable metric queries.

Core Features & Use Cases

  • Secure access to Cloudflare-protected Prometheus/Thanos endpoints with automatic token retrieval and header formatting.
  • Manage Access tokens with promq login, token caching, and endpoint-aware header selection.
  • Execute common PromQL tasks (instant queries, range queries, label listing, and series discovery) across multiple endpoints for observability troubleshooting.
  • Use Case: Quickly verify metrics availability across global and colo-specific endpoints, list metric names, or validate access tokens for a new endpoint.

Quick Start

Run login to fetch an access token, then perform an instant query against a Prometheus or Thanos endpoint.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prometheus-query
Download link: https://github.com/deloreyj/.dotfiles/archive/main.zip#prometheus-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.