Collect comprehensive infrastructure performance metrics across compute, storage, network, containers, load balancers, and databases. Use when monitoring system performance or troubleshooting infrastructure issues. Trigger with phrases like "collect infrastructure metrics", "monitor server performance", or "track system resources".
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: collecting-infrastructure-metrics description: Collect comprehensive infrastructure performance metrics across compute, storage, network, containers, load balancers, and databases. Use when monitoring system performance or troubleshooting infrastructure issues. Trigger with phrases like "collect infrastructure metrics", "monitor server performance", or "track system resources". version: 1.0.0 allowed-tools: "Read, Write, Edit, Grep, Glob, Bash(metrics:), Bash(monitoring:), Bash(system:*)" license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
Infrastructure Metrics Collector
This skill provides automated assistance for infrastructure metrics collector tasks.
Overview
This skill automates the process of setting up infrastructure metrics collection. It identifies key performance indicators (KPIs) across various infrastructure layers, configures agents to collect these metrics, and assists in setting up central aggregation and visualization.
How It Works
- Identify Infrastructure Layers: Determines the infrastructure layers to monitor (compute, storage, network, containers, load balancers, databases).
- Configure Metrics Collection: Sets up agents (Prometheus, Datadog, CloudWatch) to collect metrics from the identified layers.
- Aggregate Metrics: Configures central aggregation of the collected metrics for analysis and visualization.
- Create Dashboards: Generates infrastructure dashboards for health monitoring, performance analysis, and capacity tracking.
When to Use This Skill
This skill activates when you need to:
- Monitor the performance of your infrastructure.
- Identify bottlenecks in your system.
- Set up dashboards for real-time monitoring.
Examples
Example 1: Setting up basic monitoring
User request: "Collect infrastructure metrics for my web server."
The skill will:
- Identify compute, storage, and network layers relevant to the web server.
- Configure Prometheus to collect CPU, memory, disk I/O, and network bandwidth metrics.
Example 2: Troubleshooting database performance
User request: "I'm seeing slow database queries. Can you help me monitor the database performance?"
The skill will:
- Identify the database layer and relevant metrics such as connection pool usage, replication lag, and cache hit rates.
- Configure Datadog to collect these metrics and create a dashboard to visualize performance trends.
Best Practices
- Agent Selection: Choose the appropriate agent (Prometheus, Datadog, CloudWatch) based on your existing infrastructure and monitoring tools.
- Metric Granularity: Balance the granularity of metrics collection with the storage and processing overhead. Collect only the essential metrics for your use case.
- Alerting: Configure alerts based on thresholds for key metrics to proactively identify and address performance issues.
Integration
This skill can be integrated with other plugins for deployment, configuration management, and alerting to provide a comprehensive infrastructure management solution. For example, it can be used with a deployment plugin to automatically configure metrics collection after deploying new infrastructure.
Prerequisites
- Access to infrastructure monitoring systems (Prometheus, Datadog, CloudWatch)
- System permissions for metrics agent installation
- Network access to monitored infrastructure components
- Storage for metrics data in {baseDir}/metrics/
Instructions
- Identify infrastructure layers to monitor (compute, storage, network, databases)
- Select appropriate metrics collection agent based on environment
- Configure agent with target endpoints and metric types
- Set up central aggregation for collected metrics
- Create dashboards for visualization
- Configure alerts for critical metrics thresholds
Output
- Metrics collection configuration files
- Agent installation and setup scripts
- Dashboard definitions for infrastructure monitoring
- Metric export configurations
- Alert rules for critical thresholds
Error Handling
If metrics collection fails:
- Verify agent installation and permissions
- Check network connectivity to targets
- Validate authentication credentials
- Review firewall and security group rules
- Confirm metric endpoint availability
Resources
- Prometheus documentation for metric collection
- Datadog agent configuration guides
- AWS CloudWatch metrics reference
- Infrastructure monitoring best practices
More by jeremylongshore
View allOauth Callback Handler - Auto-activating skill for API Integration. Triggers on: oauth callback handler, oauth callback handler Part of the API Integration skill category.
Rabbitmq Queue Setup - Auto-activating skill for Backend Development. Triggers on: rabbitmq queue setup, rabbitmq queue setup Part of the Backend Development skill category.
evaluating-machine-learning-models: This skill allows Claude to evaluate machine learning models using a comprehensive suite of metrics. It should be used when the user requests model performance analysis, validation, or testing. Claude can use this skill to assess model accuracy, precision, recall, F1-score, and other relevant metrics. Trigger this skill when the user mentions "evaluate model", "model performance", "testing metrics", "validation results", or requests a comprehensive "model evaluation".
building-neural-networks: This skill allows Claude to construct and configure neural network architectures using the neural-network-builder plugin. It should be used when the user requests the creation of a new neural network, modification of an existing one, or assistance with defining the layers, parameters, and training process. The skill is triggered by requests involving terms like "build a neural network," "define network architecture," "configure layers," or specific mentions of neural network types (e.g., "CNN," "RNN," "transformer").
