list-traces
Retrieve and filter traces from Google Cloud Trace by specifying project ID, time range, or status. Set a limit to control the number of results returned.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filter | No | Optional filter for traces (e.g., "status.code != 0" for errors) | |
limit | No | Maximum number of traces to return | |
projectId | No | Optional Google Cloud project ID | |
startTime | No | Start time in RFC3339 format (e.g., "2023-01-01T00:00:00Z") or relative time (e.g., "1h", "2d") |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filter": {
"description": "Optional filter for traces (e.g., \"status.code != 0\" for errors)",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of traces to return",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"projectId": {
"description": "Optional Google Cloud project ID",
"type": "string"
},
"startTime": {
"description": "Start time in RFC3339 format (e.g., \"2023-01-01T00:00:00Z\") or relative time (e.g., \"1h\", \"2d\")",
"type": "string"
}
},
"type": "object"
}