-
Notifications
You must be signed in to change notification settings - Fork 97
RDFE Metric Apis
Suwat Ch edited this page Mar 25, 2015
·
1 revision
- Listing all metric definitions
ARMClient.exe get "/{sub}/services/webspaces/{ws}/serverFarms/{serverFarm}/metricDefinitions"
ARMClient.exe get "/{sub}/services/webspaces/{ws}/sites/{site}/metricDefinitions"
- Listing current metric
ARMClient.exe get "/{sub}/services/webspaces/{ws}/serverFarms/{serverFarm}/metrics?api-version=2015-01-01"
ARMClient.exe get "/{sub}/services/webspaces/{ws}/sites/{site}/metrics?api-version=2015-01-01"
Optional Query Strings:
- `names=BytesReceived&names=...` to get only certain values (available names from metricDefinitions)
- `Details=True` to get per instance
- `TimeGrain=PT1H` to get at 1hr time interval (others are `PT1M`, `P1D`)
- `TimeRange=PT1H` define max range
- `StartTime=2015-03-25T15:00:00Z` start from this UTC time
- `EndTime=2015-03-25T16:00:00Z` end at this UTC time