clusters_list_kubernetes_instance_configs_historical_metrics: Get graphs of historical resource usage in an Instance Config

View source: R/generated_client.R

clusters_list_kubernetes_instance_configs_historical_metricsR Documentation

Get graphs of historical resource usage in an Instance Config

Description

Get graphs of historical resource usage in an Instance Config

Usage

clusters_list_kubernetes_instance_configs_historical_metrics(
  instance_config_id,
  timeframe = NULL,
  metric = NULL
)

Arguments

instance_config_id

integer required. The ID of this instance config.

timeframe

string optional. The span of time that the graphs cover. Must be one of 1_day, 1_week.

metric

string optional. The metric to retrieve. Must be one of cpu, memory.

Value

A list containing the following elements:

instanceConfigId

integer, The ID of this instance config.

metric

string, URL for the graph of historical CPU usage in this instance config.

timeframe

string, The span of time that the graphs cover. Must be one of 1_day, 1_week.

unit

string, The unit of the values.

metrics

list, A list containing the following elements:

  • used list . A list containing the following elements:

    • times array, The times associated with data points, in seconds since epoch.

    • values array, The values of the data points.

  • requested list . A list containing the following elements:

    • times array, The times associated with data points, in seconds since epoch.

    • values array, The values of the data points.

  • capacity list . A list containing the following elements:

    • times array, The times associated with data points, in seconds since epoch.

    • values array, The values of the data points.


civis documentation built on Aug. 30, 2025, 1:08 a.m.