- Home
- Skills
- Frontend & Web Apps
- Prometheus Grafana Dashboard Builder
Works with the AI Agents you already use
Prometheus Grafana Dashboard Builder
Generate PromQL queries, Alertmanager rules, and ready-to-import Grafana dashboard JSON models.
$15
Prometheus Grafana Dashboard Builder
Example session with this skill installed
Generate a RED metrics dashboard for my 'order-service' API, including PromQL queries for 95th percentile latency and an alert rule for error rates exceeding 5%.
- Read your context and instructions
- Compiled the prometheus grafana dashboard
I have generated the PromQL queries, Alertmanager rules, and the Grafana dashboard JSON for the order-service. ## Monitoring Assets for order-service ### PromQL Queries | Metric | PromQL Expression | | :--- | :--- | | **Throughput** | `sum(rate(http_requests_total{service="order-service"}[5m]))` | | **Error Rate** | `sum(rate(http_requests_total{service="order-service", status=~"5.."}[5m])) / sum(rate(http_requests_total{service="order-service"}[5m]))` | | **P95 Latency** | `histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{service="order-service"}[5m])) by (le))` | ### Alertmanager Rule ```yaml groups: - name: order-service-alerts rules: - alert: HighErrorRate expr: | sum(rate(http_requests_total{service="order-service", status=~"5.."}[5m])) / sum(rate(http_requests_total{service="order-service"}[5m])) > 0.05 for: 2m labels: severity: critical annotations: summary: "High error rate on order-service" description: "Error rate is {{ $value | humanizePercentage }} which is above the 5% threshold." runbook_url: "https://wiki.internal/runbooks/order-service-errors" ``` ### Grafana Dashboard JSON (Snippet) ```json { "title": "Order Service RED Metrics", "panels": [ { "title": "Request Rate", "type": "timeseries", "targets": [{"expr": "sum(rate(http_requests_total{service=\"order-service\"}[5m]))"}] }, { "title": "P95 Latency", "type": "timeseries", "targets": [{"expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{service=\"order-service\"}[5m])) by (le))"}] } ], "schemaVersion": 36 } ``` **Next steps** 1. Copy the Alertmanager YAML into your `alert.rules` file and reload Prometheus. 2. Import the generated JSON into your Grafana instance via the 'Import Dashboard' menu. 3. Verify that the label `service="order-service"` matches your actual telemetry labels.
Connects securely to your tools. The creator never sees your data.
About this skill
Monitoring infrastructure manually is error-prone and slow. This skill automates the creation of production-grade observability assets, converting high-level monitoring goals into precise PromQL and dashboard configurations. ## What it does - **PromQL construction** translates latency, throughput, and error rate goals into functional Prometheus queries. - **Metric calculation** implements RED (Rate, Errors, Duration) and USE (Utilization, Saturation, Errors) methodologies for microservices. - **Alerting definitions** generates Alertmanager YAML rules complete with severity levels and runbook annotations. - **Dashboard generation** outputs ready-to-import Grafana JSON models for immediate visualization. ## How it works 1. **Define metrics** by identifying the service type and key performance indicators like error rates or saturation. 2. **Review queries** generated by the agent to ensure PromQL expressions match your specific time-series data. 3. **Export templates** for Alertmanager rules and Grafana dashboards directly into your workspace. ## Frameworks & tools Specifically designed for Prometheus, Grafana, and Alertmanager. It supports standard PromQL syntax and Grafana dashboard JSON schema versioning. ## Why this beats prompting it yourself Writing valid Grafana JSON by hand is tedious and prone to syntax errors that break imports. This skill enforces SRE best practices like RED/USE patterns and ensures alerting rules include necessary operational context that generic prompts often omit. ## Use cases - **Service onboarding** to quickly generate dashboards for a new microservice. - **Incident response** to create temporary monitoring for specific saturation issues. - **Standardization** to apply consistent alerting rules across a fleet of services. ## Known limitations Generates declarative configuration files only. It does not perform live connections to data sources or execute queries against active Prometheus instances.
Generates declarative configuration files only. Does not connect to live data sources or perform real-time query execution.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
Requires
Permissions
Target Use Cases: - Generate PromQL queries for P99 latency and request rate. - Create Grafana dashboard JSON for a Node.js API. - Build Prometheus alert rules for high CPU and error budget burn.