Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4438,7 +4438,7 @@ def list_metrics(
metric: Annotated[
StrictStr,
Field(
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
),
],
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
Expand Down Expand Up @@ -4472,13 +4472,13 @@ def list_metrics(
) -> InstanceMetricsResponse:
"""Get Metric

Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.

:param project_id: The UUID of the project. (required)
:type project_id: str
:param instance_id: The UUID of the instance. (required)
:type instance_id: str
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
:type metric: str
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
:type granularity: str
Expand Down Expand Up @@ -4545,7 +4545,7 @@ def list_metrics_with_http_info(
metric: Annotated[
StrictStr,
Field(
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
),
],
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
Expand Down Expand Up @@ -4579,13 +4579,13 @@ def list_metrics_with_http_info(
) -> ApiResponse[InstanceMetricsResponse]:
"""Get Metric

Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.

:param project_id: The UUID of the project. (required)
:type project_id: str
:param instance_id: The UUID of the instance. (required)
:type instance_id: str
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
:type metric: str
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
:type granularity: str
Expand Down Expand Up @@ -4652,7 +4652,7 @@ def list_metrics_without_preload_content(
metric: Annotated[
StrictStr,
Field(
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
),
],
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
Expand Down Expand Up @@ -4686,13 +4686,13 @@ def list_metrics_without_preload_content(
) -> RESTResponseType:
"""Get Metric

Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in max-connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.
Returns a metric for an instance. The metric will only be for the master pod if needed. Granularity parameter is always needed. If start and end time is provided, period is not considered in connections and disk-use. If you provide start time, you have to provide end time as well and vice versa.

:param project_id: The UUID of the project. (required)
:type project_id: str
:param instance_id: The UUID of the instance. (required)
:type instance_id: str
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
:type metric: str
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
:type granularity: str
Expand Down
Loading