You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/postgresflex/src/stackit/postgresflex/api/default_api.py
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4438,7 +4438,7 @@ def list_metrics(
4438
4438
metric: Annotated[
4439
4439
StrictStr,
4440
4440
Field(
4441
-
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'."
4441
+
description="The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'."
4442
4442
),
4443
4443
],
4444
4444
granularity: Annotated[StrictStr, Field(description="The granularity in ISO8601 e.g. 5 minutes are 'PT5M'.")],
@@ -4472,13 +4472,13 @@ def list_metrics(
4472
4472
) ->InstanceMetricsResponse:
4473
4473
"""Get Metric
4474
4474
4475
-
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.
4475
+
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.
4476
4476
4477
4477
:param project_id: The UUID of the project. (required)
4478
4478
:type project_id: str
4479
4479
:param instance_id: The UUID of the instance. (required)
4480
4480
:type instance_id: str
4481
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4481
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
4482
4482
:type metric: str
4483
4483
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
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.
4582
+
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.
4583
4583
4584
4584
:param project_id: The UUID of the project. (required)
4585
4585
:type project_id: str
4586
4586
:param instance_id: The UUID of the instance. (required)
4587
4587
:type instance_id: str
4588
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4588
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
4589
4589
:type metric: str
4590
4590
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
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.
4689
+
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.
4690
4690
4691
4691
:param project_id: The UUID of the project. (required)
4692
4692
:type project_id: str
4693
4693
:param instance_id: The UUID of the instance. (required)
4694
4694
:type instance_id: str
4695
-
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. (required)
4695
+
:param metric: The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. (required)
4696
4696
:type metric: str
4697
4697
:param granularity: The granularity in ISO8601 e.g. 5 minutes are 'PT5M'. (required)
0 commit comments