client.clusters.list_kubernetes_instance_configs_historical_graphs

A method of the Clusters endpoint.

list_kubernetes_instance_configs_historical_graphs(instance_config_id: int, *, timeframe: str = None) ListResponse

Get graphs of historical resource usage in an Instance Config

API URL: GET /clusters/kubernetes/instance_configs/{instance_config_id}/historical_graphs

import civis
client = civis.APIClient()
response = client.clusters.list_kubernetes_instance_configs_historical_graphs(...)

Warning

The method name <client>.clusters.list_kubernetes_instance_configs_historical_graphs is deprecated and will be removed at civis-python v3.0.0 (scheduled for February 2027). Please switch to <client>.clusters.get_kubernetes_instance_configs_historical_graphs for the same method.

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.