spanner-query-count
Count queries in Google Cloud Spanner by instance, database, type, and status within a specified time range. Aggregate results for detailed analysis and monitoring.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignmentPeriod | No | Alignment period for aggregating data points (e.g., "60s", "5m", "1h") | 60s |
| databaseId | No | Spanner database ID (optional, if not provided will show all databases) | |
| endTime | No | End time for the query (defaults to now) | |
| instanceId | No | Spanner instance ID (optional, if not provided will show all instances) | |
| queryType | No | Type of queries to count (ALL, READ, QUERY) | ALL |
| startTime | No | Start time for the query (e.g., "1h", "2d", "30m") | 1h |
| status | No | Status of queries to count (ALL, OK, ERROR) | ALL |