Skip to main content

adds_service_metrics

Creates, updates, deletes, gets or lists an adds_service_metrics resource.

Overview

Nameadds_service_metrics
TypeResource
Idazure.ad_hybrid_health_service.adds_service_metrics

Fields

The following fields are returned by SELECT queries:

The metric sets for the service.

NameDatatypeDescription
setsarrayThe list of metric set.
timeStampsarrayThe list of timestamps for each metric in the metric set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectserviceName, metricName, groupNamegroupKey, fromDate, toDateGets the server related metrics for a given metric and group combination.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
groupNamestringThe group name
metricNamestringThe metric name
serviceNamestringThe name of the service.
fromDatestring (date-time)The start date.
groupKeystringThe group key
toDatestring (date-time)The end date.

SELECT examples

Gets the server related metrics for a given metric and group combination.

SELECT
sets,
timeStamps
FROM azure.ad_hybrid_health_service.adds_service_metrics
WHERE serviceName = '{{ serviceName }}' -- required
AND metricName = '{{ metricName }}' -- required
AND groupName = '{{ groupName }}' -- required
AND groupKey = '{{ groupKey }}'
AND fromDate = '{{ fromDate }}'
AND toDate = '{{ toDate }}'
;