get_endpoint_metrics
Retrieve performance metrics like response time or throughput for specific application endpoints within a defined time period to monitor and analyze endpoint behavior.
Instructions
Get a single timeseries metric for a specific endpoint in an application.
Args:
app_id (int): The ID of the Scout APM application.
endpoint (str): The endpoint path (e.g., "/users", "/orders").
metric (str): The metric to retrieve (e.g., "response_time", "throughput").
from_ (str): The start datetime in ISO 8601 format.
to (str): The end datetime in ISO 8601 format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
app_id | Yes | ||
endpoint | Yes | ||
from_ | Yes | ||
metric | Yes | ||
to | Yes |
Input Schema (JSON Schema)
{
"properties": {
"app_id": {
"title": "App Id",
"type": "integer"
},
"endpoint": {
"title": "Endpoint",
"type": "string"
},
"from_": {
"title": "From",
"type": "string"
},
"metric": {
"title": "Metric",
"type": "string"
},
"to": {
"title": "To",
"type": "string"
}
},
"required": [
"app_id",
"endpoint",
"metric",
"from_",
"to"
],
"type": "object"
}