diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json index 07251092bf57..5d03e5a4e1b8 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json @@ -1,31 +1,75 @@ { "parameters": { - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "resourceUri": "d69f0a10-6508-4026-98b0-eff8f6faaade/resourceGroups/quickpulse-int/providers/Microsoft.Storage/storageAccounts/quickpulseintusscdiag/blobServices/default", + "timespan": "2021-04-16T01:00:00.000Z/2021-04-17T02:00:00.000Z", "metric": "BlobCapacity", "$filter": "BlobType eq '*'", "top": "3", - "orderby": "Average asc", - "aggregation": "Average,count", - "interval": "PT1M", + "orderby": "Average desc", + "aggregation": "average,minimum,maximum", + "interval": "PT6H", "api-version": "2017-05-01-preview" }, "responses": { "200": { "body": { - "cost": 0, - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "interval": "PT1M", + "cost": 1499, + "timespan": "2021-04-16T01:00:00Z/2021-04-17T02:00:00Z", + "interval": "PT6H", "value": [ { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "id": "/subscriptions/d69f0a10-6508-4026-98b0-eff8f6faaade/resourceGroups/quickpulse-int/providers/Microsoft.Storage/storageAccounts/quickpulseintusscdiag/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", "type": "Microsoft.Insights/metrics", "name": { "value": "BlobCapacity", "localizedValue": "Blob Capacity" }, + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", "unit": "Bytes", "timeseries": [ + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "BlockBlob" + } + ], + "data": [ + { + "timeStamp": "2021-04-16T01:00:00Z", + "average": 35492299169.0, + "minimum": 35492299169.0, + "maximum": 35492299169.0 + }, + { + "timeStamp": "2021-04-16T07:00:00Z", + "average": 35492299169.0, + "minimum": 35492299169.0, + "maximum": 35492299169.0 + }, + { + "timeStamp": "2021-04-16T13:00:00Z", + "average": 35492299169.0, + "minimum": 35492299169.0, + "maximum": 35492299169.0 + }, + { + "timeStamp": "2021-04-16T19:00:00Z", + "average": 35492299169.0, + "minimum": 35492299169.0, + "maximum": 35492299169.0 + }, + { + "timeStamp": "2021-04-17T01:00:00Z", + "average": 35492299169.0, + "minimum": 35492299169.0, + "maximum": 35492299169.0 + } + ] + }, { "metadatavalues": [ { @@ -38,21 +82,34 @@ ], "data": [ { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T01:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 + }, + { + "timeStamp": "2021-04-16T07:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T13:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T19:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 0.0 + "timeStamp": "2021-04-17T01:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 } ] }, @@ -63,30 +120,44 @@ "value": "blobtype", "localizedValue": "blobtype" }, - "value": "BlockBlob" + "value": "Azure Data Lake Storage" } ], "data": [ { - "timeStamp": "2017-04-14T02:20:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T01:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 + }, + { + "timeStamp": "2021-04-16T07:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:21:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T13:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:22:00Z", - "count": 0.0 + "timeStamp": "2021-04-16T19:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 }, { - "timeStamp": "2017-04-14T02:23:00Z", - "count": 1.0, - "average": 245.0 + "timeStamp": "2021-04-17T01:00:00Z", + "average": 0.0, + "minimum": 0.0, + "maximum": 0.0 } ] } - ] + ], + "errorCode": "Success" } ] } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json index 23a9ca8877b0..a8e2e3e55a4d 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json @@ -1,29 +1,27 @@ { "parameters": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", - "metric": "BlobCapacity", + "timespan": "2021-04-18T22:14:26.647Z/2021-04-19T22:14:26.647Z", + "metric": "BlobCount", "$filter": "BlobType eq '*'", - "top": "3", - "orderby": "Average asc", - "aggregation": "Average,count", - "interval": "PT1M", "resulttype": "metadata", - "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default", + "resourceUri": "subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default", "api-version": "2017-05-01-preview" }, "responses": { "200": { "body": { - "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z", + "timespan": "2021-04-18T22:14:26Z/2021-04-19T22:14:26Z", + "interval": "PT1H", "value": [ { - "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", + "id": "/subscriptions/1f3fa6d2-851c-4a91-9087-1a050f3a9c38/resourceGroups/todking/providers/Microsoft.Storage/storageAccounts/tkfileserv/blobServices/default/providers/Microsoft.Insights/metrics/BlobCount", "type": "Microsoft.Insights/metrics", "name": { - "value": "BlobCapacity", - "localizedValue": "Blob Capacity" + "value": "BlobCount", + "localizedValue": "Blob Count" }, - "unit": "Bytes", + "displayDescription": "The number of blob objects stored in the storage account.", + "unit": "Count", "timeseries": [ { "metadatavalues": [ @@ -46,6 +44,17 @@ "value": "PageBlob" } ] + }, + { + "metadatavalues": [ + { + "name": { + "value": "blobtype", + "localizedValue": "blobtype" + }, + "value": "Azure Data Lake Storage" + } + ] } ] } diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json index 194c1df1b31b..8d4f67a2b7a1 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json @@ -197,7 +197,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -207,7 +207,11 @@ "Percent", "MilliSeconds", "ByteSeconds", - "Unspecified" + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", @@ -228,6 +232,14 @@ "$ref": "#/definitions/LocalizableString", "description": "the name and the display name of the metric, i.e. it is a localizable string." }, + "displayDescription": { + "type": "string", + "description": "Detailed description of this metric." + }, + "category": { + "type": "string", + "description": "Custom category name for this metric." + }, "unit": { "$ref": "#/definitions/Unit", "description": "the unit of the metric." diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json index c999f80fc92a..d6bd126f6e6f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json @@ -104,6 +104,7 @@ "value": "CpuTime", "localizedValue": "CPU Time" }, + "displayDescription": "CPU Time", "unit": "Seconds", "timeseries": [ { @@ -177,7 +178,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -187,7 +188,11 @@ "Percent", "MilliSeconds", "ByteSeconds", - "Unspecified" + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", @@ -266,7 +271,7 @@ "type": "number", "format": "int32", "minimum": 0, - "description": "The integer value representing the cost of the query, for data case." + "description": "The integer value representing the relative cost of the query." }, "timespan": { "type": "string", @@ -306,6 +311,14 @@ "$ref": "#/definitions/LocalizableString", "description": "the name and the display name of the metric, i.e. it is localizable string." }, + "displayDescription": { + "type": "string", + "description": "Detailed description of this metric." + }, + "errorCode": { + "type": "string", + "description": "'Success' or the error details on query failures for this metric." + }, "unit": { "$ref": "#/definitions/Unit", "description": "the unit of the metric." @@ -322,6 +335,7 @@ "id", "type", "name", + "displayDescription", "unit", "timeseries" ], diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json index 1eff5dfacb69..41cc86eb5b2a 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json @@ -1,7 +1,7 @@ { "parameters": { - "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb", - "startTime": "2018-08-31T15:53:00Z", + "resourceUri": "subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "startTime": "2020-08-31T15:53:00Z", "api-version": "2017-12-01-preview" }, "responses": { @@ -9,11 +9,21 @@ "body": { "value": [ { - "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts", - "name": "Microsoft.DocumentDB-databaseAccounts", + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricNamespaces/Azure.ApplicationInsights", + "name": "Azure.ApplicationInsights", "type": "Microsoft.Insights/metricNamespaces", + "classification": "Custom", "properties": { - "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts" + "metricNamespaceName": "Azure.ApplicationInsights" + } + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricNamespaces/microsoft.insights-components", + "name": "microsoft.insights-components", + "type": "Microsoft.Insights/metricNamespaces", + "classification": "Platform", + "properties": { + "metricNamespaceName": "microsoft.insights/components" } } ] diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json index 7003d55c5a8c..37567b416cb7 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json @@ -89,12 +89,25 @@ }, "description": "The fully qualified metric namespace name." }, + "NamespaceClassification": { + "type": "string", + "description": "Kind of namespace", + "enum": [ + "Platform", + "Custom", + "Qos" + ], + "x-ms-enum": { + "name": "NamespaceClassification", + "modelAsString": false + } + }, "MetricNamespace": { "type": "object", "properties": { "id": { "type": "string", - "description": "The ID of the metricNamespace." + "description": "The ID of the metric namespace." }, "type": { "type": "string", @@ -102,7 +115,11 @@ }, "name": { "type": "string", - "description": "The name of the namespace." + "description": "The escaped name of the namespace." + }, + "classification": { + "$ref": "#/definitions/NamespaceClassification", + "description": "Kind of namespace" }, "properties": { "$ref": "#/definitions/MetricNamespaceName", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json index 68fd82a7aa48..1de0da4671d3 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "api-version": "2016-03-01", "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" }, diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json index 3362cc71a05a..0cd1e47e978f 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "api-version": "2016-03-01", "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192", "$filter": "name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded'" diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json index 8e4c1992551a..a559365e72c6 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json @@ -184,7 +184,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -192,7 +192,13 @@ "CountPerSecond", "BytesPerSecond", "Percent", - "MilliSeconds" + "MilliSeconds", + "ByteSeconds", + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json index fdc5de9cf6d7..51ba066bada4 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json @@ -1,6 +1,6 @@ { "parameters": { - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "api-version": "2016-09-01", "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" }, diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json index df50abd401b4..cf8e3dfe0575 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json @@ -1,7 +1,7 @@ { "parameters": { "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'", - "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "resourceUri": "subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", "api-version": "2016-09-01", "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" }, diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json index ea2dcd0237b1..e3de26a122ef 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json @@ -156,7 +156,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -164,7 +164,13 @@ "CountPerSecond", "BytesPerSecond", "Percent", - "MilliSeconds" + "MilliSeconds", + "ByteSeconds", + "Unspecified", + "Cores", + "MilliCores", + "NanoCores", + "BitsPerSecond" ], "x-ms-enum": { "name": "Unit", diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json index 4f9b0f06a527..365713fa1277 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json @@ -23,6 +23,7 @@ { "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity", "type": "Microsoft.Insights/metrics", + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", "name": { "value": "BlobCapacity", "localizedValue": "Blob Capacity" diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitionsApplicationInsights.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitionsApplicationInsights.json new file mode 100644 index 000000000000..d35d416122eb --- /dev/null +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitionsApplicationInsights.json @@ -0,0 +1,1939 @@ +{ + "parameters": { + "resourceUri": "subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions", + "api-version": "2018-01-01", + "metricnamespace": "microsoft.insights/components" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/availabilityPercentage", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Availability", + "name": { + "value": "availabilityResults/availabilityPercentage", + "localizedValue": "Availability" + }, + "displayDescription": "Percentage of successfully completed availability tests", + "isDimensionRequired": false, + "unit": "Percent", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "availabilityResult/name", + "localizedValue": "Test name" + }, + { + "value": "availabilityResult/location", + "localizedValue": "Run location" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Availability", + "name": { + "value": "availabilityResults/count", + "localizedValue": "Availability tests" + }, + "displayDescription": "Count of availability tests", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "availabilityResult/name", + "localizedValue": "Test name" + }, + { + "value": "availabilityResult/location", + "localizedValue": "Run location" + }, + { + "value": "availabilityResult/success", + "localizedValue": "Test result" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/availabilityResults/duration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Availability", + "name": { + "value": "availabilityResults/duration", + "localizedValue": "Availability test duration" + }, + "displayDescription": "Availability test duration", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "availabilityResult/name", + "localizedValue": "Test name" + }, + { + "value": "availabilityResult/location", + "localizedValue": "Run location" + }, + { + "value": "availabilityResult/success", + "localizedValue": "Test result" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/networkDuration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Browser", + "name": { + "value": "browserTimings/networkDuration", + "localizedValue": "Page load network connect time" + }, + "displayDescription": "Time between user request and network connection. Includes DNS lookup and transport connection.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/processingDuration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Browser", + "name": { + "value": "browserTimings/processingDuration", + "localizedValue": "Client processing time" + }, + "displayDescription": "Time between receiving the last byte of a document until the DOM is loaded. Async requests may still be processing.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/receiveDuration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Browser", + "name": { + "value": "browserTimings/receiveDuration", + "localizedValue": "Receiving response time" + }, + "displayDescription": "Time between the first and last bytes, or until disconnection.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/sendDuration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Browser", + "name": { + "value": "browserTimings/sendDuration", + "localizedValue": "Send request time" + }, + "displayDescription": "Time between network connection and receiving the first byte.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/browserTimings/totalDuration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Browser", + "name": { + "value": "browserTimings/totalDuration", + "localizedValue": "Browser page load time" + }, + "displayDescription": "Time from user request until DOM, stylesheets, scripts and images are loaded.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Server", + "name": { + "value": "dependencies/count", + "localizedValue": "Dependency calls" + }, + "displayDescription": "Count of calls made by the application to external resources.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "dependency/type", + "localizedValue": "Dependency type" + }, + { + "value": "dependency/performanceBucket", + "localizedValue": "Dependency performance" + }, + { + "value": "dependency/success", + "localizedValue": "Successful call" + }, + { + "value": "dependency/target", + "localizedValue": "Target of a dependency call" + }, + { + "value": "dependency/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/duration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Server", + "name": { + "value": "dependencies/duration", + "localizedValue": "Dependency duration" + }, + "displayDescription": "Duration of calls made by the application to external resources.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "dependency/type", + "localizedValue": "Dependency type" + }, + { + "value": "dependency/performanceBucket", + "localizedValue": "Dependency performance" + }, + { + "value": "dependency/success", + "localizedValue": "Successful call" + }, + { + "value": "dependency/target", + "localizedValue": "Target of a dependency call" + }, + { + "value": "dependency/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/dependencies/failed", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Failures", + "name": { + "value": "dependencies/failed", + "localizedValue": "Dependency call failures" + }, + "displayDescription": "Count of failed dependency calls made by the application to external resources.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "dependency/type", + "localizedValue": "Dependency type" + }, + { + "value": "dependency/performanceBucket", + "localizedValue": "Dependency performance" + }, + { + "value": "dependency/target", + "localizedValue": "Target of a dependency call" + }, + { + "value": "dependency/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/pageViews/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Usage", + "name": { + "value": "pageViews/count", + "localizedValue": "Page views" + }, + "displayDescription": "Count of page views.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/pageViews/duration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Usage", + "name": { + "value": "pageViews/duration", + "localizedValue": "Page view load time" + }, + "displayDescription": "Page view load time", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestExecutionTime", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/requestExecutionTime", + "localizedValue": "HTTP request execution time" + }, + "displayDescription": "Execution time of the most recent request.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestsInQueue", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/requestsInQueue", + "localizedValue": "HTTP requests in application queue" + }, + "displayDescription": "Length of the application request queue.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/requestsPerSecond", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/requestsPerSecond", + "localizedValue": "HTTP request rate" + }, + "displayDescription": "Rate of all requests to the application per second from ASP.NET.", + "isDimensionRequired": false, + "unit": "CountPerSecond", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/exceptionsPerSecond", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/exceptionsPerSecond", + "localizedValue": "Exception rate" + }, + "displayDescription": "Count of handled and unhandled exceptions reported to windows, including .NET exceptions and unmanaged exceptions that are converted into .NET exceptions.", + "isDimensionRequired": false, + "unit": "CountPerSecond", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processIOBytesPerSecond", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/processIOBytesPerSecond", + "localizedValue": "Process IO rate" + }, + "displayDescription": "Total bytes per second read and written to files, network and devices.", + "isDimensionRequired": false, + "unit": "BytesPerSecond", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processCpuPercentage", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/processCpuPercentage", + "localizedValue": "Process CPU" + }, + "displayDescription": "The percentage of elapsed time that all process threads used the processor to execute instructions. This can vary between 0 to 100. This metric indicates the performance of w3wp process alone.", + "isDimensionRequired": false, + "unit": "Percent", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processorCpuPercentage", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/processorCpuPercentage", + "localizedValue": "Processor time" + }, + "displayDescription": "The percentage of time that the processor spends in non-idle threads.", + "isDimensionRequired": false, + "unit": "Percent", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/memoryAvailableBytes", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/memoryAvailableBytes", + "localizedValue": "Available memory" + }, + "displayDescription": "Physical memory immediately available for allocation to a process or for system use.", + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/performanceCounters/processPrivateBytes", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Performance counters", + "name": { + "value": "performanceCounters/processPrivateBytes", + "localizedValue": "Process private bytes" + }, + "displayDescription": "Memory exclusively assigned to the monitored application's processes.", + "isDimensionRequired": false, + "unit": "Bytes", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/duration", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Server", + "name": { + "value": "requests/duration", + "localizedValue": "Server response time" + }, + "displayDescription": "Time between receiving an HTTP request and finishing sending the response.", + "isDimensionRequired": false, + "unit": "MilliSeconds", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average", + "Maximum", + "Minimum" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "request/performanceBucket", + "localizedValue": "Request performance" + }, + { + "value": "request/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "request/success", + "localizedValue": "Successful request" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Server", + "name": { + "value": "requests/count", + "localizedValue": "Server requests" + }, + "displayDescription": "Count of HTTP requests completed.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "request/performanceBucket", + "localizedValue": "Request performance" + }, + { + "value": "request/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "request/success", + "localizedValue": "Successful request" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/failed", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Failures", + "name": { + "value": "requests/failed", + "localizedValue": "Failed requests" + }, + "displayDescription": "Count of HTTP requests marked as failed. In most cases these are requests with a response code >= 400 and not equal to 401.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "request/performanceBucket", + "localizedValue": "Request performance" + }, + { + "value": "request/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/requests/rate", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Server", + "name": { + "value": "requests/rate", + "localizedValue": "Server request rate" + }, + "displayDescription": "Rate of server requests per second", + "isDimensionRequired": false, + "unit": "CountPerSecond", + "primaryAggregationType": "Average", + "supportedAggregationTypes": [ + "Average" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "request/performanceBucket", + "localizedValue": "Request performance" + }, + { + "value": "request/resultCode", + "localizedValue": "Result code" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "request/success", + "localizedValue": "Successful request" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Failures", + "name": { + "value": "exceptions/count", + "localizedValue": "Exceptions" + }, + "displayDescription": "Combined count of all uncaught exceptions.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + }, + { + "value": "client/type", + "localizedValue": "Device type" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/browser", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Failures", + "name": { + "value": "exceptions/browser", + "localizedValue": "Browser exceptions" + }, + "displayDescription": "Count of uncaught exceptions thrown in the browser.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/exceptions/server", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Failures", + "name": { + "value": "exceptions/server", + "localizedValue": "Server exceptions" + }, + "displayDescription": "Count of uncaught exceptions thrown in the server application.", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + }, + { + "id": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill/providers/microsoft.insights/metricdefinitions/traces/count", + "resourceId": "/subscriptions/182c901a-129a-4f5d-86e4-cc6b294590a2/resourceGroups/hyr-log/providers/microsoft.insights/components/f1-bill", + "namespace": "microsoft.insights/components", + "category": "Usage", + "name": { + "value": "traces/count", + "localizedValue": "Traces" + }, + "displayDescription": "Trace document count", + "isDimensionRequired": false, + "unit": "Count", + "primaryAggregationType": "Count", + "supportedAggregationTypes": [ + "Count" + ], + "metricAvailabilities": [ + { + "timeGrain": "PT1M", + "retention": "P93D" + }, + { + "timeGrain": "PT5M", + "retention": "P93D" + }, + { + "timeGrain": "PT15M", + "retention": "P93D" + }, + { + "timeGrain": "PT30M", + "retention": "P93D" + }, + { + "timeGrain": "PT1H", + "retention": "P93D" + }, + { + "timeGrain": "PT6H", + "retention": "P93D" + }, + { + "timeGrain": "PT12H", + "retention": "P93D" + }, + { + "timeGrain": "P1D", + "retention": "P93D" + } + ], + "dimensions": [ + { + "value": "trace/severityLevel", + "localizedValue": "Severity level" + }, + { + "value": "operation/synthetic", + "localizedValue": "Is traffic synthetic" + }, + { + "value": "cloud/roleName", + "localizedValue": "Cloud role name" + }, + { + "value": "cloud/roleInstance", + "localizedValue": "Cloud role instance" + } + ] + } + ] + } + } + } +} diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json index 2d8a21817013..701b3fda5058 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json @@ -26,6 +26,7 @@ "value": "BlobCapacity", "localizedValue": "Blob Capacity" }, + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", "unit": "Bytes", "timeseries": [ { diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json index 186b0b6002f2..ac4c7d13b005 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json @@ -74,6 +74,9 @@ "x-ms-examples": { "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" + }, + "Get Application Insights Metric Definitions without filter": { + "$ref": "./examples/GetMetricDefinitionsApplicationInsights.json" } } } @@ -113,7 +116,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -168,6 +171,14 @@ "$ref": "#/definitions/LocalizableString", "description": "the name and the display name of the metric, i.e. it is a localizable string." }, + "displayDescription": { + "type": "string", + "description": "Detailed description of this metric." + }, + "category": { + "type": "string", + "description": "Custom category name for this metric." + }, "unit": { "$ref": "#/definitions/Unit", "description": "the unit of the metric." diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json index a66c8125be9e..8f531f663b66 100644 --- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json +++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json @@ -127,7 +127,7 @@ }, "Unit": { "type": "string", - "description": "the unit of the metric.", + "description": "The unit of the metric.", "enum": [ "Count", "Bytes", @@ -220,7 +220,7 @@ "type": "number", "format": "int32", "minimum": 0, - "description": "The integer value representing the cost of the query, for data case." + "description": "The integer value representing the relative cost of the query." }, "timespan": { "type": "string", @@ -233,11 +233,11 @@ }, "namespace": { "type": "string", - "description": "The namespace of the metrics been queried" + "description": "The namespace of the metrics being queried" }, "resourceregion": { "type": "string", - "description": "The region of the resource been queried for metrics." + "description": "The region of the resource being queried for metrics." }, "value": { "type": "array", @@ -268,6 +268,14 @@ "$ref": "#/definitions/LocalizableString", "description": "the name and the display name of the metric, i.e. it is localizable string." }, + "displayDescription": { + "type": "string", + "description": "Detailed description of this metric." + }, + "errorCode": { + "type": "string", + "description": "'Success' or the error details on query failures for this metric." + }, "unit": { "$ref": "#/definitions/Unit", "description": "the unit of the metric." @@ -284,6 +292,7 @@ "id", "type", "name", + "displayDescription", "unit", "timeseries" ],