diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-id.json new file mode 100644 index 000000000000..7ba2c1b9cfff --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-id.json @@ -0,0 +1,70 @@ +{ + "title": "Get A Specific Events By Type & ID", + "description": "Gets a specific event by type and id.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "eventType": "traces", + "eventId": "dc76df01-0141-11e8-9894-e3e7c1eeabad" + }, + "responses": { + "200": { + "body": { + "@odata.context": "https://api.applicationinsights.io/v1/apps/DEMO_APP/events/traces/$metadata#traces", + "value": [ + { + "id": "dc76df01-0141-11e8-9894-e3e7c1eeabad", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:04:32.243Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /FabrikamProd/Employees/Create", + "id": "HPFy1bNlyQ0=", + "parentId": "|HPFy1bNlyQ0=.c642e1f1_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "97915c9e-2ba3-4258-82f5-84233de21127" + }, + "user": { + "id": "emea-ru-msa-edge_97915c9e-2ba3-4258-82f5-84233de21127", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": null, + "roleInstance": "AIConnect2" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": null + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "51.140.105.0", + "city": "London", + "stateOrProvince": "England", + "countryOrRegion": "United Kingdom" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-type.json new file mode 100644 index 000000000000..86739d4064d5 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-type.json @@ -0,0 +1,272 @@ +{ + "title": "Get Events By Type", + "description": "Gets events of a specific type", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "eventType": "traces", + "event-top": 5 + }, + "responses": { + "200": { + "body": { + "@odata.context": "https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#traces", + "@ai.messages": [ + { + "code": "AddedLimitToQuery", + "message": "The query was limited to last 12 hours, since no other limit for timestamp field was specified" + } + ], + "value": [ + { + "id": "dc76df01-0141-11e8-9894-e3e7c1eeabad", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:04:32.243Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /FabrikamProd/Employees/Create", + "id": "HPFy1bNlyQ0=", + "parentId": "|HPFy1bNlyQ0=.c642e1f1_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "97915c9e-2ba3-4258-82f5-84233de21127" + }, + "user": { + "id": "emea-ru-msa-edge_97915c9e-2ba3-4258-82f5-84233de21127", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": "", + "roleInstance": "AIConnect2" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": "" + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "51.140.105.0", + "city": "London", + "stateOrProvince": "England", + "countryOrRegion": "United Kingdom" + } + }, + { + "id": "ca54b09b-0141-11e8-8c76-4de3c2c29f12", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:04:22.799Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /FabrikamProd/Employees/Create", + "id": "fYhtYFzAYv4=", + "parentId": "|fYhtYFzAYv4=.c642e1f0_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "e0aca036-2ef0-4c41-adb9-5875625901ee" + }, + "user": { + "id": "us-fl-mia-edge_e0aca036-2ef0-4c41-adb9-5875625901ee", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": "", + "roleInstance": "AIConnect2" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": "" + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "52.173.244.0", + "city": "Des Moines", + "stateOrProvince": "Iowa", + "countryOrRegion": "United States" + } + }, + { + "id": "caf07b61-0141-11e8-bb21-bb0d564a046f", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:04:02.106Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /", + "id": "EfIqgW6eLWQ=", + "parentId": "|EfIqgW6eLWQ=.1eb73a79_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "323ab959-4c64-4de4-95e9-04334fbd7749" + }, + "user": { + "id": "apac-hk-hkn-azr_323ab959-4c64-4de4-95e9-04334fbd7749", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": "fabrikamfiberapp", + "roleInstance": "RD00155D467E8D" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3" + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "52.175.39.0", + "city": "Hong Kong", + "stateOrProvince": "Central and Western District", + "countryOrRegion": "Hong Kong" + } + }, + { + "id": "b8599222-0141-11e8-99cf-07437267f251", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:03:55.554Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /", + "id": "7j5dSPYFB5A=", + "parentId": "|7j5dSPYFB5A=.1eb73a78_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "b82a2630-5598-4291-a3db-976117f07490" + }, + "user": { + "id": "us-il-ch1-azr_b82a2630-5598-4291-a3db-976117f07490", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": "fabrikamfiberapp", + "roleInstance": "RD00155D467E8D" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3" + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "52.237.156.0", + "city": "Chicago", + "stateOrProvince": "Illinois", + "countryOrRegion": "United States" + } + }, + { + "id": "b8599221-0141-11e8-99cf-07437267f251", + "type": "trace", + "count": 1, + "timestamp": "2018-01-24T20:03:37.437Z", + "customDimensions": null, + "customMeasurements": null, + "operation": { + "name": "GET /", + "id": "xoAJ+fhhQQE=", + "parentId": "|xoAJ+fhhQQE=.1eb73a77_", + "syntheticSource": "Application Insights Availability Monitoring" + }, + "session": { + "id": "b2066202-e8cd-47de-8c4c-d4d55f3653a4" + }, + "user": { + "id": "emea-ru-msa-edge_b2066202-e8cd-47de-8c4c-d4d55f3653a4", + "accountId": null, + "authenticatedId": null + }, + "cloud": { + "roleName": "fabrikamfiberapp", + "roleInstance": "RD00155D467E8D" + }, + "ai": { + "iKey": "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "appName": "fabrikamprod", + "appId": "cf58dcfd-0683-487c-bc84-048789bca8e5", + "sdkVersion": "sd:2.4.1-442" + }, + "trace": { + "message": "New Request Received", + "severityLevel": 0 + }, + "application": { + "version": "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3" + }, + "client": { + "model": null, + "os": null, + "type": "PC", + "browser": null, + "ip": "51.140.79.0", + "city": "London", + "stateOrProvince": "England", + "countryOrRegion": "United Kingdom" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-metadata.json new file mode 100644 index 000000000000..a8626e5a3887 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-metadata.json @@ -0,0 +1,18 @@ +{ + "title": "Get Events Metadata", + "description": "Gets event metadata", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20" + }, + "responses": { + "200": { + "headers": { + "content-type": "application/xml;charset=utf-8" + }, + "body": " " + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get-full.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get-full.json new file mode 100644 index 000000000000..6660ee6ac295 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get-full.json @@ -0,0 +1,47 @@ +{ + "title": "Get intervaled request count", + "description": "Gets intervaled request count metric", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "metricId": "requests%2Fcount", + "timespan": "P2D", + "interval": "P1D" + }, + "responses": { + "200": { + "body": { + "value": { + "start": "2018-02-04T10:01:35.086Z", + "end": "2018-02-06T10:01:35.086Z", + "interval": "P1D", + "segments": [ + { + "start": "2018-02-04T10:01:35.086Z", + "end": "2018-02-05T00:00:00.000Z", + "requests/count": { + "sum": 4927 + } + }, + { + "start": "2018-02-05T00:00:00.000Z", + "end": "2018-02-06T00:00:00.000Z", + "requests/count": { + "sum": 8460 + } + }, + { + "start": "2018-02-06T00:00:00.000Z", + "end": "2018-02-06T10:01:35.086Z", + "requests/count": { + "sum": 3743 + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get.json new file mode 100644 index 000000000000..ebd9fb550908 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get.json @@ -0,0 +1,24 @@ +{ + "title": "Get Request Count", + "description": "Gets request count metric", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "metricId": "requests%2Fcount" + }, + "responses": { + "200": { + "body": { + "value": { + "start": "2016-01-01T02:00:00.000Z", + "end": "2016-01-03T02:00:00.000Z", + "requests/count": { + "sum": 23 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-post.json new file mode 100644 index 000000000000..8f9a9c6bcaae --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-post.json @@ -0,0 +1,102 @@ +{ + "title": "Post Metric", + "description": "Posts data for a metric.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "body": [ + { + "id": "failed", + "parameters": { + "metricId": "requests/failed", + "timespan": "P2D", + "interval": "P1D" + } + }, + { + "id": "count", + "parameters": { + "metricId": "requests/count", + "timespan": "P2D", + "interval": "P1D" + } + } + ] + }, + "responses": { + "200": { + "body": [ + { + "id": "failed", + "status": 200, + "body": { + "value": { + "start": "2018-01-22T19:59:12.488Z", + "end": "2018-01-24T19:59:12.488Z", + "interval": "P1D", + "segments": [ + { + "start": "2018-01-22T19:59:12.488Z", + "end": "2018-01-23T00:00:00.000Z", + "requests/failed": { + "sum": 277 + } + }, + { + "start": "2018-01-23T00:00:00.000Z", + "end": "2018-01-24T00:00:00.000Z", + "requests/failed": { + "sum": 1599 + } + }, + { + "start": "2018-01-24T00:00:00.000Z", + "end": "2018-01-24T19:59:12.488Z", + "requests/failed": { + "sum": 1392 + } + } + ] + } + } + }, + { + "id": "count", + "status": 200, + "body": { + "value": { + "start": "2018-01-22T19:59:12.488Z", + "end": "2018-01-24T19:59:12.488Z", + "interval": "P1D", + "segments": [ + { + "start": "2018-01-22T19:59:12.488Z", + "end": "2018-01-23T00:00:00.000Z", + "requests/count": { + "sum": 1225 + } + }, + { + "start": "2018-01-23T00:00:00.000Z", + "end": "2018-01-24T00:00:00.000Z", + "requests/count": { + "sum": 7382 + } + }, + { + "start": "2018-01-24T00:00:00.000Z", + "end": "2018-01-24T19:59:12.488Z", + "requests/count": { + "sum": 6674 + } + } + ] + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metrics-get-metadata.json new file mode 100644 index 000000000000..1d9fbcc0dc0f --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metrics-get-metadata.json @@ -0,0 +1,2830 @@ +{ + "title": "Get Metric Metadata", + "description": "Gets metadata data for metrics.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20" + }, + "responses": { + "200": { + "body": { + "metrics": { + "requests/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Server requests", + "supportedGroupBy": { + "all": [ + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/DeveloperMode" + ] + }, + "defaultAggregation": "sum" + }, + "requests/duration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Server response time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/DeveloperMode" + ] + }, + "defaultAggregation": "avg" + }, + "requests/failed": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Failed requests", + "supportedGroupBy": { + "all": [ + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/DeveloperMode" + ] + }, + "defaultAggregation": "sum" + }, + "pageViews/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Page views", + "supportedGroupBy": { + "all": [ + "pageView/name", + "pageView/urlPath", + "pageView/urlHost", + "pageView/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "sum" + }, + "pageViews/duration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Page view load time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "pageView/name", + "pageView/urlPath", + "pageView/urlHost", + "pageView/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "browserTimings/networkDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Page load network connect time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "browserTimings/sendDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Send request time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "browserTimings/receiveDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Receiving response time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "browserTimings/processingDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Client processing time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "browserTimings/totalDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Browser page load time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "users/count": { + "supportedAggregations": [ + "unique" + ], + "displayName": "Users", + "supportedGroupBy": { + "all": [ + "trace/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "type", + "customDimensions/AgentSession", + "customDimensions/AgentVersion", + "customDimensions/MachineName", + "customDimensions/RunningMode", + "customDimensions/Source", + "customDimensions/AgentAssemblyVersion", + "customDimensions/AgentProcessSession", + "customDimensions/HashedMachineName", + "customDimensions/DataCube", + "customDimensions/DeveloperMode", + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "user/authenticated", + "customDimensions/_MS.ProcessedByMetricExtractors", + "pageView/name", + "pageView/urlPath", + "pageView/urlHost", + "pageView/performanceBucket", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "customDimensions/Container", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customEvent/name", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName", + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "customDimensions/FullTestResultAvailable", + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type", + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket" + ] + }, + "defaultAggregation": "unique" + }, + "users/authenticated": { + "supportedAggregations": [ + "unique" + ], + "displayName": "Users, authenticated", + "supportedGroupBy": { + "all": [ + "trace/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "type", + "customDimensions/AgentSession", + "customDimensions/AgentVersion", + "customDimensions/MachineName", + "customDimensions/RunningMode", + "customDimensions/Source", + "customDimensions/AgentAssemblyVersion", + "customDimensions/AgentProcessSession", + "customDimensions/HashedMachineName", + "customDimensions/DataCube", + "customDimensions/DeveloperMode", + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "user/authenticated", + "customDimensions/_MS.ProcessedByMetricExtractors", + "pageView/name", + "pageView/urlPath", + "pageView/urlHost", + "pageView/performanceBucket", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "customDimensions/Container", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customEvent/name", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName", + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "customDimensions/FullTestResultAvailable", + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type", + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket" + ] + }, + "defaultAggregation": "unique" + }, + "sessions/count": { + "supportedAggregations": [ + "unique" + ], + "displayName": "Sessions", + "supportedGroupBy": { + "all": [ + "trace/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "type", + "customDimensions/AgentSession", + "customDimensions/AgentVersion", + "customDimensions/MachineName", + "customDimensions/RunningMode", + "customDimensions/Source", + "customDimensions/AgentAssemblyVersion", + "customDimensions/AgentProcessSession", + "customDimensions/HashedMachineName", + "customDimensions/DataCube", + "customDimensions/DeveloperMode", + "request/source", + "request/name", + "request/urlHost", + "request/urlPath", + "request/success", + "request/resultCode", + "request/performanceBucket", + "user/authenticated", + "customDimensions/_MS.ProcessedByMetricExtractors", + "pageView/name", + "pageView/urlPath", + "pageView/urlHost", + "pageView/performanceBucket", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "customDimensions/Container", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customEvent/name", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName", + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "customDimensions/FullTestResultAvailable", + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type", + "browserTiming/name", + "browserTiming/urlHost", + "browserTiming/urlPath", + "browserTiming/performanceBucket" + ] + }, + "defaultAggregation": "unique" + }, + "customEvents/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Events", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "sum" + }, + "dependencies/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Dependency calls", + "supportedGroupBy": { + "all": [ + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/Container", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "sum" + }, + "dependencies/failed": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Dependency failures", + "supportedGroupBy": { + "all": [ + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/Container", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "sum" + }, + "dependencies/duration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Dependency duration", + "units": "ms", + "supportedGroupBy": { + "all": [ + "dependency/target", + "dependency/type", + "dependency/name", + "dependency/success", + "dependency/resultCode", + "dependency/performanceBucket", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/Container", + "customDimensions/_MS.ProcessedByMetricExtractors", + "customDimensions/Blob", + "customDimensions/ErrorMessage", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance" + ] + }, + "defaultAggregation": "avg" + }, + "exceptions/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Exceptions", + "supportedGroupBy": { + "all": [ + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/_MS.ProcessedByMetricExtractors" + ] + }, + "defaultAggregation": "sum" + }, + "exceptions/browser": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Browser exceptions", + "supportedGroupBy": { + "all": [ + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/_MS.ProcessedByMetricExtractors" + ] + }, + "defaultAggregation": "sum" + }, + "exceptions/server": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Server exceptions", + "supportedGroupBy": { + "all": [ + "exception/problemId", + "exception/handledAt", + "exception/type", + "exception/assembly", + "exception/method", + "exception/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/url", + "customDimensions/ai.snapshot.stampid", + "customDimensions/ai.snapshot.id", + "customDimensions/ai.snapshot.version", + "customDimensions/DeveloperMode", + "customDimensions/IbizaSessionId", + "customDimensions/PartInstance", + "customDimensions/ai.snapshot.planid", + "customDimensions/_MS.Example", + "customDimensions/_MS.ProcessedByMetricExtractors" + ] + }, + "defaultAggregation": "sum" + }, + "availabilityResults/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Availability test results count", + "supportedGroupBy": { + "all": [ + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/FullTestResultAvailable" + ] + }, + "defaultAggregation": "sum" + }, + "availabilityResults/duration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "Test duration", + "units": "ms", + "supportedGroupBy": { + "all": [ + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/FullTestResultAvailable" + ] + }, + "defaultAggregation": "avg" + }, + "availabilityResults/availabilityPercentage": { + "supportedAggregations": [ + "avg", + "count" + ], + "displayName": "Availability", + "units": "percent", + "supportedGroupBy": { + "all": [ + "availabilityResult/name", + "availabilityResult/location", + "availabilityResult/success", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/FullTestResultAvailable" + ] + }, + "defaultAggregation": "avg" + }, + "billingMeters/telemetryCount": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Data point count", + "supportedGroupBy": { + "all": [ + "billing/telemetryItemSource", + "billing/telemetryItemType" + ] + }, + "defaultAggregation": "sum" + }, + "billingMeters/telemetrySize": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Data point volume", + "units": "bytes", + "supportedGroupBy": { + "all": [ + "billing/telemetryItemSource", + "billing/telemetryItemType" + ] + }, + "defaultAggregation": "sum" + }, + "performanceCounters/requestExecutionTime": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count" + ], + "displayName": "ASP.NET request execution time", + "units": "ms", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/requestsPerSecond": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "ASP.NET request rate", + "units": "perSec", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/requestsInQueue": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "ASP.NET requests in application queue", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/memoryAvailableBytes": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Available memory", + "units": "bytes", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/exceptionsPerSecond": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Exception rate", + "units": "perSec", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/processCpuPercentage": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Process CPU", + "units": "percent", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/processCpuPercentageTotal": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Process CPU (all cores)", + "units": "percent", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/processIOBytesPerSecond": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Process IO rate", + "units": "bytesPerSec", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/processPrivateBytes": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Process private bytes", + "units": "bytes", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/processorCpuPercentage": { + "supportedAggregations": [ + "avg", + "min", + "max", + "count" + ], + "displayName": "Processor time", + "units": "percent", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "traces/count": { + "supportedAggregations": [ + "sum" + ], + "displayName": "Traces", + "supportedGroupBy": { + "all": [ + "trace/severityLevel", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/AgentSession", + "customDimensions/AgentVersion", + "customDimensions/MachineName", + "customDimensions/RunningMode", + "customDimensions/Source", + "customDimensions/AgentAssemblyVersion", + "customDimensions/AgentProcessSession", + "customDimensions/HashedMachineName", + "customDimensions/DataCube", + "customDimensions/DeveloperMode" + ] + }, + "defaultAggregation": "sum" + }, + "customMetrics/Dependency duration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Dependency duration", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/Exceptions thrown": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Exceptions thrown", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/Server response time": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Server response time", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/AzureDependencyFailureRate5Min": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "AzureDependencyFailureRate5Min", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/AzureBlobSuccessRate": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "AzureBlobSuccessRate", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/Customer Lead Time": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Customer Lead Time", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/ChrisRequestDuration": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "ChrisRequestDuration", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/AvgResponseTime": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "AvgResponseTime", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/CriticalOperationFailureRate": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "CriticalOperationFailureRate", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/CritFailureRate2": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "CritFailureRate2", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/Blah": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Blah", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/SyntheticExceptions": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "SyntheticExceptions", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/test01": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "test01", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/PredictedPerformanceOnNextHour": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "PredictedPerformanceOnNextHour", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customMetrics/HeartbeatState": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "HeartbeatState", + "supportedGroupBy": { + "all": [ + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/SA_OriginAppId", + "customDimensions/baseSdkTargetFramework", + "customDimensions/runtimeFramework", + "customDimensions/DeveloperMode", + "customDimensions/_MS.AggregationIntervalMs", + "customDimensions/problemId", + "customDimensions/operationName", + "customDimensions/Request.Success", + "customDimensions/_MS.MetricId", + "customDimensions/Dependency.Success", + "customDimensions/_MS.IsAutocollected", + "customDimensions/Dependency.Type" + ] + }, + "defaultAggregation": "avg" + }, + "customEvents/custom/ProcessPagedMemoryInMB": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "ProcessPagedMemoryInMB", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "avg" + }, + "customEvents/custom/ProcessWorkingSetInMB": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "ProcessWorkingSetInMB", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "avg" + }, + "customEvents/custom/DurationInSeconds": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "DurationInSeconds", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "avg" + }, + "customEvents/custom/sizeInMB": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "sizeInMB", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "avg" + }, + "customEvents/custom/Completion Time": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "Completion Time", + "supportedGroupBy": { + "all": [ + "customEvent/name", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/EventName", + "customDimensions/Page Title", + "customDimensions/ServiceProfilerContent", + "customDimensions/ExecutingAssemblyFileVersion", + "customDimensions/ServiceProfilerVersion", + "customDimensions/DeveloperMode", + "customDimensions/ProcessId", + "customDimensions/RequestId", + "customDimensions/RunningSession", + "customDimensions/ProblemId", + "customDimensions/SnapshotContext", + "customDimensions/SnapshotVersion", + "customDimensions/Duration", + "customDimensions/SnapshotId", + "customDimensions/StampId", + "customDimensions/DeOptimizationId", + "customDimensions/Method", + "customDimensions/parentProcessId", + "customDimensions/Section", + "customDimensions/Configuration", + "customDimensions/dumpFolder", + "customDimensions/Reason", + "customDimensions/ExtensionVersion", + "customDimensions/SiteName" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/\\Process(??APP_WIN32_PROC??)\\% Processor Time Normalized": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "\\Process(??APP_WIN32_PROC??)\\% Processor Time Normalized", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + }, + "performanceCounters/% Processor Time Normalized": { + "supportedAggregations": [ + "avg", + "min", + "max", + "sum", + "count", + "unique" + ], + "displayName": "% Processor Time Normalized", + "supportedGroupBy": { + "all": [ + "performanceCounter/name", + "performanceCounter/category", + "performanceCounter/counter", + "performanceCounter/instance", + "operation/name", + "operation/synthetic", + "operation/syntheticSource", + "user/authenticated", + "application/version", + "client/type", + "client/model", + "client/os", + "client/city", + "client/stateOrProvince", + "client/countryOrRegion", + "client/browser", + "cloud/roleName", + "cloud/roleInstance", + "customDimensions/CounterInstanceName", + "customDimensions/CustomPerfCounter" + ] + }, + "defaultAggregation": "avg" + } + }, + "dimensions": { + "request/source": { + "displayName": "Request source" + }, + "request/name": { + "displayName": "Request name" + }, + "request/urlHost": { + "displayName": "Request URL host" + }, + "request/urlPath": { + "displayName": "Request URL path" + }, + "request/success": { + "displayName": "Successful request" + }, + "request/resultCode": { + "displayName": "Response code" + }, + "request/performanceBucket": { + "displayName": "Performance" + }, + "operation/name": { + "displayName": "Operation name" + }, + "operation/synthetic": { + "displayName": "Real or synthetic traffic" + }, + "operation/syntheticSource": { + "displayName": "Source of synthetic traffic" + }, + "user/authenticated": { + "displayName": "Authenticated user" + }, + "application/version": { + "displayName": "Application version" + }, + "client/type": { + "displayName": "Device type" + }, + "client/model": { + "displayName": "Device model" + }, + "client/os": { + "displayName": "Operating system" + }, + "client/city": { + "displayName": "City" + }, + "client/stateOrProvince": { + "displayName": "State or province" + }, + "client/countryOrRegion": { + "displayName": "Country or region" + }, + "client/browser": { + "displayName": "Browser version" + }, + "cloud/roleName": { + "displayName": "Cloud role name" + }, + "cloud/roleInstance": { + "displayName": "Cloud role instance" + }, + "customDimensions/_MS.ProcessedByMetricExtractors": { + "displayName": "_MS.ProcessedByMetricExtractors" + }, + "customDimensions/DeveloperMode": { + "displayName": "DeveloperMode" + }, + "pageView/name": { + "displayName": "View page name" + }, + "pageView/urlPath": { + "displayName": "Page view URL path" + }, + "pageView/urlHost": { + "displayName": "Page view URL host" + }, + "pageView/performanceBucket": { + "displayName": "Performance" + }, + "customDimensions/IbizaSessionId": { + "displayName": "IbizaSessionId" + }, + "customDimensions/PartInstance": { + "displayName": "PartInstance" + }, + "browserTiming/name": { + "displayName": "Name" + }, + "browserTiming/urlHost": { + "displayName": "Url host" + }, + "browserTiming/urlPath": { + "displayName": "Url path" + }, + "browserTiming/performanceBucket": { + "displayName": "Performance Bucket" + }, + "trace/severityLevel": { + "displayName": "Severity level" + }, + "type": { + "displayName": "Telemetry type" + }, + "customDimensions/AgentSession": { + "displayName": "AgentSession" + }, + "customDimensions/AgentVersion": { + "displayName": "AgentVersion" + }, + "customDimensions/MachineName": { + "displayName": "MachineName" + }, + "customDimensions/RunningMode": { + "displayName": "RunningMode" + }, + "customDimensions/Source": { + "displayName": "Source" + }, + "customDimensions/AgentAssemblyVersion": { + "displayName": "AgentAssemblyVersion" + }, + "customDimensions/AgentProcessSession": { + "displayName": "AgentProcessSession" + }, + "customDimensions/HashedMachineName": { + "displayName": "HashedMachineName" + }, + "customDimensions/DataCube": { + "displayName": "DataCube" + }, + "dependency/target": { + "displayName": "Base name" + }, + "dependency/type": { + "displayName": "Dependency type" + }, + "dependency/name": { + "displayName": "Remote dependency name" + }, + "dependency/success": { + "displayName": "Dependency call status" + }, + "dependency/resultCode": { + "displayName": "Result code" + }, + "dependency/performanceBucket": { + "displayName": "Performance" + }, + "customDimensions/Container": { + "displayName": "Container" + }, + "customDimensions/Blob": { + "displayName": "Blob" + }, + "customDimensions/ErrorMessage": { + "displayName": "ErrorMessage" + }, + "customEvent/name": { + "displayName": "Event name" + }, + "customDimensions/EventName": { + "displayName": "EventName" + }, + "customDimensions/Page Title": { + "displayName": "Page Title" + }, + "customDimensions/ServiceProfilerContent": { + "displayName": "ServiceProfilerContent" + }, + "customDimensions/ExecutingAssemblyFileVersion": { + "displayName": "ExecutingAssemblyFileVersion" + }, + "customDimensions/ServiceProfilerVersion": { + "displayName": "ServiceProfilerVersion" + }, + "customDimensions/ProcessId": { + "displayName": "ProcessId" + }, + "customDimensions/RequestId": { + "displayName": "RequestId" + }, + "customDimensions/RunningSession": { + "displayName": "RunningSession" + }, + "customDimensions/ProblemId": { + "displayName": "ProblemId" + }, + "customDimensions/SnapshotContext": { + "displayName": "SnapshotContext" + }, + "customDimensions/SnapshotVersion": { + "displayName": "SnapshotVersion" + }, + "customDimensions/Duration": { + "displayName": "Duration" + }, + "customDimensions/SnapshotId": { + "displayName": "SnapshotId" + }, + "customDimensions/StampId": { + "displayName": "StampId" + }, + "customDimensions/DeOptimizationId": { + "displayName": "DeOptimizationId" + }, + "customDimensions/Method": { + "displayName": "Method" + }, + "customDimensions/parentProcessId": { + "displayName": "parentProcessId" + }, + "customDimensions/Section": { + "displayName": "Section" + }, + "customDimensions/Configuration": { + "displayName": "Configuration" + }, + "customDimensions/dumpFolder": { + "displayName": "dumpFolder" + }, + "customDimensions/Reason": { + "displayName": "Reason" + }, + "customDimensions/ExtensionVersion": { + "displayName": "ExtensionVersion" + }, + "customDimensions/SiteName": { + "displayName": "SiteName" + }, + "availabilityResult/name": { + "displayName": "Test name" + }, + "availabilityResult/location": { + "displayName": "Run location" + }, + "availabilityResult/success": { + "displayName": "Test result" + }, + "customDimensions/FullTestResultAvailable": { + "displayName": "FullTestResultAvailable" + }, + "exception/problemId": { + "displayName": "Problem Id" + }, + "exception/handledAt": { + "displayName": "Handled at" + }, + "exception/type": { + "displayName": "Exception type" + }, + "exception/assembly": { + "displayName": "Assembly" + }, + "exception/method": { + "displayName": "Failed method" + }, + "exception/severityLevel": { + "displayName": "Severity level" + }, + "customDimensions/url": { + "displayName": "url" + }, + "customDimensions/ai.snapshot.stampid": { + "displayName": "ai.snapshot.stampid" + }, + "customDimensions/ai.snapshot.id": { + "displayName": "ai.snapshot.id" + }, + "customDimensions/ai.snapshot.version": { + "displayName": "ai.snapshot.version" + }, + "customDimensions/ai.snapshot.planid": { + "displayName": "ai.snapshot.planid" + }, + "customDimensions/_MS.Example": { + "displayName": "_MS.Example" + }, + "customDimensions/SA_OriginAppId": { + "displayName": "SA_OriginAppId" + }, + "customDimensions/baseSdkTargetFramework": { + "displayName": "baseSdkTargetFramework" + }, + "customDimensions/runtimeFramework": { + "displayName": "runtimeFramework" + }, + "customDimensions/_MS.AggregationIntervalMs": { + "displayName": "_MS.AggregationIntervalMs" + }, + "customDimensions/problemId": { + "displayName": "problemId" + }, + "customDimensions/operationName": { + "displayName": "operationName" + }, + "customDimensions/Request.Success": { + "displayName": "Request.Success" + }, + "customDimensions/_MS.MetricId": { + "displayName": "_MS.MetricId" + }, + "customDimensions/Dependency.Success": { + "displayName": "Dependency.Success" + }, + "customDimensions/_MS.IsAutocollected": { + "displayName": "_MS.IsAutocollected" + }, + "customDimensions/Dependency.Type": { + "displayName": "Dependency.Type" + }, + "billing/telemetryItemSource": { + "displayName": "Telemetry item source" + }, + "billing/telemetryItemType": { + "displayName": "Telemetry item type" + }, + "performanceCounter/name": { + "displayName": "Name" + }, + "performanceCounter/category": { + "displayName": "Category name" + }, + "performanceCounter/counter": { + "displayName": "Counter" + }, + "performanceCounter/instance": { + "displayName": "Instance name" + }, + "customDimensions/CounterInstanceName": { + "displayName": "CounterInstanceName" + }, + "customDimensions/CustomPerfCounter": { + "displayName": "CustomPerfCounter" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/query-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/query-post.json new file mode 100644 index 000000000000..bee47d4abfa2 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/query-post.json @@ -0,0 +1,93 @@ +{ + "title": "Post Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", + "body": { + "timespan": "PT12H", + "query": "requests | summarize count() by bin(timestamp, 1h)" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5", + "x-ms-correlation-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5" + }, + "body": { + "tables": [ + { + "name": "PrimaryResult", + "columns": [ + { + "name": "timestamp", + "type": "datetime" + }, + { + "name": "count_", + "type": "long" + } + ], + "rows": [ + [ + "2018-02-02T05:00:00Z", + "255" + ], + [ + "2018-02-01T17:00:00Z", + "148" + ], + [ + "2018-02-01T18:00:00Z", + "453" + ], + [ + "2018-02-01T19:00:00Z", + "404" + ], + [ + "2018-02-01T20:00:00Z", + "403" + ], + [ + "2018-02-01T21:00:00Z", + "405" + ], + [ + "2018-02-01T22:00:00Z", + "438" + ], + [ + "2018-02-01T23:00:00Z", + "403" + ], + [ + "2018-02-02T00:00:00Z", + "423" + ], + [ + "2018-02-02T01:00:00Z", + "403" + ], + [ + "2018-02-02T02:00:00Z", + "425" + ], + [ + "2018-02-02T03:00:00Z", + "437" + ], + [ + "2018-02-02T04:00:00Z", + "420" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/swagger.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/swagger.json new file mode 100644 index 000000000000..93c4d180a37b --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/swagger.json @@ -0,0 +1,2071 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-04-20", + "title": "Application Insights Data Plane", + "description": "This API exposes AI metric & event information and associated metadata", + "termsOfService": "https://dev.applicationinsights.io/tos", + "contact": { + "name": "AIAPI Team", + "url": "https://dev.applicationinsights.io/support", + "email": "aiapi@microsoft.com" + }, + "license": { + "name": "Microsoft", + "url": "https://dev.applicationinsights.io/license" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/query": { + "post": { + "operationId": "Query_Execute", + "summary": "Execute an Analytics query", + "description": "Executes an Analytics query for data. [Here](https://dev.applicationinsights.io/documentation/Using-the-API/Query) is an example for using POST with an Analytics query.", + "x-ms-examples": { + "queryPost": { + "$ref": "examples/query-post.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/queryBody" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/queryResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/{metricId}": { + "get": { + "operationId": "Metrics_Get", + "summary": "Retrieve metric data", + "description": "Gets metric values for a single metric", + "x-ms-examples": { + "simpleMetric": { + "$ref": "examples/metric-get.json" + }, + "intervaledMetric": { + "$ref": "examples/metric-get-full.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/metricId" + }, + { + "$ref": "#/parameters/metricsTimespan" + }, + { + "$ref": "#/parameters/metricsInterval" + }, + { + "$ref": "#/parameters/metricsAggregation" + }, + { + "$ref": "#/parameters/metricsSegment" + }, + { + "$ref": "#/parameters/metricsTop" + }, + { + "$ref": "#/parameters/metricsOrderBy" + }, + { + "$ref": "#/parameters/metricsFilter" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/metricsResult" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/metadata": { + "get": { + "operationId": "Metrics_GetMetadata", + "summary": "Retrieve metric metatadata", + "description": "Gets metadata describing the available metrics", + "x-ms-examples": { + "metricMetadata": { + "$ref": "examples/metrics-get-metadata.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "responses": { + "200": { + "description": "Successful responses", + "schema": { + "type": "object" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}": { + "get": { + "operationId": "Events_GetByType", + "summary": "Execute OData query", + "description": "Executes an OData query for events", + "x-ms-examples": { + "eventByType": { + "$ref": "examples/events-get-by-type.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/eventType" + }, + { + "$ref": "#/parameters/eventsTimespan" + }, + { + "$ref": "#/parameters/eventsFilter" + }, + { + "$ref": "#/parameters/eventsSearch" + }, + { + "$ref": "#/parameters/eventsOrderBy" + }, + { + "$ref": "#/parameters/eventsSelect" + }, + { + "$ref": "#/parameters/eventsSkip" + }, + { + "$ref": "#/parameters/eventsTop" + }, + { + "$ref": "#/parameters/eventsFormat" + }, + { + "$ref": "#/parameters/eventsCount" + }, + { + "$ref": "#/parameters/eventsApply" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "produces": [ + "application/json;odata=none", + "application/json;odata=minimal", + "application/json;odata=full" + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/eventsResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}/{eventId}": { + "get": { + "operationId": "Events_Get", + "summary": "Get an event", + "description": "Gets the data for a single event", + "x-ms-examples": { + "eventById": { + "$ref": "examples/events-get-by-id.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/eventType" + }, + { + "$ref": "#/parameters/eventsTimespan" + }, + { + "$ref": "#/parameters/eventId" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "produces": [ + "application/json", + "application/json;odata=none", + "application/json;odata=minimal", + "application/json;odata=full" + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/eventsResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/$metadata": { + "get": { + "operationId": "Events_GetOdataMetadata", + "summary": "Get OData metadata", + "description": "Gets OData EDMX metadata describing the event data model", + "x-ms-examples": { + "eventMetadata": { + "$ref": "examples/events-get-metadata.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/applicationName" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "produces": [ + "application/xml;charset=utf-8" + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "type": "object" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + } + }, + "parameters": { + "appId": { + "name": "appId", + "description": "ID of the application. This is Application ID from the API Access settings blade in the Azure portal.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "metricId": { + "name": "metricId", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "description": "ID of the metric. This is either a standard AI metric, or an application-specific custom metric.", + "type": "string", + "enum": [ + "requests/count", + "requests/duration", + "requests/failed", + "users/count", + "users/authenticated", + "pageViews/count", + "pageViews/duration", + "client/processingDuration", + "client/receiveDuration", + "client/networkDuration", + "client/sendDuration", + "client/totalDuration", + "dependencies/count", + "dependencies/failed", + "dependencies/duration", + "exceptions/count", + "exceptions/browser", + "exceptions/server", + "sessions/count", + "performanceCounters/requestExecutionTime", + "performanceCounters/requestsPerSecond", + "performanceCounters/requestsInQueue", + "performanceCounters/memoryAvailableBytes", + "performanceCounters/exceptionsPerSecond", + "performanceCounters/processCpuPercentage", + "performanceCounters/processIOBytesPerSecond", + "performanceCounters/processPrivateBytes", + "performanceCounters/processorCpuPercentage", + "availabilityResults/availabilityPercentage", + "availabilityResults/duration", + "billing/telemetryCount", + "customEvents/count" + ], + "x-ms-enum": { + "name": "MetricId", + "modelAsString": true + } + }, + "metricsTimespan": { + "name": "timespan", + "in": "query", + "required": false, + "x-ms-parameter-location": "method", + "description": "The timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` (\"last 12 hours\") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response.", + "type": "string" + }, + "metricsAggregation": { + "name": "aggregation", + "in": "query", + "collectionFormat": "csv", + "x-ms-parameter-location": "method", + "description": "The aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "min", + "max", + "avg", + "sum", + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } + } + }, + "metricsInterval": { + "name": "interval", + "in": "query", + "x-ms-parameter-location": "method", + "description": "The time interval to use when retrieving metric values. This is an ISO8601 duration. If interval is omitted, the metric value is aggregated across the entire timespan. If interval is supplied, the server may adjust the interval to a more appropriate size based on the timespan used for the query. In all cases, the actual interval used for the query is included in the response.", + "type": "string", + "format": "duration" + }, + "metricsSegment": { + "name": "segment", + "in": "query", + "collectionFormat": "csv", + "x-ms-parameter-location": "method", + "description": "The name of the dimension to segment the metric values by. This dimension must be applicable to the metric you are retrieving. To segment by more than one dimension at a time, separate them with a comma (,). In this case, the metric data will be segmented in the order the dimensions are listed in the parameter.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "applicationBuild", + "applicationVersion", + "authenticatedOrAnonymousTraffic", + "browser", + "browserVersion", + "city", + "cloudRoleName", + "cloudServiceName", + "continent", + "countryOrRegion", + "deploymentId", + "deploymentUnit", + "deviceType", + "environment", + "hostingLocation", + "instanceName" + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } + } + }, + "metricsTop": { + "name": "top", + "in": "query", + "x-ms-parameter-location": "method", + "description": "The number of segments to return. This value is only valid when segment is specified.", + "type": "integer", + "format": "int32" + }, + "metricsOrderBy": { + "name": "orderby", + "in": "query", + "x-ms-parameter-location": "method", + "description": "The aggregation function and direction to sort the segments by. This value is only valid when segment is specified.", + "type": "string" + }, + "metricsFilter": { + "name": "filter", + "in": "query", + "x-ms-parameter-location": "method", + "description": "An expression used to filter the results. This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.", + "type": "string" + }, + "metricsPostBody": { + "name": "body", + "description": "The batched metrics query.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/metricsPostBody" + }, + "x-ms-parameter-location": "method" + }, + "eventType": { + "name": "eventType", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "description": "The type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types.", + "type": "string", + "enum": [ + "$all", + "traces", + "customEvents", + "pageViews", + "browserTimings", + "requests", + "dependencies", + "exceptions", + "availabilityResults", + "performanceCounters", + "customMetrics" + ], + "x-ms-enum": { + "name": "EventType", + "modelAsString": true + } + }, + "eventId": { + "name": "eventId", + "in": "path", + "required": true, + "x-ms-parameter-location": "method", + "description": "ID of event.", + "type": "string" + }, + "eventsTimespan": { + "name": "timespan", + "in": "query", + "required": false, + "x-ms-parameter-location": "method", + "description": "Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.", + "type": "string" + }, + "eventsFilter": { + "name": "$filter", + "in": "query", + "required": false, + "x-ms-parameter-location": "method", + "description": "An expression used to filter the returned events", + "type": "string" + }, + "eventsSearch": { + "name": "$search", + "in": "query", + "x-ms-parameter-location": "method", + "description": "A free-text search expression to match for whether a particular event should be returned", + "type": "string" + }, + "eventsOrderBy": { + "name": "$orderby", + "in": "query", + "x-ms-parameter-location": "method", + "description": "A comma-separated list of properties with \\\"asc\\\" (the default) or \\\"desc\\\" to control the order of returned events", + "type": "string" + }, + "eventsSelect": { + "name": "$select", + "in": "query", + "x-ms-parameter-location": "method", + "description": "Limits the properties to just those requested on each returned event", + "type": "string" + }, + "eventsSkip": { + "name": "$skip", + "in": "query", + "x-ms-parameter-location": "method", + "description": "The number of items to skip over before returning events", + "type": "integer", + "format": "int32" + }, + "eventsTop": { + "name": "$top", + "in": "query", + "x-ms-parameter-location": "method", + "description": "The number of events to return", + "type": "integer", + "format": "int32" + }, + "eventsFormat": { + "name": "$format", + "in": "query", + "x-ms-parameter-location": "method", + "description": "Format for the returned events", + "type": "string" + }, + "eventsCount": { + "name": "$count", + "in": "query", + "x-ms-parameter-location": "method", + "description": "Request a count of matching items included with the returned events", + "type": "boolean" + }, + "eventsApply": { + "name": "$apply", + "in": "query", + "x-ms-parameter-location": "method", + "description": "An expression used for aggregation over returned events", + "type": "string" + }, + "applicationsParam": { + "description": "A list of applications over which to query.", + "name": "applications", + "in": "query", + "collectionFormat": "csv", + "required": false, + "default": "", + "x-ms-parameter-location": "method", + "type": "string" + }, + "queryTimespan": { + "name": "timespan", + "in": "query", + "required": false, + "x-ms-parameter-location": "method", + "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", + "type": "string" + }, + "queryParam": { + "name": "query", + "in": "query", + "required": true, + "x-ms-parameter-location": "method", + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "string" + }, + "queryBody": { + "name": "body", + "in": "body", + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "required": true, + "schema": { + "$ref": "#/definitions/queryBody" + }, + "x-ms-parameter-location": "method" + }, + "apiVersion": { + "name": "apiVersion", + "description": "Client API version.", + "in": "query", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupName": { + "name": "resourceGroupName", + "description": "The name of the resource group to get. The name is case insensitive.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "applicationName": { + "name": "applicationName", + "description": "Name of the Application Insights application.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "metricId": { + "description": "ID of the metric. This is either a standard AI metric, or an application-specific custom metric.", + "type": "string", + "enum": [ + "requests/count", + "requests/duration", + "requests/failed", + "users/count", + "users/authenticated", + "pageViews/count", + "pageViews/duration", + "client/processingDuration", + "client/receiveDuration", + "client/networkDuration", + "client/sendDuration", + "client/totalDuration", + "dependencies/count", + "dependencies/failed", + "dependencies/duration", + "exceptions/count", + "exceptions/browser", + "exceptions/server", + "sessions/count", + "performanceCounters/requestExecutionTime", + "performanceCounters/requestsPerSecond", + "performanceCounters/requestsInQueue", + "performanceCounters/memoryAvailableBytes", + "performanceCounters/exceptionsPerSecond", + "performanceCounters/processCpuPercentage", + "performanceCounters/processIOBytesPerSecond", + "performanceCounters/processPrivateBytes", + "performanceCounters/processorCpuPercentage", + "availabilityResults/availabilityPercentage", + "availabilityResults/duration", + "billing/telemetryCount", + "customEvents/count" + ], + "x-ms-enum": { + "name": "MetricId", + "modelAsString": true + } + }, + "metricsTimespan": { + "description": "The timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` (\"last 12 hours\") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response.", + "type": "string" + }, + "metricsAggregation": { + "description": "The aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "min", + "max", + "avg", + "sum", + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } + } + }, + "metricsInterval": { + "description": "The time interval to use when retrieving metric values. This is an ISO8601 duration. If interval is omitted, the metric value is aggregated across the entire timespan. If interval is supplied, the server may adjust the interval to a more appropriate size based on the timespan used for the query. In all cases, the actual interval used for the query is included in the response.", + "type": "string", + "format": "duration" + }, + "metricsSegment": { + "description": "The name of the dimension to segment the metric values by. This dimension must be applicable to the metric you are retrieving. To segment by more than one dimension at a time, separate them with a comma (,). In this case, the metric data will be segmented in the order the dimensions are listed in the parameter.", + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "applicationBuild", + "applicationVersion", + "authenticatedOrAnonymousTraffic", + "browser", + "browserVersion", + "city", + "cloudRoleName", + "cloudServiceName", + "continent", + "countryOrRegion", + "deploymentId", + "deploymentUnit", + "deviceType", + "environment", + "hostingLocation", + "instanceName" + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } + } + }, + "metricsTop": { + "description": "The number of segments to return. This value is only valid when segment is specified.", + "type": "integer", + "format": "int32" + }, + "metricsOrderBy": { + "description": "The aggregation function and direction to sort the segments by. This value is only valid when segment is specified.", + "type": "string" + }, + "metricsFilter": { + "description": "An expression used to filter the results. This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.", + "type": "string" + }, + "metricsPostBody": { + "description": "Metrics request body", + "type": "array", + "items": { + "$ref": "#/definitions/metricsPostBodySchema" + } + }, + "metricsPostBodySchema": { + "description": "A metric request", + "properties": { + "id": { + "type": "string", + "description": "An identifier for this query. Must be unique within the post body of the request. This identifier will be the 'id' property of the response object representing this query." + }, + "parameters": { + "type": "object", + "description": "The parameters for a single metrics query", + "properties": { + "metricId": { + "$ref": "#/definitions/metricId" + }, + "timespan": { + "$ref": "#/definitions/metricsTimespan" + }, + "aggregation": { + "$ref": "#/definitions/metricsAggregation" + }, + "interval": { + "$ref": "#/definitions/metricsInterval" + }, + "segment": { + "$ref": "#/definitions/metricsSegment" + }, + "top": { + "$ref": "#/definitions/metricsTop" + }, + "orderby": { + "$ref": "#/definitions/metricsOrderBy" + }, + "filter": { + "$ref": "#/definitions/metricsFilter" + } + }, + "required": [ + "metricId" + ] + } + }, + "required": [ + "id", + "parameters" + ] + }, + "metricsResults": { + "description": "A set of metric results.", + "type": "array", + "items": { + "properties": { + "id": { + "description": "The specified ID for this metric.", + "type": "string" + }, + "status": { + "description": "The HTTP status code of this metric query.", + "type": "integer", + "format": "int32" + }, + "body": { + "description": "The results of this metric query.", + "$ref": "#/definitions/metricsResult" + } + }, + "required": [ + "id", + "status", + "body" + ] + } + }, + "metricsResult": { + "description": "A metric result.", + "properties": { + "value": { + "$ref": "#/definitions/metricsResultInfo" + } + } + }, + "metricsResultInfo": { + "description": "A metric result data.", + "type": "object", + "properties": { + "start": { + "description": "Start time of the metric.", + "type": "string", + "format": "date_time" + }, + "end": { + "description": "Start time of the metric.", + "type": "string", + "format": "date_time" + }, + "interval": { + "description": "The interval used to segment the metric data.", + "type": "string", + "format": "duration" + }, + "segments": { + "description": "Segmented metric data (if segmented).", + "type": "array", + "items": { + "$ref": "#/definitions/metricsSegmentInfo" + } + } + }, + "additionalProperties": { + "type": "object" + } + }, + "metricsSegmentInfo": { + "description": "A metric segment", + "type": "object", + "properties": { + "start": { + "description": "Start time of the metric segment (only when an interval was specified).", + "type": "string", + "format": "date_time" + }, + "end": { + "description": "Start time of the metric segment (only when an interval was specified).", + "type": "string", + "format": "date_time" + }, + "segments": { + "description": "Segmented metric data (if further segmented).", + "type": "array", + "items": { + "$ref": "#/definitions/metricsSegmentInfo" + } + } + }, + "additionalProperties": { + "type": "object" + } + }, + "eventType": { + "description": "The type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types.", + "type": "string", + "enum": [ + "$all", + "traces", + "customEvents", + "pageViews", + "browserTimings", + "requests", + "dependencies", + "exceptions", + "availabilityResults", + "performanceCounters", + "customMetrics" + ], + "x-ms-enum": { + "name": "EventType", + "modelAsString": true + } + }, + "eventId": { + "description": "ID of event.", + "type": "string" + }, + "eventsTimespan": { + "description": "Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.", + "type": "string" + }, + "eventsFilter": { + "description": "An expression used to filter the returned events", + "type": "string" + }, + "eventsSearch": { + "description": "A free-text search expression to match for whether a particular event should be returned", + "type": "string" + }, + "eventsOrderBy": { + "description": "A comma-separated list of properties with \\\"asc\\\" (the default) or \\\"desc\\\" to control the order of returned events", + "type": "string" + }, + "eventsSelect": { + "description": "Limits the properties to just those requested on each returned event", + "type": "string" + }, + "eventsSkip": { + "description": "The number of items to skip over before returning events", + "type": "integer", + "format": "int32" + }, + "eventsTop": { + "description": "The number of events to return", + "type": "integer", + "format": "int32" + }, + "eventsFormat": { + "description": "Format for the returned events", + "type": "string" + }, + "eventsCount": { + "description": "Request a count of matching items included with the returned events", + "type": "boolean" + }, + "eventsApply": { + "description": "An expression used for aggregation over returned events", + "type": "string" + }, + "eventsResults": { + "description": "An events query result.", + "type": "object", + "properties": { + "@odata.context": { + "description": "OData context metadata endpoint for this response", + "type": "string" + }, + "@ai.messages": { + "description": "OData messages for this response.", + "type": "array", + "items": { + "$ref": "#/definitions/errorInfo" + } + }, + "value": { + "description": "Contents of the events query result.", + "type": "array", + "items": { + "$ref": "#/definitions/eventsResultData" + } + } + } + }, + "eventsResult": { + "description": "An event query result.", + "type": "object", + "properties": { + "@ai.messages": { + "description": "OData messages for this response.", + "type": "array", + "items": { + "$ref": "#/definitions/errorInfo" + } + }, + "value": { + "$ref": "#/definitions/eventsResultData" + } + } + }, + "eventsResultData": { + "description": "Events query result data.", + "type": "object", + "discriminator": "type", + "properties": { + "id": { + "description": "The unique ID for this event.", + "type": "string" + }, + "type": { + "description": "The type of event.", + "$ref": "#/definitions/eventType" + }, + "count": { + "description": "Count of the event", + "type": "integer", + "format": "int64" + }, + "timestamp": { + "description": "Timestamp of the event", + "type": "string", + "format": "date-time" + }, + "customDimensions": { + "description": "Custom dimensions of the event", + "type": "object", + "properties": { + "additionalProperties": { + "type": "object" + } + } + }, + "customMeasurements": { + "description": "Custom measurements of the event", + "type": "object", + "properties": { + "additionalProperties": { + "type": "object" + } + } + }, + "operation": { + "description": "Operation info of the event", + "$ref": "#/definitions/eventsOperationInfo" + }, + "session": { + "description": "Session info of the event", + "$ref": "#/definitions/eventsSessionInfo" + }, + "user": { + "description": "User info of the event", + "$ref": "#/definitions/eventsUserInfo" + }, + "cloud": { + "description": "Cloud info of the event", + "$ref": "#/definitions/eventsCloudInfo" + }, + "ai": { + "description": "AI info of the event", + "$ref": "#/definitions/eventsAiInfo" + }, + "application": { + "description": "Application info of the event", + "$ref": "#/definitions/eventsApplicationInfo" + }, + "client": { + "description": "Client info of the event", + "$ref": "#/definitions/eventsClientInfo" + } + } + }, + "eventsTraceResult": { + "x-ms-discriminator-value": "trace", + "description": "A trace result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "trace": { + "$ref": "#/definitions/eventsTraceInfo" + } + } + } + ] + }, + "eventsTraceInfo": { + "description": "The trace information", + "type": "object", + "properties": { + "message": { + "description": "The trace message", + "type": "string" + }, + "severityLevel": { + "description": "The trace severity level", + "type": "integer" + } + } + }, + "eventsCustomEventResult": { + "x-ms-discriminator-value": "customEvent", + "description": "A custom event result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "customEvent": { + "$ref": "#/definitions/eventsCustomEventInfo" + } + } + } + ] + }, + "eventsCustomEventInfo": { + "description": "The custom event information", + "type": "object", + "properties": { + "name": { + "description": "The name of the custom event", + "type": "string" + } + } + }, + "eventsPageViewResult": { + "x-ms-discriminator-value": "pageView", + "description": "A page view result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "pageView": { + "$ref": "#/definitions/eventsPageViewInfo" + } + } + } + ] + }, + "eventsPageViewInfo": { + "description": "The page view information", + "type": "object", + "properties": { + "name": { + "description": "The name of the page", + "type": "string" + }, + "url": { + "description": "The URL of the page", + "type": "string" + }, + "duration": { + "description": "The duration of the page view", + "type": "string" + }, + "performanceBucket": { + "description": "The performance bucket of the page view", + "type": "string" + } + } + }, + "eventsBrowserTimingResult": { + "x-ms-discriminator-value": "browserTiming", + "description": "A browser timing result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "browserTiming": { + "$ref": "#/definitions/eventsBrowserTimingInfo" + }, + "clientPerformance": { + "$ref": "#/definitions/eventsClientPerformanceInfo" + } + } + } + ] + }, + "eventsBrowserTimingInfo": { + "description": "The browser timing information", + "type": "object", + "properties": { + "urlPath": { + "description": "The path of the URL", + "type": "string" + }, + "urlHost": { + "description": "The host of the URL", + "type": "string" + }, + "name": { + "description": "The name of the page", + "type": "string" + }, + "url": { + "description": "The url of the page", + "type": "string" + }, + "totalDuration": { + "description": "The total duration of the load", + "type": "integer", + "format": "int64" + }, + "performanceBucket": { + "description": "The performance bucket of the load", + "type": "string" + }, + "networkDuration": { + "description": "The network duration of the load", + "type": "integer", + "format": "int64" + }, + "sendDuration": { + "description": "The send duration of the load", + "type": "integer", + "format": "int64" + }, + "receiveDuration": { + "description": "The receive duration of the load", + "type": "integer", + "format": "int64" + }, + "processingDuration": { + "description": "The processing duration of the load", + "type": "integer", + "format": "int64" + } + } + }, + "eventsClientPerformanceInfo": { + "description": "Client performance information", + "type": "object", + "properties": { + "name": { + "description": "The name of the client performance", + "type": "string" + } + } + }, + "eventsRequestResult": { + "x-ms-discriminator-value": "request", + "description": "A request result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "request": { + "$ref": "#/definitions/eventsRequestInfo" + } + } + } + ] + }, + "eventsRequestInfo": { + "description": "The request info", + "type": "object", + "properties": { + "name": { + "description": "The name of the request", + "type": "string" + }, + "url": { + "description": "The URL of the request", + "type": "string" + }, + "success": { + "description": "Indicates if the request was successful", + "type": "string" + }, + "duration": { + "description": "The duration of the request", + "type": "number", + "format": "double" + }, + "performanceBucket": { + "description": "The performance bucket of the request", + "type": "string" + }, + "resultCode": { + "description": "The result code of the request", + "type": "string" + }, + "source": { + "description": "The source of the request", + "type": "string" + }, + "id": { + "description": "The ID of the request", + "type": "string" + } + } + }, + "eventsDependencyResult": { + "x-ms-discriminator-value": "dependency", + "description": "A dependency result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "dependency": { + "$ref": "#/definitions/eventsDependencyInfo" + } + } + } + ] + }, + "eventsDependencyInfo": { + "description": "The dependency info", + "type": "object", + "properties": { + "target": { + "description": "The target of the dependency", + "type": "string" + }, + "data": { + "description": "The data of the dependency", + "type": "string" + }, + "success": { + "description": "Indicates if the dependency was successful", + "type": "string" + }, + "duration": { + "description": "The duration of the dependency", + "type": "integer", + "format": "int64" + }, + "performanceBucket": { + "description": "The performance bucket of the dependency", + "type": "string" + }, + "resultCode": { + "description": "The result code of the dependency", + "type": "string" + }, + "type": { + "description": "The type of the dependency", + "type": "string" + }, + "name": { + "description": "The name of the dependency", + "type": "string" + }, + "id": { + "description": "The ID of the dependency", + "type": "string" + } + } + }, + "eventsExceptionResult": { + "x-ms-discriminator-value": "exception", + "description": "An exception result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "exception": { + "$ref": "#/definitions/eventsExceptionInfo" + } + } + } + ] + }, + "eventsExceptionInfo": { + "description": "The exception info", + "type": "object", + "properties": { + "severityLevel": { + "description": "The severity level of the exception", + "type": "integer" + }, + "problemId": { + "description": "The problem ID of the exception", + "type": "string" + }, + "handledAt": { + "description": "Indicates where the exception was handled at", + "type": "string" + }, + "assembly": { + "description": "The assembly which threw the exception", + "type": "string" + }, + "method": { + "description": "The method that threw the exception", + "type": "string" + }, + "message": { + "description": "The message of the exception", + "type": "string" + }, + "type": { + "description": "The type of the exception", + "type": "string" + }, + "outerType": { + "description": "The outer type of the exception", + "type": "string" + }, + "outerMethod": { + "description": "The outer method of the exception", + "type": "string" + }, + "outerAssembly": { + "description": "The outer assmebly of the exception", + "type": "string" + }, + "outerMessage": { + "description": "The outer message of the exception", + "type": "string" + }, + "innermostType": { + "description": "The inner most type of the exception", + "type": "string" + }, + "innermostMessage": { + "description": "The inner most message of the exception", + "type": "string" + }, + "innermostMethod": { + "description": "The inner most method of the exception", + "type": "string" + }, + "innermostAssembly": { + "description": "The inner most assembly of the exception", + "type": "string" + }, + "details": { + "description": "The details of the exception", + "type": "array", + "items": { + "$ref": "#/definitions/eventsExceptionDetail" + } + } + } + }, + "eventsExceptionDetail": { + "description": "Exception details", + "type": "object", + "properties": { + "severityLevel": { + "description": "The severity level of the exception detail", + "type": "string" + }, + "outerId": { + "description": "The outer ID of the exception detail", + "type": "string" + }, + "message": { + "description": "The message of the exception detail", + "type": "string" + }, + "type": { + "description": "The type of the exception detail", + "type": "string" + }, + "id": { + "description": "The ID of the exception detail", + "type": "string" + }, + "parsedStack": { + "description": "The parsed stack", + "type": "array", + "items": { + "$ref": "#/definitions/eventsExceptionDetailsParsedStack" + } + } + } + }, + "eventsExceptionDetailsParsedStack": { + "description": "A parsed stack entry", + "type": "object", + "properties": { + "assembly": { + "description": "The assembly of the stack entry", + "type": "string" + }, + "method": { + "description": "The method of the stack entry", + "type": "string" + }, + "level": { + "description": "The level of the stack entry", + "type": "integer", + "format": "int64" + }, + "line": { + "description": "The line of the stack entry", + "type": "integer", + "format": "int64" + } + } + }, + "eventsAvailabilityResultResult": { + "x-ms-discriminator-value": "availabilityResult", + "description": "An availability result result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "availabilityResult": { + "$ref": "#/definitions/eventsAvailabilityResultInfo" + } + } + } + ] + }, + "eventsAvailabilityResultInfo": { + "description": "The availability result info", + "type": "object", + "properties": { + "name": { + "description": "The name of the availability result", + "type": "string" + }, + "success": { + "description": "Indicates if the availability result was successful", + "type": "string" + }, + "duration": { + "description": "The duration of the availability result", + "type": "integer", + "format": "int64" + }, + "performanceBucket": { + "description": "The performance bucket of the availability result", + "type": "string" + }, + "message": { + "description": "The message of the availability result", + "type": "string" + }, + "location": { + "description": "The location of the availability result", + "type": "string" + }, + "id": { + "description": "The ID of the availability result", + "type": "string" + }, + "size": { + "description": "The size of the availability result", + "type": "string" + } + } + }, + "eventsPerformanceCounterResult": { + "x-ms-discriminator-value": "performanceCounter", + "description": "A performance counter result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "performanceCounter": { + "$ref": "#/definitions/eventsPerformanceCounterInfo" + } + } + } + ] + }, + "eventsPerformanceCounterInfo": { + "description": "The performance counter info", + "type": "object", + "properties": { + "value": { + "description": "The value of the performance counter", + "type": "number", + "format": "double" + }, + "name": { + "description": "The name of the performance counter", + "type": "string" + }, + "category": { + "description": "The category of the performance counter", + "type": "string" + }, + "counter": { + "description": "The counter of the performance counter", + "type": "string" + }, + "instanceName": { + "description": "The instance name of the performance counter", + "type": "string" + }, + "instance": { + "description": "The instance of the performance counter", + "type": "string" + } + } + }, + "eventsCustomMetricResult": { + "x-ms-discriminator-value": "customMetric", + "description": "A custom metric result", + "allOf": [ + { + "$ref": "#/definitions/eventsResultData" + }, + { + "type": "object", + "properties": { + "customMetric": { + "$ref": "#/definitions/eventsCustomMetricInfo" + } + } + } + ] + }, + "eventsCustomMetricInfo": { + "description": "The custom metric info", + "type": "object", + "properties": { + "name": { + "description": "The name of the custom metric", + "type": "string" + }, + "value": { + "description": "The value of the custom metric", + "type": "number", + "format": "double" + }, + "valueSum": { + "description": "The sum of the custom metric", + "type": "number", + "format": "double" + }, + "valueCount": { + "description": "The count of the custom metric", + "type": "integer", + "format": "int32" + }, + "valueMin": { + "description": "The minimum value of the custom metric", + "type": "number", + "format": "double" + }, + "valueMax": { + "description": "The maximum value of the custom metric", + "type": "number", + "format": "double" + }, + "valueStdDev": { + "description": "The standard deviation of the custom metric", + "type": "number", + "format": "double" + } + } + }, + "eventsOperationInfo": { + "description": "Operation info for an event result", + "type": "object", + "properties": { + "name": { + "description": "Name of the operation", + "type": "string" + }, + "id": { + "description": "ID of the operation", + "type": "string" + }, + "parentId": { + "description": "Parent ID of the operation", + "type": "string" + }, + "syntheticSource": { + "description": "Synthetic source of the operation", + "type": "string" + } + } + }, + "eventsSessionInfo": { + "description": "Session info for an event result", + "type": "object", + "properties": { + "id": { + "description": "ID of the session", + "type": "string" + } + } + }, + "eventsUserInfo": { + "description": "User info for an event result", + "type": "object", + "properties": { + "id": { + "description": "ID of the user", + "type": "string" + }, + "accountId": { + "description": "Account ID of the user", + "type": "string" + }, + "authenticatedId": { + "description": "Authenticated ID of the user", + "type": "string" + } + } + }, + "eventsCloudInfo": { + "description": "Cloud info for an event result", + "type": "object", + "properties": { + "roleName": { + "description": "Role name of the cloud", + "type": "string" + }, + "roleInstance": { + "description": "Role instance of the cloud", + "type": "string" + } + } + }, + "eventsAiInfo": { + "description": "AI related application info for an event result", + "type": "object", + "properties": { + "iKey": { + "description": "iKey of the app", + "type": "string" + }, + "appName": { + "description": "Name of the application", + "type": "string" + }, + "appId": { + "description": "ID of the application", + "type": "string" + }, + "sdkVersion": { + "description": "SDK version of the application", + "type": "string" + } + } + }, + "eventsApplicationInfo": { + "description": "Application info for an event result", + "type": "object", + "properties": { + "version": { + "description": "Version of the application", + "type": "string" + } + } + }, + "eventsClientInfo": { + "description": "Client info for an event result", + "type": "object", + "properties": { + "model": { + "description": "Model of the client", + "type": "string" + }, + "os": { + "description": "Operating system of the client", + "type": "string" + }, + "type": { + "description": "Type of the client", + "type": "string" + }, + "browser": { + "description": "Browser of the client", + "type": "string" + }, + "ip": { + "description": "IP address of the client", + "type": "string" + }, + "city": { + "description": "City of the client", + "type": "string" + }, + "stateOrProvince": { + "description": "State or province of the client", + "type": "string" + }, + "countryOrRegion": { + "description": "Country or region of the client", + "type": "string" + } + } + }, + "queryParam": { + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "string" + }, + "queryTimespan": { + "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", + "type": "string" + }, + "applicationsParam": { + "description": "Application IDs to include in cross-application queries.", + "type": "array", + "items": { + "type": "string" + } + }, + "queryBody": { + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "object", + "properties": { + "query": { + "description": "The query to execute.", + "$ref": "#/definitions/queryParam" + }, + "timespan": { + "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", + "$ref": "#/definitions/queryTimespan" + }, + "applications": { + "description": "A list of Application IDs for cross-application queries.", + "$ref": "#/definitions/applicationsParam" + } + }, + "required": [ + "query" + ] + }, + "queryResults": { + "title": "A query response.", + "description": "Contains the tables, columns & rows resulting from a query.", + "type": "object", + "properties": { + "tables": { + "description": "The list of tables, columns and rows.", + "type": "array", + "items": { + "$ref": "#/definitions/table" + } + } + }, + "required": [ + "tables" + ] + }, + "table": { + "title": "A query response table.", + "description": "Contains the columns and rows for one table in a query response.", + "type": "object", + "properties": { + "name": { + "description": "The name of the table.", + "type": "string" + }, + "columns": { + "description": "The list of columns in this table.", + "type": "array", + "items": { + "$ref": "#/definitions/column" + } + }, + "rows": { + "description": "The resulting rows from this query.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "required": [ + "name", + "columns", + "rows" + ] + }, + "column": { + "title": "A table column.", + "description": "A column in a table.", + "type": "object", + "properties": { + "name": { + "description": "The name of this column.", + "type": "string" + }, + "type": { + "description": "The data type of this column.", + "type": "string" + } + } + }, + "errorDetail": { + "title": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error's code.", + "type": "string" + }, + "message": { + "description": "A human readable error message.", + "type": "string" + }, + "target": { + "description": "Indicates which property in the request is responsible for the error.", + "type": "string" + }, + "value": { + "description": "Indicates which value in 'target' is responsible for the error.", + "type": "string" + }, + "resources": { + "description": "Indicates resources which were responsible for the error.", + "type": "array", + "items": { + "type": "string" + } + }, + "additionalProperties": { + "type": "object" + } + }, + "required": [ + "code", + "message" + ] + }, + "errorInfo": { + "title": "The code and message for an error.", + "type": "object", + "properties": { + "code": { + "description": "A machine readable error code.", + "type": "string" + }, + "message": { + "description": "A human readable error message.", + "type": "string" + }, + "details": { + "description": "error details.", + "type": "array", + "items": { + "$ref": "#/definitions/errorDetail" + } + }, + "innererror": { + "description": "Inner error details if they exist.", + "$ref": "#/definitions/errorInfo" + }, + "additionalProperties": { + "type": "object" + } + }, + "required": [ + "code", + "message" + ] + }, + "errorResponse": { + "title": "Error details.", + "description": "Contains details when the response code indicates an error.", + "type": "object", + "properties": { + "error": { + "description": "The error details.", + "$ref": "#/definitions/errorInfo" + } + }, + "required": [ + "error" + ] + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json similarity index 93% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/AppInsights.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index c0cac579e3bc..df69692aa121 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -47,9 +47,9 @@ "paths": { "/apps/{appId}/metrics/{metricId}": { "get": { - "operationId": "GetMetric", + "operationId": "Metrics_Get", "summary": "Retrieve metric data", - "description": "Gets data for a single metric.", + "description": "Gets metric values for a single metric", "x-ms-examples": { "simpleMetric": { "$ref": "examples/metric-get.json" @@ -105,7 +105,7 @@ }, "/apps/{appId}/metrics": { "post": { - "operationId": "GetMetrics", + "operationId": "Metrics_GetMultiple", "summary": "Retrieve metric data", "description": "Gets metric values for multiple metrics", "x-ms-examples": { @@ -139,7 +139,7 @@ }, "/apps/{appId}/metrics/metadata": { "get": { - "operationId": "GetMetricsMetadata", + "operationId": "Metrics_GetMetadata", "summary": "Retrieve metric metatadata", "description": "Gets metadata describing the available metrics", "x-ms-examples": { @@ -154,7 +154,7 @@ ], "responses": { "200": { - "description": "Successful response", + "description": "Successful responses", "schema": { "type": "object" } @@ -170,7 +170,7 @@ }, "/apps/{appId}/events/{eventType}": { "get": { - "operationId": "GetEvents", + "operationId": "Events_GetByType", "summary": "Execute OData query", "description": "Executes an OData query for events", "x-ms-examples": { @@ -239,7 +239,7 @@ }, "/apps/{appId}/events/{eventType}/{eventId}": { "get": { - "operationId": "GetEvent", + "operationId": "Events_Get", "summary": "Get an event", "description": "Gets the data for a single event", "x-ms-examples": { @@ -285,7 +285,7 @@ }, "/apps/{appId}/events/$metadata": { "get": { - "operationId": "GetEventsMetadataOData", + "operationId": "Events_GetOdataMetadata", "summary": "Get OData metadata", "description": "Gets OData EDMX metadata describing the event data model", "x-ms-examples": { @@ -318,45 +318,10 @@ } }, "/apps/{appId}/query": { - "get": { - "operationId": "GetQuery", - "summary": "Execute an Analytics query", - "description": "Executes an Analytics query for data", - "x-ms-examples": { - "queryGet": { - "$ref": "examples/query-get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/appId" - }, - { - "$ref": "#/parameters/queryParam" - }, - { - "$ref": "#/parameters/queryTimespan" - } - ], - "responses": { - "200": { - "description": "Successful response", - "schema": { - "$ref": "#/definitions/queryResults" - } - }, - "default": { - "description": "An error response object.", - "schema": { - "$ref": "#/definitions/errorResponse" - } - } - } - }, "post": { - "operationId": "Query", + "operationId": "Query_Execute", "summary": "Execute an Analytics query", - "description": "Executes an Analytics query for data. [Here](/documentation/2-Using-the-API/Query) is an example for using POST with an Analytics query.", + "description": "Executes an Analytics query for data. [Here](https://dev.applicationinsights.io/documentation/Using-the-API/Query) is an example for using POST with an Analytics query.", "x-ms-examples": { "queryPost": { "$ref": "examples/query-post.json" @@ -368,9 +333,6 @@ }, { "$ref": "#/parameters/queryBody" - }, - { - "$ref": "#/parameters/queryTimespan" } ], "responses": { @@ -388,37 +350,6 @@ } } } - }, - "/apps/{appId}/query/schema": { - "get": { - "operationId": "GetQuerySchema", - "summary": "Get Analytics query metadata", - "description": "Gets Analytics query schema describing the data model", - "x-ms-examples": { - "querySchema": { - "$ref": "examples/query-schema.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/appId" - } - ], - "responses": { - "200": { - "description": "Successful responses", - "schema": { - "$ref": "#/definitions/queryResults" - } - }, - "default": { - "description": "An error response object.", - "schema": { - "$ref": "#/definitions/errorResponse" - } - } - } - } } }, "parameters": { @@ -428,7 +359,7 @@ "in": "path", "required": true, "type": "string", - "x-ms-parameter-location": "client" + "x-ms-parameter-location": "method" }, "metricId": { "name": "metricId", @@ -470,7 +401,11 @@ "availabilityResults/duration", "billing/telemetryCount", "customEvents/count" - ] + ], + "x-ms-enum": { + "name": "MetricId", + "modelAsString": true + } }, "metricsTimespan": { "name": "timespan", @@ -478,8 +413,7 @@ "required": false, "x-ms-parameter-location": "method", "description": "The timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` (\"last 12 hours\") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response.", - "type": "string", - "format": "duration" + "type": "string" }, "metricsAggregation": { "name": "aggregation", @@ -496,8 +430,13 @@ "max", "avg", "sum", - "count" - ] + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } } }, "metricsInterval": { @@ -535,7 +474,11 @@ "environment", "hostingLocation", "instanceName" - ] + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } } }, "metricsTop": { @@ -592,7 +535,7 @@ ], "x-ms-enum": { "name": "EventType", - "modelAsString": false + "modelAsString": true } }, "eventId": { @@ -609,8 +552,7 @@ "required": false, "x-ms-parameter-location": "method", "description": "Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.", - "type": "string", - "format": "duration" + "type": "string" }, "eventsFilter": { "name": "$filter", @@ -678,14 +620,23 @@ "description": "An expression used for aggregation over returned events", "type": "string" }, + "applicationsParam": { + "description": "A list of applications over which to query.", + "name": "applications", + "in": "query", + "collectionFormat": "csv", + "required": false, + "default": "", + "x-ms-parameter-location": "method", + "type": "string" + }, "queryTimespan": { "name": "timespan", "in": "query", "required": false, "x-ms-parameter-location": "method", "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", - "type": "string", - "format": "duration" + "type": "string" }, "queryParam": { "name": "query", @@ -743,12 +694,15 @@ "availabilityResults/duration", "billing/telemetryCount", "customEvents/count" - ] + ], + "x-ms-enum": { + "name": "MetricId", + "modelAsString": true + } }, "metricsTimespan": { "description": "The timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` (\"last 12 hours\") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response.", - "type": "string", - "format": "duration" + "type": "string" }, "metricsAggregation": { "description": "The aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used.", @@ -761,8 +715,13 @@ "max", "avg", "sum", - "count" - ] + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } } }, "metricsInterval": { @@ -793,7 +752,11 @@ "environment", "hostingLocation", "instanceName" - ] + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } } }, "metricsTop": { @@ -971,7 +934,7 @@ ], "x-ms-enum": { "name": "EventType", - "modelAsString": false + "modelAsString": true } }, "eventId": { @@ -980,8 +943,7 @@ }, "eventsTimespan": { "description": "Optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.", - "type": "string", - "format": "duration" + "type": "string" }, "eventsFilter": { "description": "An expression used to filter the returned events", @@ -1072,43 +1034,7 @@ }, "type": { "description": "The type of event.", - "type": "string", - "x-ms-enum": { - "name": "EventType", - "modelAsString": true, - "values": [ - { - "value": "trace" - }, - { - "value": "customEvent" - }, - { - "value": "pageView" - }, - { - "value": "browserTiming" - }, - { - "value": "request" - }, - { - "value": "dependency" - }, - { - "value": "exception" - }, - { - "value": "availabilityResult" - }, - { - "value": "performanceCounter" - }, - { - "value": "customMetric" - } - ] - } + "$ref": "#/definitions/eventType" }, "count": { "description": "Count of the event", @@ -1688,8 +1614,8 @@ "properties": { "value": { "description": "The value of the performance counter", - "type": "integer", - "format": "int64" + "type": "number", + "format": "double" }, "name": { "description": "The name of the performance counter", @@ -1750,8 +1676,8 @@ }, "valueCount": { "description": "The count of the custom metric", - "type": "number", - "format": "double" + "type": "integer", + "format": "int32" }, "valueMin": { "description": "The minimum value of the custom metric", @@ -1910,8 +1836,7 @@ }, "queryTimespan": { "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", - "type": "string", - "format": "duration" + "type": "string" }, "applicationsParam": { "description": "Application IDs to include in cross-application queries.", @@ -1921,7 +1846,7 @@ } }, "queryBody": { - "description": "Query request body", + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", "type": "object", "properties": { "query": { @@ -1933,7 +1858,7 @@ "$ref": "#/definitions/queryTimespan" }, "applications": { - "description": "A list of applications that are included in the query.", + "description": "A list of Application IDs for cross-application queries.", "$ref": "#/definitions/applicationsParam" } }, diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-by-id.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-type.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-by-type.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-type.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-metadata.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/events-get-metadata.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-metadata.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get-custom.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get-custom.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get-custom.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get-custom.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get-full.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get-full.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get-full.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get-full.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-get.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-get.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-post.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metric-post.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metric-post.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metrics-get-metadata.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/metrics-get-metadata.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/metrics-get-metadata.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-get.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-get.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-get.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-post.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-post.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-post.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-schema.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-schema.json similarity index 100% rename from specification/applicationinsights/data-plane/microsoft.insights/v1/examples/query-schema.json rename to specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/query-schema.json diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 65d902137b0f..993e778ecdca 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -37,7 +37,18 @@ These settings apply only when `--tag=v1` is specified on the command line. ``` yaml $(tag) == 'v1' input-file: -- microsoft.insights/v1/AppInsights.json +- microsoft.insights/preview/v1/AppInsights.json +directive: + - reason: Don't expose the GET endpoint since it's behavior is more limited than POST + remove-operation: Query_Get +``` + +``` yaml $(tag) == '20180420' +input-file: +- microsoft.insights/preview/2018-04-20/swagger.json +directive: + - reason: Don't expose the GET endpoint since it's behavior is more limited than POST + remove-operation: Query_Get ``` # Code Generation @@ -51,12 +62,30 @@ Please also specify `--csharp-sdks-folder= ago(1h) | summarize count() by Type, TenantId", + "workspaces": "draft-test,draft-test-2" + }, + "responses": { + "200": { + "body": { + "tables": [ + { + "name": "PrimaryResult", + "columns": [ + { + "name": "Type", + "type": "string" + }, + { + "name": "TenantId", + "type": "string" + }, + { + "name": "count_", + "type": "long" + } + ], + "rows": [ + [ + "Usage", + "63613592-b6f7-4c3d-a390-22ba13102111", + "1" + ], + [ + "Usage", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "1" + ], + [ + "BillingFact", + "63613592-b6f7-4c3d-a390-22ba13102111", + "1" + ], + [ + "BillingFact", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "1" + ], + [ + "Operation", + "63613592-b6f7-4c3d-a390-22ba13102111", + "7" + ], + [ + "Operation", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "5" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json new file mode 100644 index 000000000000..6a7270b99638 --- /dev/null +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json @@ -0,0 +1,161 @@ +{ + "title": "Simple Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "workspaceName": "azure-insights", + "apiVersion": "2017-10-01", + "query": "Usage | take 10", + "timespan": "PT12H" + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5", + "x-ms-correlation-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5" + }, + "body": { + "tables": [ + { + "name": "PrimaryResult", + "columns": [ + { + "name": "TenantId", + "type": "string" + }, + { + "name": "Computer", + "type": "string" + }, + { + "name": "TimeGenerated", + "type": "datetime" + }, + { + "name": "SourceSystem", + "type": "string" + }, + { + "name": "StartTime", + "type": "datetime" + }, + { + "name": "EndTime", + "type": "datetime" + }, + { + "name": "ResourceUri", + "type": "string" + }, + { + "name": "LinkedResourceUri", + "type": "string" + }, + { + "name": "DataType", + "type": "string" + }, + { + "name": "Solution", + "type": "string" + }, + { + "name": "BatchesWithinSla", + "type": "long" + }, + { + "name": "BatchesOutsideSla", + "type": "long" + }, + { + "name": "BatchesCapped", + "type": "long" + }, + { + "name": "TotalBatches", + "type": "long" + }, + { + "name": "AvgLatencyInSeconds", + "type": "real" + }, + { + "name": "Quantity", + "type": "real" + }, + { + "name": "QuantityUnit", + "type": "string" + }, + { + "name": "IsBillable", + "type": "bool" + }, + { + "name": "MeterId", + "type": "string" + }, + { + "name": "LinkedMeterId", + "type": "string" + }, + { + "name": "Type", + "type": "string" + } + ], + "rows": [ + [ + "b438b4f6-912a-46d5-9cb1-b44069212abc", + "ContosoSQLSrv1", + "2017-08-24T06:59:59Z", + "OMS", + "2017-08-24T06:00:00Z", + "2017-08-24T06:59:59Z", + "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourcegroups/contosoazurehq/providers/microsoft.operationalinsights/workspaces/contosoretail-it", + null, + "Perf", + "LogManagement", + "1", + "0", + "0", + "1", + "1.286", + "0.076408", + "MBytes", + "true", + "a4e29a95-5b4c-408b-80e3-113f9410566e", + "00000000-0000-0000-0000-000000000000", + "Usage" + ], + [ + "b438b4f6-912a-46d5-9cb1-b44069212abc", + "Store010Web3", + "2017-08-24T06:59:59Z", + "OMS", + "2017-08-24T06:00:00Z", + "2017-08-24T06:59:59Z", + "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourcegroups/contosoazurehq/providers/microsoft.operationalinsights/workspaces/contosoretail-it", + null, + "Perf", + "LogManagement", + "1", + "0", + "0", + "1", + "1.7", + "0.106767", + "MBytes", + "true", + "a4e29a95-5b4c-408b-80e3-113f9410566e", + "00000000-0000-0000-0000-000000000000", + "Usage" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json new file mode 100644 index 000000000000..f9fd525c53f6 --- /dev/null +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json @@ -0,0 +1,74 @@ +{ + "title": "Cross Workspace Query", + "description": "A cross workspace query that the type and count of each row per workspace.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "workspaceName": "azure-insights", + "apiVersion": "2017-10-01", + "body": { + "query": "union * | where TimeGenerated > ago(1h) | summarize count() by Type, TenantId", + "workspaces": [ + "draft-test", + "draft-test-2" + ] + } + }, + "responses": { + "200": { + "body": { + "tables": [ + { + "name": "PrimaryResult", + "columns": [ + { + "name": "Type", + "type": "string" + }, + { + "name": "TenantId", + "type": "string" + }, + { + "name": "count_", + "type": "long" + } + ], + "rows": [ + [ + "Usage", + "63613592-b6f7-4c3d-a390-22ba13102111", + "1" + ], + [ + "Usage", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "1" + ], + [ + "BillingFact", + "63613592-b6f7-4c3d-a390-22ba13102111", + "1" + ], + [ + "BillingFact", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "1" + ], + [ + "Operation", + "63613592-b6f7-4c3d-a390-22ba13102111", + "7" + ], + [ + "Operation", + "d436f322-a9f4-4aad-9a7d-271fbf66001c", + "5" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json new file mode 100644 index 000000000000..f31fb44c76a1 --- /dev/null +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json @@ -0,0 +1,159 @@ +{ + "title": "Simple Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "workspaceName": "azure-insights", + "apiVersion": "2017-10-01", + "body": { + "query": "Usage | take 10", + "timespan": "PT12H" + } + }, + "responses": { + "200": { + "body": { + "tables": [ + { + "name": "PrimaryResult", + "columns": [ + { + "name": "TenantId", + "type": "string" + }, + { + "name": "Computer", + "type": "string" + }, + { + "name": "TimeGenerated", + "type": "datetime" + }, + { + "name": "SourceSystem", + "type": "string" + }, + { + "name": "StartTime", + "type": "datetime" + }, + { + "name": "EndTime", + "type": "datetime" + }, + { + "name": "ResourceUri", + "type": "string" + }, + { + "name": "LinkedResourceUri", + "type": "string" + }, + { + "name": "DataType", + "type": "string" + }, + { + "name": "Solution", + "type": "string" + }, + { + "name": "BatchesWithinSla", + "type": "long" + }, + { + "name": "BatchesOutsideSla", + "type": "long" + }, + { + "name": "BatchesCapped", + "type": "long" + }, + { + "name": "TotalBatches", + "type": "long" + }, + { + "name": "AvgLatencyInSeconds", + "type": "real" + }, + { + "name": "Quantity", + "type": "real" + }, + { + "name": "QuantityUnit", + "type": "string" + }, + { + "name": "IsBillable", + "type": "bool" + }, + { + "name": "MeterId", + "type": "string" + }, + { + "name": "LinkedMeterId", + "type": "string" + }, + { + "name": "Type", + "type": "string" + } + ], + "rows": [ + [ + "b438b4f6-912a-46d5-9cb1-b44069212abc", + "ContosoSQLSrv1", + "2017-08-24T06:59:59Z", + "OMS", + "2017-08-24T06:00:00Z", + "2017-08-24T06:59:59Z", + "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourcegroups/contosoazurehq/providers/microsoft.operationalinsights/workspaces/contosoretail-it", + null, + "Perf", + "LogManagement", + "1", + "0", + "0", + "1", + "1.286", + "0.076408", + "MBytes", + "true", + "a4e29a95-5b4c-408b-80e3-113f9410566e", + "00000000-0000-0000-0000-000000000000", + "Usage" + ], + [ + "b438b4f6-912a-46d5-9cb1-b44069212abc", + "Store010Web3", + "2017-08-24T06:59:59Z", + "OMS", + "2017-08-24T06:00:00Z", + "2017-08-24T06:59:59Z", + "/subscriptions/e4272367-5645-4c4e-9c67-3b74b59a6982/resourcegroups/contosoazurehq/providers/microsoft.operationalinsights/workspaces/contosoretail-it", + null, + "Perf", + "LogManagement", + "1", + "0", + "0", + "1", + "1.7", + "0.106767", + "MBytes", + "true", + "a4e29a95-5b4c-408b-80e3-113f9410566e", + "00000000-0000-0000-0000-000000000000", + "Usage" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json new file mode 100644 index 000000000000..3732c773ad67 --- /dev/null +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json @@ -0,0 +1,335 @@ +{ + "swagger": "2.0", + "info": { + "version": "2017-10-01", + "title": "Azure Log Analytics", + "description": "This API exposes Azure Log Analytics query capabilities", + "termsOfService": "https://dev.loganalytics.io/tos", + "contact": { + "name": "AIAPI Team", + "url": "https://dev.loganalytics.io/support", + "email": "aiapi@microsoft.com" + }, + "license": { + "name": "Microsoft", + "url": "https://dev.loganalytics.io/license" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query": { + "post": { + "operationId": "Query_Execute", + "summary": "Execute an Analytics query", + "description": "Executes an Analytics query for data. [Here](https://dev.loganalytics.io/documentation/Using-the-API) is an example for using POST with an Analytics query.", + "x-ms-examples": { + "simple-query": { + "$ref": "examples/oms-post-example.json" + }, + "cross-workspace": { + "$ref": "examples/oms-post-cross-workspace-example.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "$ref": "#/parameters/queryBody" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "responses": { + "200": { + "description": "OK. The API call succeeded and the Analytics query result is in the response payload", + "schema": { + "$ref": "#/definitions/queryResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + } + }, + "parameters": { + "queryParam": { + "name": "query", + "in": "query", + "required": true, + "x-ms-parameter-location": "method", + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "string" + }, + "queryBody": { + "name": "body", + "in": "body", + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "required": true, + "schema": { + "$ref": "#/definitions/queryBody" + }, + "x-ms-parameter-location": "method" + }, + "apiVersion": { + "name": "apiVersion", + "description": "Client API version.", + "in": "query", + "required": true, + "type": "string", + "default": "2017-10-01", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupName": { + "name": "resourceGroupName", + "description": "The name of the resource group to get. The name is case insensitive.", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "workspaceName": { + "name": "workspaceName", + "description": "Name of the Log Analytics workspace.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "queryParam": { + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "string" + }, + "timespanParam": { + "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", + "type": "string" + }, + "workspacesParam": { + "description": "Workspace IDs to include in cross-workspace queries.", + "type": "array", + "items": { + "type": "string" + } + }, + "queryBody": { + "description": "The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)", + "type": "object", + "properties": { + "query": { + "description": "The query to execute.", + "$ref": "#/definitions/queryParam" + }, + "timespan": { + "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", + "$ref": "#/definitions/timespanParam" + }, + "workspaces": { + "description": "A list of workspaces that are included in the query.", + "$ref": "#/definitions/workspacesParam" + } + }, + "required": [ + "query" + ] + }, + "queryResults": { + "title": "A query response.", + "description": "Contains the tables, columns & rows resulting from a query.", + "type": "object", + "properties": { + "tables": { + "description": "The list of tables, columns and rows.", + "type": "array", + "items": { + "$ref": "#/definitions/table" + } + } + }, + "required": [ + "tables" + ] + }, + "table": { + "title": "A query response table.", + "description": "Contains the columns and rows for one table in a query response.", + "type": "object", + "properties": { + "name": { + "description": "The name of the table.", + "type": "string" + }, + "columns": { + "description": "The list of columns in this table.", + "type": "array", + "items": { + "$ref": "#/definitions/column" + } + }, + "rows": { + "description": "The resulting rows from this query.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "required": [ + "name", + "columns", + "rows" + ] + }, + "column": { + "title": "A table column.", + "description": "A column in a table.", + "type": "object", + "properties": { + "name": { + "description": "The name of this column.", + "type": "string" + }, + "type": { + "description": "The data type of this column.", + "type": "string" + } + } + }, + "errorDetail": { + "title": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error's code.", + "type": "string" + }, + "message": { + "description": "A human readable error message.", + "type": "string" + }, + "target": { + "description": "Indicates which property in the request is responsible for the error.", + "type": "string" + }, + "value": { + "description": "Indicates which value in 'target' is responsible for the error.", + "type": "string" + }, + "resources": { + "description": "Indicates resources which were responsible for the error.", + "type": "array", + "items": { + "type": "string" + } + }, + "additionalProperties": { + "type": "object" + } + }, + "required": [ + "code", + "message" + ] + }, + "errorInfo": { + "title": "The code and message for an error.", + "type": "object", + "properties": { + "code": { + "description": "A machine readable error code.", + "type": "string" + }, + "message": { + "description": "A human readable error message.", + "type": "string" + }, + "details": { + "description": "error details.", + "type": "array", + "items": { + "$ref": "#/definitions/errorDetail" + } + }, + "innererror": { + "description": "Inner error details if they exist.", + "$ref": "#/definitions/errorInfo" + }, + "additionalProperties": { + "type": "object" + } + }, + "required": [ + "code", + "message" + ] + }, + "errorResponse": { + "title": "Error details.", + "description": "Contains details when the response code indicates an error.", + "type": "object", + "properties": { + "error": { + "description": "The error details.", + "$ref": "#/definitions/errorInfo" + } + }, + "required": [ + "error" + ] + } + } +} \ No newline at end of file diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json index 9763c91b0a58..a78b272c061d 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json @@ -67,6 +67,9 @@ }, { "$ref": "#/parameters/timespanParam" + }, + { + "$ref": "#/parameters/workspacesParam" } ], "responses": { @@ -85,9 +88,9 @@ } }, "post": { - "operationId": "Query_Post", + "operationId": "Query", "summary": "Execute an Analytics query", - "description": "Executes an Analytics query for data. [Here](/documentation/2-Using-the-API/Query) is an example for using POST with an Analytics query.", + "description": "Executes an Analytics query for data. [Here](https://dev.loganalytics.io/documentation/Using-the-API) is an example for using POST with an Analytics query.", "x-ms-examples": { "simple-query": { "$ref": "examples/oms-post-example.json" @@ -128,7 +131,17 @@ "in": "path", "required": true, "type": "string", - "x-ms-parameter-location": "client" + "x-ms-parameter-location": "method" + }, + "workspacesParam": { + "name": "workspaces", + "description": "Comma separated workspace IDs to include in cross-workspace queries.", + "in": "query", + "collectionFormat": "csv", + "required": false, + "default": "", + "type": "string", + "x-ms-parameter-location": "method" }, "queryParam": { "name": "query", @@ -165,8 +178,7 @@ }, "timespanParam": { "description": "Optional. The timespan over which to query data. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the query expression.", - "type": "string", - "format": "duration" + "type": "string" }, "workspacesParam": { "description": "Workspace IDs to include in cross-workspace queries.", diff --git a/specification/operationalinsights/data-plane/readme.md b/specification/operationalinsights/data-plane/readme.md index f569123215ec..535344f3e188 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -41,6 +41,12 @@ input-file: directive: - reason: Don't expose the GET endpoint since it's behavior is more limited than POST remove-operation: Query_Get +``` + +``` yaml $(tag) == '20171001' +input-file: +- Microsoft.OperationalInsights/preview/2017-10-01/swagger.json +directive: - reason: Rename Query_Post to Query so that we don't get an IQuery interface with 1 operation where-operation: Query_Post transform: $.operationId = "Query" @@ -79,24 +85,22 @@ csharp: ``` yaml $(python) python-mode: create python: - add-credentials: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 - namespace: azure.operationalinsights - package-name: azure-operationalinsights + namespace: azure.loganalytics + package-name: azure-loganalytics package-version: 0.1.0 clear-output-folder: true - basic-setup-py: true ``` ``` yaml $(python) && $(python-mode) == 'update' python: no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-operationalinsights/azure/operationalinsights + output-folder: $(python-sdks-folder)/azure-loganalytics/azure/loganalytics ``` ``` yaml $(python) && $(python-mode) == 'create' python: basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-operationalinsights + output-folder: $(python-sdks-folder)/azure-loganalytics ``` ## Go @@ -140,4 +144,4 @@ java: license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-operationalinsights -``` +``` \ No newline at end of file