Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:20:42 +08:00
commit f5127a332f
8 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{
"name": "apm-dashboard-creator",
"description": "Create Application Performance Monitoring dashboards",
"version": "1.0.0",
"author": {
"name": "Claude Code Plugins",
"email": "[email protected]"
},
"skills": [
"./skills"
],
"commands": [
"./commands"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# apm-dashboard-creator
Create Application Performance Monitoring dashboards

View File

@@ -0,0 +1,35 @@
---
description: Create APM monitoring dashboards
---
# APM Dashboard Creator
Create comprehensive Application Performance Monitoring dashboards.
## Dashboard Components
1. **Golden Signals**: Latency, traffic, errors, saturation
2. **Request Metrics**: Request rate, response times, status codes
3. **Resource Utilization**: CPU, memory, disk, network
4. **Database Metrics**: Query performance, connection pools
5. **Cache Metrics**: Hit rates, memory usage
6. **Business Metrics**: Key performance indicators
7. **Error Tracking**: Error rates and types
## Process
1. Identify application technology stack
2. Determine critical metrics to monitor
3. Design dashboard layout and visualizations
4. Create dashboard configuration (Grafana, Datadog, New Relic, etc.)
5. Define alert thresholds
6. Generate setup instructions
## Output
Provide:
- Dashboard configuration files (JSON/YAML)
- Metric query definitions
- Visualization recommendations
- Alert rule configurations
- Setup and deployment instructions

61
plugin.lock.json Normal file
View File

@@ -0,0 +1,61 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/performance/apm-dashboard-creator",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "a0ebd074dd89add077f8cb77735e375cf6956215",
"treeHash": "4d8d03f35a0acdbf2b4139f1667e4f308691bb0a62f45a8236fbc6e417365f42",
"generatedAt": "2025-11-28T10:18:09.704896Z",
"toolVersion": "publish_plugins.py@0.2.0"
},
"origin": {
"remote": "git@github.com:zhongweili/42plugin-data.git",
"branch": "master",
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
},
"manifest": {
"name": "apm-dashboard-creator",
"description": "Create Application Performance Monitoring dashboards",
"version": "1.0.0"
},
"content": {
"files": [
{
"path": "README.md",
"sha256": "23c47f2923fdeeed953be680da8f4c42cae866c2d3ea55fbff0f759074e8b55d"
},
{
"path": ".claude-plugin/plugin.json",
"sha256": "33697e19200e6453d449b00285445b990480c7c93d8d8202b5f76bbef1498fc8"
},
{
"path": "commands/create-dashboard.md",
"sha256": "ef2db36b16b6cc15f07d40e2b1df46b1f28d079c9e6bb9fc7f7d9606f3ce1b7c"
},
{
"path": "skills/apm-dashboard-creator/SKILL.md",
"sha256": "ab4e03941101fcd38ea0343a55f06b7ab6392c4822230ccf811d41cb19a509e1"
},
{
"path": "skills/apm-dashboard-creator/references/README.md",
"sha256": "7c282b9dd64daeed3a5b2cfbac4035ca126039765b8c9bb2120debc44fd8a5ba"
},
{
"path": "skills/apm-dashboard-creator/scripts/README.md",
"sha256": "2ae518063f1667db8117e751f39caf4b906eb6db337a2923aad35198e66d8e18"
},
{
"path": "skills/apm-dashboard-creator/assets/README.md",
"sha256": "58e81cfe6e4c385eead4b3682f71ec2f65c6f072eafee312e7ade3a76220cc9a"
}
],
"dirSha256": "4d8d03f35a0acdbf2b4139f1667e4f308691bb0a62f45a8236fbc6e417365f42"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}

View File

@@ -0,0 +1,55 @@
---
name: creating-apm-dashboards
description: |
This skill enables Claude to create Application Performance Monitoring (APM) dashboards. It is triggered when the user requests the creation of a new APM dashboard, monitoring dashboard, or a dashboard for application performance. The skill helps define key metrics and visualizations for monitoring application health, performance, and user experience across multiple platforms like Grafana and Datadog. Use this skill when the user needs assistance setting up a new monitoring solution or expanding an existing one. The plugin supports the creation of dashboards focusing on golden signals, request metrics, resource utilization, database metrics, cache metrics, business metrics, and error tracking.
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
version: 1.0.0
---
## Overview
This skill automates the creation of Application Performance Monitoring (APM) dashboards, providing a structured approach to visualizing critical application metrics. By defining key performance indicators and generating dashboard configurations, this skill simplifies the process of monitoring application health and performance.
## How It Works
1. **Identify Requirements**: Determine the specific metrics and visualizations needed for the APM dashboard based on the user's request.
2. **Define Dashboard Components**: Select relevant components such as golden signals (latency, traffic, errors, saturation), request metrics, resource utilization, database metrics, cache metrics, business metrics, and error tracking.
3. **Generate Configuration**: Create the dashboard configuration file based on the selected components and user preferences.
4. **Deploy Dashboard**: Deploy the generated configuration to the target monitoring platform (e.g., Grafana, Datadog).
## When to Use This Skill
This skill activates when you need to:
- Create a new APM dashboard for an application.
- Define key metrics and visualizations for monitoring application performance.
- Generate dashboard configurations for Grafana, Datadog, or other monitoring platforms.
## Examples
### Example 1: Creating a Grafana Dashboard
User request: "Create a Grafana dashboard for monitoring my web application's performance."
The skill will:
1. Identify the need for a Grafana dashboard focused on web application performance.
2. Define dashboard components including request rate, response times, error rates, and resource utilization (CPU, memory).
3. Generate a Grafana dashboard configuration file with pre-defined visualizations for these metrics.
### Example 2: Setting up a Datadog Dashboard
User request: "Set up a Datadog dashboard to track the golden signals for my microservice."
The skill will:
1. Identify the need for a Datadog dashboard focused on golden signals.
2. Define dashboard components including latency, traffic, errors, and saturation metrics.
3. Generate a Datadog dashboard configuration file with pre-defined visualizations for these metrics.
## Best Practices
- **Specificity**: Provide detailed information about the application and metrics to be monitored.
- **Platform Selection**: Clearly specify the target monitoring platform (Grafana, Datadog, etc.) to ensure compatibility.
- **Iteration**: Review and refine the generated dashboard configuration to meet specific monitoring needs.
## Integration
This skill can be integrated with other plugins that manage infrastructure or application deployment to automatically create APM dashboards as part of the deployment process. It can also work with alerting plugins to define alert rules based on the metrics displayed in the generated dashboards.

View File

@@ -0,0 +1,7 @@
# Assets
Bundled resources for apm-dashboard-creator skill
- [ ] dashboard_template.json: A JSON template for creating APM dashboards, including common visualizations and metrics.
- [ ] example_dashboard_config.yaml: An example YAML configuration file for defining dashboard parameters.
- [ ] visualization_library.md: A library of common visualizations and their use cases in APM dashboards.

View File

@@ -0,0 +1,9 @@
# References
Bundled resources for apm-dashboard-creator skill
- [ ] grafana_api_reference.md: Detailed documentation of the Grafana API for dashboard creation and management.
- [ ] datadog_api_reference.md: Detailed documentation of the Datadog API for dashboard creation and management.
- [ ] new_relic_api_reference.md: Detailed documentation of the New Relic API for dashboard creation and management.
- [ ] apm_metrics_glossary.md: A glossary of common APM metrics and their definitions.
- [ ] dashboard_best_practices.md: Best practices for designing effective APM dashboards.

View File

@@ -0,0 +1,8 @@
# Scripts
Bundled resources for apm-dashboard-creator skill
- [ ] create_grafana_dashboard.py: Automates the creation of Grafana dashboards using the Grafana API.
- [ ] create_datadog_dashboard.py: Automates the creation of Datadog dashboards using the Datadog API.
- [ ] get_apm_metrics.py: Retrieves available APM metrics from various platforms (Grafana, Datadog, New Relic).
- [ ] validate_dashboard_config.py: Validates the dashboard configuration file for correctness and completeness.