client.clusters.get_kubernetes_instance_configs_historical_graphs
A method of the Clusters endpoint.
- get_kubernetes_instance_configs_historical_graphs(instance_config_id: int, *, timeframe: str = None) Response
Get graphs of historical resource usage in an Instance Config
API URL:
GET /clusters/kubernetes/instance_configs/{instance_config_id}/historical_graphsimport civis client = civis.APIClient() response = client.clusters.get_kubernetes_instance_configs_historical_graphs(...)
- Parameters:
- instance_config_idint
The ID of this instance config.
- timeframestr, optional
The span of time that the graphs cover. Must be one of 1_day, 1_week.
- Returns:
civis.Response- cpu_graph_urlstr
URL for the graph of historical CPU usage in this instance config.
- mem_graph_urlstr
URL for the graph of historical memory usage in this instance config.