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
Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
1329
+
[deprecated] Get Database Instance metrics.
1330
+
Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. This method is deprecated and will be removed in a future version.
1331
1331
:param instance_id: UUID of the Database Instance.
1332
1332
:param region: Region to target. If none is passed will use default region from the config.
1333
1333
:param start_date: Start date to gather metrics from.
Copy file name to clipboardExpand all lines: scaleway/scaleway/rdb/v1/api.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1322,14 +1322,15 @@ def get_instance_metrics(
1322
1322
metric_name: Optional[str] =None,
1323
1323
) ->InstanceMetrics:
1324
1324
"""
1325
-
Get Database Instance metrics.
1326
-
Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
1325
+
[deprecated] Get Database Instance metrics.
1326
+
Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`. This method is deprecated and will be removed in a future version.
1327
1327
:param instance_id: UUID of the Database Instance.
1328
1328
:param region: Region to target. If none is passed will use default region from the config.
1329
1329
:param start_date: Start date to gather metrics from.
0 commit comments