analyze_performance
Evaluate query performance and latency metrics for a specified query or time range using detailed statistics such as P50 and P99 to optimize database efficiency.
Instructions
Analyze query performance statistics for a given query or time range.
Args: query (str): Query string to filter (default: ""). time_range (str): Time range for analysis (default: '1:0', format: 'minutes:seconds').
Returns: Statistics about performance and latency (e.g., P50, P99).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | ||
time_range | No | 1:0 |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"time_range": {
"default": "1:0",
"title": "Time Range",
"type": "string"
}
},
"required": [
"query"
],
"title": "analyze_performanceArguments",
"type": "object"
}