get-apm-metrics
Retrieve APM performance metrics including response time, throughput, error rate, and Apdex to monitor and troubleshoot application health.
Instructions
Get APM performance metrics for applications including response time, throughput, error rate, and Apdex. This provides a comprehensive overview of application performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appName | No | Application name to filter metrics (optional) | |
| timeRange | No | Time range (e.g., "1 HOUR AGO", "30 MINUTES AGO", "1 DAY AGO") | 1 HOUR AGO |
| metrics | No | Metrics to retrieve |
Implementation Reference
- src/index.ts:144-172 (registration)Tool registration in ListToolsRequestSchema handler - defines the tool name, description, and input schema
{ name: 'get-apm-metrics', description: 'Get APM performance metrics for applications including response time, throughput, error rate, and Apdex. ' + 'This provides a comprehensive overview of application performance.', inputSchema: { type: 'object', properties: { appName: { type: 'string', description: 'Application name to filter metrics (optional)', }, timeRange: { type: 'string', description: 'Time range (e.g., "1 HOUR AGO", "30 MINUTES AGO", "1 DAY AGO")', default: '1 HOUR AGO', }, metrics: { type: 'array', items: { type: 'string', enum: ['responseTime', 'throughput', 'errorRate', 'apdex'], }, description: 'Metrics to retrieve', default: ['responseTime', 'throughput', 'errorRate'], }, }, }, },