Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions scaleway-async/scaleway_async/rdb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,14 +1326,15 @@ async def get_instance_metrics(
metric_name: Optional[str] = None,
) -> InstanceMetrics:
"""
Get Database Instance metrics.
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`.
[deprecated] Get Database Instance metrics.
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.
:param instance_id: UUID of the Database Instance.
:param region: Region to target. If none is passed will use default region from the config.
:param start_date: Start date to gather metrics from.
:param end_date: End date to gather metrics from.
:param metric_name: Name of the metric to gather.
:return: :class:`InstanceMetrics <InstanceMetrics>`
:deprecated

Usage:
::
Expand Down
5 changes: 3 additions & 2 deletions scaleway/scaleway/rdb/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,14 +1322,15 @@ def get_instance_metrics(
metric_name: Optional[str] = None,
) -> InstanceMetrics:
"""
Get Database Instance metrics.
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`.
[deprecated] Get Database Instance metrics.
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.
:param instance_id: UUID of the Database Instance.
:param region: Region to target. If none is passed will use default region from the config.
:param start_date: Start date to gather metrics from.
:param end_date: End date to gather metrics from.
:param metric_name: Name of the metric to gather.
:return: :class:`InstanceMetrics <InstanceMetrics>`
:deprecated

Usage:
::
Expand Down