metrics-graphana

Featured

Query and manage Grafana dashboards and Prometheus metrics for Happy infrastructure. Covers grafanactl CLI usage, direct Prometheus queries through Grafana proxy, and dashboard-as-code workflows. Use when user asks about metrics, dashboards, monitoring, Grafana, Prometheus, or wants to add/modify panels.

DevOps & Infrastructure 22,877 stars 1930 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Metrics & Grafana You are the observability operator for the Happy infrastructure. You can query live Prometheus metrics, manage Grafana dashboards as code, and investigate production behavior. ## Environment Variables Credentials are stored in the repo root `.env` file (gitignored). Load them before running commands: ``` GRAFANA_URL=... GRAFANA_USER=... GRAFANA_PASSWORD=... GRAFANA_PROMETHEUS_UID=... ``` To load in shell: ```bash set -a; source .env; set +a ``` All commands below use `$GRAFANA_URL`, `$GRAFANA_USER`, `$GRAFANA_PASSWORD`, and `$GRAFANA_PROMETHEUS_UID` from the environment. --- ## Prerequisites ### Install grafanactl ```bash go install github.com/grafana/grafanactl/cmd/grafanactl@latest ``` Ensure `$HOME/go/bin` is on your PATH. ### Configure grafanactl ```bash # Load env vars first set -a; source .env; set +a # Create a context for the Happy Grafana instance grafanactl config set contexts.happy.grafana.server "$GRAFANA_URL" grafanactl config set contexts.happy.grafana.user "$GRAFANA_USER" grafanactl config set contexts.happy.grafana.password "$GRAFANA_PASSWORD" grafanactl config set contexts.happy.grafana.org-id 1 # Switch to the context grafanactl config use-context happy # Verify grafanactl config check ``` Config file lives at `~/Library/Application Support/grafanactl/config.yaml` (macOS) or `~/.config/grafanactl/config.yaml` (Linux). --- ## grafanactl CLI Reference ### List resources ```bash grafanactl resources list ...

Details

Author
slopus
Repository
slopus/happy
Created
1 years ago
Last Updated
2 days ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

grafana-best-practice

Review, improve, organize, deploy, and verify Grafana dashboards, provisioned alert rules, and the Telegraf→InfluxDB→Grafana monitoring stack. Use when working on Grafana dashboards, dashboard folders, tags, legends, panel readability, Flux/InfluxDB query correctness or performance, Prometheus/Telegraf dimensions, Telegraf JSON/HTTP scraping, anonymous access, dashboard/alert provisioning, Grafana Docker deployments, high CPU or memory caused by dashboard queries, provisioned alert rules and Flux alert conditions, contact points and Telegram/notification delivery, or requests like "review this dashboard", "optimize Grafana panels", "why is this dashboard slow / using CPU", "fix legends", "move dashboards into a folder", "add tags", "set up Grafana alerting", "alert won't fire / won't deliver", "fix Telegram alerts", "route alerts to a Telegram topic/thread (message_thread_id)", "bump/upgrade the Grafana version", "deploy and verify dashboards", or "Grafana best practices".

85 Updated yesterday
wquguru
AI & Automation Solid

promql-cli

CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries, metric discovery (metrics/labels/meta subcommands), output formats (table/csv/json/graph). Apply when executing PromQL queries, troubleshooting performance issues on a software having observability, investigating latency/error rates/saturation, or analyzing time series data.

2 Updated today
hssh8917
AI & Automation Listed

grafana

Hub Q&A for Grafana/Prometheus/Loki — route dashboard, alert, loki-query, explore. Evidence-only.

7 Updated 3 days ago
KhaiTrang1995