Skip to main content

percentile_source_target_metrics

Creates, updates, deletes, gets or lists a percentile_source_target_metrics resource.

Overview

Namepercentile_source_target_metrics
TypeResource
Idazure.cosmos_db.percentile_source_target_metrics

Fields

NameDatatypeDescription
nameobjectA metric name.
endTimestringThe end time for the metric (ISO-8601 format).
metricValuesarrayThe percentile metric values for the specified time window and timestep.
startTimestringThe start time for the metric (ISO-8601 format).
timeGrainstringThe time grain to be used to summarize the metric values.
unitstringThe unit of the metric.

Methods

NameAccessible byRequired ParamsDescription
listSELECT$filter, accountName, resourceGroupName, sourceRegion, subscriptionId, targetRegionRetrieves 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 }}';