Tracking Application Response Times
by BbgnsurfTech
Track and optimize application response times across API endpoints, database queries, and service calls. Use when monitoring performance or identifying bottlenecks. Trigger with phrases like "track response times", "monitor API performance", or "analyze latency".
Skill Details
Repository Files
7 files in this skill directory
name: tracking-application-response-times description: Track and optimize application response times across API endpoints, database queries, and service calls. Use when monitoring performance or identifying bottlenecks. Trigger with phrases like "track response times", "monitor API performance", or "analyze latency". version: 1.0.0 allowed-tools:
- Read
- Write
- Edit
- Grep
- Glob
- Bash(monitoring:*)
- Bash(metrics:*) license: MIT
Overview
This skill empowers Claude to proactively monitor and improve application performance by tracking response times across various layers. It provides detailed metrics and insights to identify and resolve performance bottlenecks.
How It Works
- Initiate Tracking: The user requests response time tracking.
- Configure Monitoring: The plugin automatically begins monitoring API endpoints, database queries, external service calls, frontend rendering, and background jobs.
- Report Metrics: The plugin generates reports including P50, P95, P99 percentiles, average, and maximum response times.
When to Use This Skill
This skill activates when you need to:
- Identify performance bottlenecks in your application.
- Monitor service level objectives (SLOs) related to response times.
- Receive alerts about performance degradation.
Examples
Example 1: Diagnosing Slow API Endpoint
User request: "Track response times for the user authentication API endpoint."
The skill will:
- Activate the response-time-tracker plugin.
- Monitor the specified API endpoint and report response time metrics, highlighting potential bottlenecks.
Example 2: Monitoring Database Query Performance
User request: "Monitor database query performance for the product catalog."
The skill will:
- Activate the response-time-tracker plugin.
- Track the execution time of database queries related to the product catalog and provide performance insights.
Best Practices
- Granularity: Track response times at a granular level (e.g., individual API endpoints, specific database queries) for more precise insights.
- Alerting: Configure alerts for significant deviations from baseline performance to proactively address potential issues.
- Contextualization: Correlate response time data with other metrics (e.g., CPU usage, memory consumption) to identify root causes.
Integration
This skill can be integrated with other monitoring and alerting tools to provide a comprehensive view of application performance. It can also be used in conjunction with optimization tools to automatically address identified bottlenecks.
Prerequisites
- Access to application monitoring infrastructure
- Response time data collection in {baseDir}/metrics/response-times/
- APM tools or custom instrumentation
- Performance SLO definitions
Instructions
- Configure monitoring for API endpoints and database queries
- Collect response time metrics (P50, P95, P99 percentiles)
- Analyze trends and identify performance degradation
- Compare against performance baselines and SLOs
- Identify bottlenecks and root causes
- Generate optimization recommendations
Output
- Response time reports with percentile metrics
- Performance trend visualizations
- Bottleneck identification analysis
- SLO compliance status
- Optimization recommendations with priorities
Error Handling
If response time tracking fails:
- Verify monitoring agent installation
- Check instrumentation configuration
- Validate metric export endpoints
- Ensure data storage availability
- Review sampling configuration
Resources
- APM tool documentation
- Response time monitoring best practices
- Percentile-based SLO definitions
- Performance optimization guides
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
Xlsx
Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.
