Response Time Tracker
Track and analyze response times across API endpoints, database queries, and service calls with P50/P95/P99 percentile reporting and SLO compliance monitoring.
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 ${CLAUDE_SKILL_DIR}/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
1---
2name: tracking-application-response-times
3description: 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".
4version: 1.0.0
5allowed-tools: "Read, Write, Edit, Grep, Glob, Bash(monitoring:*), Bash(metrics:*)"
6license: MIT
7author: Jeremy Longshore <jeremy@intentsolutions.io>
8compatible-with: claude-code, codex, openclaw
9metadata:
10 source: https://skillmd.com/skills/micsapp/tracking-application-response-times
11---
12
13# Response Time Tracker
14
15Track and analyze response times across API endpoints, database queries, and service calls with P50/P95/P99 percentile reporting and SLO compliance monitoring.
16
17## Overview
18
19This 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.
20
21## How It Works
22
231. **Initiate Tracking**: The user requests response time tracking.
242. **Configure Monitoring**: The plugin automatically begins monitoring API endpoints, database queries, external service calls, frontend rendering, and background jobs.
253. **Report Metrics**: The plugin generates reports including P50, P95, P99 percentiles, average, and maximum response times.
26
27## When to Use This Skill
28
29This skill activates when you need to:
30- Identify performance bottlenecks in your application.
31- Monitor service level objectives (SLOs) related to response times.
32- Receive alerts about performance degradation.
33
34## Examples
35
36### Example 1: Diagnosing Slow API Endpoint
37
38User request: "Track response times for the user authentication API endpoint."
39
40The skill will:
411. Activate the response-time-tracker plugin.
422. Monitor the specified API endpoint and report response time metrics, highlighting potential bottlenecks.
43
44### Example 2: Monitoring Database Query Performance
45
46User request: "Monitor database query performance for the product catalog."
47
48The skill will:
491. Activate the response-time-tracker plugin.
502. Track the execution time of database queries related to the product catalog and provide performance insights.
51
52## Best Practices
53
54- **Granularity**: Track response times at a granular level (e.g., individual API endpoints, specific database queries) for more precise insights.
55- **Alerting**: Configure alerts for significant deviations from baseline performance to proactively address potential issues.
56- **Contextualization**: Correlate response time data with other metrics (e.g., CPU usage, memory consumption) to identify root causes.
57
58## Integration
59
60This 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.
61
62## Prerequisites
63
64- Access to application monitoring infrastructure
65- Response time data collection in ${CLAUDE_SKILL_DIR}/metrics/response-times/
66- APM tools or custom instrumentation
67- Performance SLO definitions
68
69## Instructions
70
711. Configure monitoring for API endpoints and database queries
722. Collect response time metrics (P50, P95, P99 percentiles)
733. Analyze trends and identify performance degradation
744. Compare against performance baselines and SLOs
755. Identify bottlenecks and root causes
766. Generate optimization recommendations
77
78## Output
79
80- Response time reports with percentile metrics
81- Performance trend visualizations
82- Bottleneck identification analysis
83- SLO compliance status
84- Optimization recommendations with priorities
85
86## Error Handling
87
88If response time tracking fails:
89- Verify monitoring agent installation
90- Check instrumentation configuration
91- Validate metric export endpoints
92- Ensure data storage availability
93- Review sampling configuration
94
95## Resources
96
97- APM tool documentation
98- Response time monitoring best practices
99- Percentile-based SLO definitions
100- Performance optimization guides