percentile_source_target_metrics
Creates, updates, deletes, gets or lists a percentile_source_target_metrics
resource.
Overview
Name | percentile_source_target_metrics |
Type | Resource |
Id | azure.cosmos_db.percentile_source_target_metrics |
Fields
Name | Datatype | Description |
---|---|---|
name | object | A metric name. |
endTime | string | The end time for the metric (ISO-8601 format). |
metricValues | array | The percentile metric values for the specified time window and timestep. |
startTime | string | The start time for the metric (ISO-8601 format). |
timeGrain | string | The time grain to be used to summarize the metric values. |
unit | string | The unit of the metric. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | $filter, accountName, resourceGroupName, sourceRegion, subscriptionId, targetRegion | Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data |
SELECT
examples
Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data
SELECT
name,
endTime,
metricValues,
startTime,
timeGrain,
unit
FROM azure.cosmos_db.percentile_source_target_metrics
WHERE $filter = '{{ $filter }}'
AND accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sourceRegion = '{{ sourceRegion }}'
AND subscriptionId = '{{ subscriptionId }}'
AND targetRegion = '{{ targetRegion }}';