client.databases.get_status_graphs_timeframe
A method of the Databases endpoint.
- get_status_graphs_timeframe(id: int, timeframe: str) Response
Get the status graphs for this database
API URL:
GET /databases/{id}/status_graphs/timeframe/{timeframe}import civis client = civis.APIClient() response = client.databases.get_status_graphs_timeframe(...)
- Parameters:
- idint
The ID of the database.
- timeframestr
The span of time that the graphs cover. Must be one of 1_hour, 4_hours, 1_day, 2_days, 1_week.
- Returns:
civis.Response- cpu_graph_urlstr
URL for the aws redshift cpu utliization graph.
- disk_graph_urlstr
URL for the aws redshift disk usage graph.
- queue_length_graph_urlstr
URL for the aws redshift queue length graph.
- status_graph_urlstr
URL for the aws redshift status graph.
- maintenance_graph_urlstr
URL for the aws redshift maintenance graph.
- query_duration_graph_urlstr
URL for the aws redshift table count graph.