ClusterMetricsClustersMetrics¶
- pydantic model openapi_client.models.cluster_metrics_clusters_metrics.ClusterMetricsClustersMetrics¶
CloudWatch metrics for the lookback window. Always includes StartTime and EndTime, formatted as YYYY-MM-DD HH:MM:SS. Each metric value is a LabelAndDatapoints object (Label plus Datapoints with Timestamp, Average, and Unit). Note the datapoint Timestamp values are ISO-8601, unlike the space-separated StartTime/EndTime. Which metric names appear depends on the clustertype. The properties listed below are the Redshift (dwh) metrics. For os the metric names are JVMMemoryPressure, Nodes, CPUUtilization, ClusterStatus.green, ClusterStatus.yellow, ClusterStatus.red, 4xx, 5xx, SearchRate and SearchableDocuments; these are permitted by additionalProperties rather than being listed individually.
- Fields:
cpu_utilization (openapi_client.models.label_and_datapoints.LabelAndDatapoints | None)database_connections (openapi_client.models.label_and_datapoints.LabelAndDatapoints | None)health_status (openapi_client.models.label_and_datapoints.LabelAndDatapoints | None)network_receive_throughput (openapi_client.models.label_and_datapoints.LabelAndDatapoints | None)percentage_disk_space_used (openapi_client.models.label_and_datapoints.LabelAndDatapoints | None)
- field start_time: Optional[StrictStr] = None (alias 'StartTime')¶
- field end_time: Optional[StrictStr] = None (alias 'EndTime')¶
- field cpu_utilization: Optional[LabelAndDatapoints] = None (alias 'CPUUtilization')¶
- field database_connections: Optional[LabelAndDatapoints] = None (alias 'DatabaseConnections')¶
- field health_status: Optional[LabelAndDatapoints] = None (alias 'HealthStatus')¶
- field percentage_disk_space_used: Optional[LabelAndDatapoints] = None (alias 'PercentageDiskSpaceUsed')¶
- field network_receive_throughput: Optional[LabelAndDatapoints] = None (alias 'NetworkReceiveThroughput')¶
- field additional_properties: Dict[str, Any] = {}¶
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of ClusterMetricsClustersMetrics from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
Fields in self.additional_properties are added to the output dict.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of ClusterMetricsClustersMetrics from a dict
- Return type:
Optional[Self]