|
2 | 2 |
|
3 | 3 | The MCP Server officially launched by the Application Performance Monitoring service can accurately convert natural language into observable analysis statements. It efficiently analyzes observable data including metrics, traces, and logs, helping you comprehensively ensure the entire lifecycle of your applications and improve the efficiency of troubleshooting and problem-solving. |
4 | 4 |
|
5 | | -| Version | v0.1.0 | |
6 | | -| :-: |:----------------:| |
| 5 | +| Version | v0.2.0 | |
| 6 | +| :-: |:-------------------------------------------------------------------------------------------------:| |
7 | 7 | | Description | The APMPlus MCP Server helps you comprehensively ensure the entire lifecycle of your applications | |
8 | | -| Category | Observability | |
9 | | -| Tags | Observability, Traces, Metrics, Logs, Performance Monitoring | |
| 8 | +| Category | Observability | |
| 9 | +| Tags | Observability, Traces, Metrics, Logs, Performance Monitoring | |
10 | 10 |
|
11 | 11 | ## Tools |
12 | 12 | This MCP Server product provides the following Tools (capabilities): |
13 | 13 | ### 1. apmplus_server_list_alert_rule |
14 | | -Query the alert rules for APMPlus - Server Monitoring in a specified region. |
| 14 | +Query the alert rules from APMPlus - Server Monitoring in a specified region. |
15 | 15 | - Parameters: |
16 | | - - `region_id`: [str] Region ID |
17 | | - - `keyword`: [str] Search keyword |
18 | | - - `page_number`: [int] Page number for pagination |
19 | | - - `page_size`: [int] Page size for pagination |
| 16 | + - `region`: [str, optional] Region ID. Defaults to cn-beijing. |
| 17 | + - `keyword`: [str, optional] Search keyword. Defaults to "". |
| 18 | + - `page_number`: [int, optional] Page number for pagination. Defaults to 1. |
| 19 | + - `page_size`: [int, optional] Page size for pagination. Defaults to 10. |
20 | 20 |
|
21 | 21 | ### 2. apmplus_server_list_notify_group |
22 | | -Query the notification group information for APMPlus - Server Monitoring in a specified region. |
| 22 | +Query the notification group information from APMPlus - Server Monitoring in a specified region. |
23 | 23 | - Parameters: |
24 | | - - `region_id`: [str] Region ID |
25 | | - - `keyword`: [str] Search keyword |
26 | | - - `page_number`: [int] Page number for pagination |
27 | | - - `page_size`: [int] Page size for pagination |
| 24 | + - `region`: [str, optional] Region ID. Defaults to cn-beijing. |
| 25 | + - `keyword`: [str, optional] Search keyword. Defaults to "". |
| 26 | + - `page_number`: [int, optional] Page number for pagination. Defaults to 1. |
| 27 | + - `page_size`: [int, optional] Page size for pagination. Defaults to 10. |
28 | 28 |
|
29 | 29 | ### 3. apmplus_server_query_metrics |
30 | | -Query the metrics for APMPlus - Server Monitoring in a specified region. |
| 30 | +Query the metrics from APMPlus - Server Monitoring in a specified region. |
31 | 31 | - Parameters: |
32 | | - - `region_id`: [str] Region ID |
| 32 | + - `region`: [str, optional] Region ID. Defaults to cn-beijing. |
33 | 33 | - `query`: [str] Metric expression, in PromQL format |
34 | 34 | - `start_time`: [int] Start time, in seconds |
35 | 35 | - `end_time`: [int] End time, in seconds |
36 | 36 |
|
| 37 | +### 4. apmplus_server_get_trace_detail |
| 38 | +Get trace detail information from APMPlus - Server Monitoring in a specified region. |
| 39 | +- Parameters: |
| 40 | + - `trace_id`: [str, optional] Trace ID. |
| 41 | + - `suggest_time`: [int, optional] Suggest time in seconds. |
| 42 | + - `region`: [str, optional] Region ID. Defaults to cn-beijing. |
| 43 | + |
| 44 | +### 5. apmplus_server_list_span |
| 45 | +Get a list of trace span from APMPlus - Server Monitoring in a specified region. |
| 46 | +- Parameters: |
| 47 | + - `start_time`: [int] Start time in seconds, example: 1693536000 |
| 48 | + - `end_time`: [int] End time in seconds, example: 1693546000 |
| 49 | + - `filters`: [list[dict], optional] Filter expression. |
| 50 | + Each dict contains: |
| 51 | + - 'Op' (str): in, not_in |
| 52 | + - 'Key' (str): Filter key |
| 53 | + - 'Values' (list[str]): Filter values |
| 54 | + - `order`: [str, optional] Order direction. Defaults to DESC. |
| 55 | + - `order_by`: [str, optional] Order by field. Defaults to "". |
| 56 | + - `offset`: [int, optional] Offset for pagination. Defaults to 0. |
| 57 | + - `limit`: [int, optional] Limit for pagination. Defaults to 10. |
| 58 | + - `min_call_cost_millisecond`: [int, optional] Minimum call cost in milliseconds. Defaults to 0. |
| 59 | + - `max_call_cost_millisecond`: [int, optional] Maximum call cost in milliseconds. Defaults to 0. |
| 60 | + - `project_name`: [str, optional] The project name. |
| 61 | + - `tag_filters`: [list[dict], optional] List of tag filters. Each dict contains: |
| 62 | + - 'Key' (str): Tag key |
| 63 | + - 'Value' (list[str]): Tag value |
| 64 | + Max 10 tag pairs. |
| 65 | + Empty value means no restriction on tag value. |
| 66 | + - `region`: [str, optional] Region ID. Defaults to cn-beijing. |
| 67 | + |
37 | 68 | ## Compatible Platforms |
38 | 69 | You can use cline, cursor, claude desktop, or other terminals that support MCP server calls. |
39 | 70 |
|
|
0 commit comments