From ff2cf1a9c52698b0cc31b49b664a0285c0c7afe6 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Wed, 2 May 2018 15:31:16 -0700 Subject: [PATCH 01/11] Proposed specification cleanup --- .../2015-05-01/examples/events-get-by-id.json | 70 + .../examples/events-get-by-type.json | 272 ++ .../examples/events-get-metadata.json | 18 + .../2015-05-01/examples/metric-get-full.json | 47 + .../2015-05-01/examples/metric-get.json | 24 + .../2015-05-01/examples/metric-post.json | 102 + .../examples/metrics-get-metadata.json | 2830 +++++++++++++++++ .../2015-05-01/examples/query-get.json | 560 ++++ .../2015-05-01/examples/query-post.json | 562 ++++ .../2015-05-01/examples/query-schema.json | 1940 +++++++++++ .../preview/2015-05-01/swagger.json | 2072 ++++++++++++ .../{ => preview}/v1/AppInsights.json | 229 +- .../v1/examples/events-get-by-id.json | 0 .../v1/examples/events-get-by-type.json | 0 .../v1/examples/events-get-metadata.json | 0 .../v1/examples/metric-get-custom.json | 0 .../v1/examples/metric-get-full.json | 0 .../{ => preview}/v1/examples/metric-get.json | 0 .../v1/examples/metric-post.json | 0 .../v1/examples/metrics-get-metadata.json | 0 .../{ => preview}/v1/examples/query-get.json | 0 .../{ => preview}/v1/examples/query-post.json | 0 .../v1/examples/query-schema.json | 0 .../applicationinsights/data-plane/readme.md | 49 +- .../stable/v1/OperationalInsights.json | 17 +- .../operationalinsights/data-plane/readme.md | 4 +- 26 files changed, 8620 insertions(+), 176 deletions(-) create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/AppInsights.json (93%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/events-get-by-id.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/events-get-by-type.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/events-get-metadata.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/metric-get-custom.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/metric-get-full.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/metric-get.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/metric-post.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/metrics-get-metadata.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/query-get.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/query-post.json (100%) rename specification/applicationinsights/data-plane/microsoft.insights/{ => preview}/v1/examples/query-schema.json (100%) diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json new file mode 100644 index 000000000000..f8dcf3e4f908 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/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": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "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/2015-05-01/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json new file mode 100644 index 000000000000..607301ec9500 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json @@ -0,0 +1,272 @@ +{ + "title": "Get Events By Type", + "description": "Gets events of a specific type", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "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/2015-05-01/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json new file mode 100644 index 000000000000..909e946df59d --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json @@ -0,0 +1,18 @@ +{ + "title": "Get Events Metadata", + "description": "Gets event metadata", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01" + }, + "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/2015-05-01/examples/metric-get-full.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json new file mode 100644 index 000000000000..8f4c275d75ba --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json @@ -0,0 +1,47 @@ +{ + "title": "Get intervaled request count", + "description": "Gets intervaled request count metric", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "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/2015-05-01/examples/metric-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json new file mode 100644 index 000000000000..1022f2e25d94 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json @@ -0,0 +1,24 @@ +{ + "title": "Get Request Count", + "description": "Gets request count metric", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "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/2015-05-01/examples/metric-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json new file mode 100644 index 000000000000..6980793e8ac0 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json @@ -0,0 +1,102 @@ +{ + "title": "Post Metric", + "description": "Posts data for a metric.", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "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/2015-05-01/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json new file mode 100644 index 000000000000..4eaa7a38f5fc --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json @@ -0,0 +1,2830 @@ +{ + "title": "Get Metric Metadata", + "description": "Gets metadata data for metrics.", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01" + }, + "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/2015-05-01/examples/query-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json new file mode 100644 index 000000000000..7ff5192cd771 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json @@ -0,0 +1,560 @@ +{ + "title": "Get Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "query": "requests | take 5", + "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": [ + { + "TableName": "Table_0", + "Columns": [ + { + "ColumnName": "timestamp", + "DataType": "DateTime", + "ColumnType": "datetime" + }, + { + "ColumnName": "id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "source", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "url", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "success", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "resultCode", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "duration", + "DataType": "Double", + "ColumnType": "real" + }, + { + "ColumnName": "performanceBucket", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemType", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "customDimensions", + "DataType": "String", + "ColumnType": "dynamic" + }, + { + "ColumnName": "customMeasurements", + "DataType": "String", + "ColumnType": "dynamic" + }, + { + "ColumnName": "operation_Name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_ParentId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_SyntheticSource", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "session_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_AuthenticatedId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_AccountId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "application_Version", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Type", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Model", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_OS", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_IP", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_City", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_StateOrProvince", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_CountryOrRegion", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Browser", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "cloud_RoleName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "cloud_RoleInstance", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "appId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "appName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "iKey", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "sdkVersion", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemCount", + "DataType": "Int32", + "ColumnType": "int" + } + ], + "Rows": [ + [ + "2018-05-07T11:20:43.208Z", + "|9e83eb9a7c7a4aa5aeb3fba6f3a35b65.0.3de057bf_", + null, + "GET Reports/Index", + "http://aiconnect2.cloudapp.net/FabrikamProd/Reports", + "True", + "200", + "6.7402", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Reports/Index", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "Application Insights Availability Monitoring", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "us-ca-sjc-azr_9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "San Jose", + "California", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "bc548b80-51e8-11e8-bfb3-d32ea72f5e5f", + "1" + ], + [ + "2018-05-07T11:20:52.052Z", + "|ecad145bb2f444b385fb2eb1b70b3121.0.b7bd30c5_", + null, + "GET Customers/Details", + "http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469", + "False", + "500", + "335.3618", + "250ms-500ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Customers/Details", + "ecad145bb2f444b385fb2eb1b70b3121", + "ecad145bb2f444b385fb2eb1b70b3121", + "Application Insights Availability Monitoring", + "ecad145bb2f444b385fb2eb1b70b3121", + "emea-au-syd-edge_ecad145bb2f444b385fb2eb1b70b3121", + null, + null, + "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", + "PC", + null, + null, + "0.0.0.0", + "Sydney", + "New South Wales", + "Australia", + null, + "fabrikamfiberapp", + "RD00155D5076DF", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "c596b159-51e8-11e8-b752-058527daec51", + "1" + ], + [ + "2018-05-07T11:20:52.177Z", + "|15c55de1e92d49c5a7168d798b8fc3a4.0.b7bd30c6_", + null, + "GET Home/Index", + "http://fabrikamfiberapp.azurewebsites.net/", + "True", + "200", + "695.9726", + "500ms-1sec", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Home/Index", + "15c55de1e92d49c5a7168d798b8fc3a4", + "15c55de1e92d49c5a7168d798b8fc3a4", + "Application Insights Availability Monitoring", + "15c55de1e92d49c5a7168d798b8fc3a4", + "us-va-ash-azr_15c55de1e92d49c5a7168d798b8fc3a4", + null, + null, + "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", + "PC", + null, + null, + "0.0.0.0", + "Washington", + "Virginia", + "United States", + null, + "fabrikamfiberapp", + "RD00155D5076DF", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "c596b15a-51e8-11e8-b752-058527daec51", + "1" + ], + [ + "2018-05-07T11:21:07.134Z", + "|c9a54a32335f47baaaf157b37791208a.0.3de057c1_", + null, + "GET Employees/Create", + "http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create", + "False", + "404", + "4.3193", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Employees/Create", + "c9a54a32335f47baaaf157b37791208a", + "c9a54a32335f47baaaf157b37791208a", + "Application Insights Availability Monitoring", + "c9a54a32335f47baaaf157b37791208a", + "us-tx-sn1-azr_c9a54a32335f47baaaf157b37791208a", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "San Antonio", + "Texas", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "bca51c81-51e8-11e8-bef8-f55159f429f7", + "1" + ], + [ + "2018-05-07T11:21:09.293Z", + "|18a127dd94f94f17baebb5db12cc81ae.21.3de057d4_", + null, + "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "True", + "200", + "0.5556", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "18a127dd94f94f17baebb5db12cc81ae", + "18a127dd94f94f17baebb5db12cc81ae", + "Application Insights Availability Monitoring", + "18a127dd94f94f17baebb5db12cc81ae", + "us-va-ash-azr_18a127dd94f94f17baebb5db12cc81ae", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "Boydton", + "Virginia", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "be39c640-51e8-11e8-b5f6-2bbc5902b3a9", + "1" + ] + ] + }, + { + "TableName": "Table_1", + "Columns": [ + { + "ColumnName": "Value", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "{\"Visualization\":null,\"Title\":null,\"XColumn\":null,\"Series\":null,\"YColumns\":null,\"XTitle\":null,\"YTitle\":null,\"XAxis\":null,\"YAxis\":null,\"Legend\":null,\"YSplit\":null,\"Accumulate\":false,\"IsQuerySorted\":false,\"Kind\":null}" + ] + ] + }, + { + "TableName": "Table_2", + "Columns": [ + { + "ColumnName": "Timestamp", + "DataType": "DateTime", + "ColumnType": "datetime" + }, + { + "ColumnName": "Severity", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "SeverityName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "StatusCode", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "StatusDescription", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Count", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "RequestId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "ActivityId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "SubActivityId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "ClientActivityId", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "2018-05-09T04:59:47.549329Z", + "4", + "Info", + "0", + "Query completed successfully", + "1", + "0692652d-47b6-443c-aa25-95b495374b65", + "0692652d-47b6-443c-aa25-95b495374b65", + "d35acebb-1158-462a-9830-4d63e62a01df", + "54188b93-d9a0-4eef-a3f9-b1694bb40096" + ], + [ + "2018-05-09T04:59:47.549329Z", + "6", + "Stats", + "0", + "{\"ExecutionTime\":0.0625441,\"resource_usage\":{\"cache\":{\"memory\":{\"hits\":102,\"misses\":0,\"total\":102},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"total cpu\":\"00:00:00\"},\"memory\":{\"peak_per_node\":67109408}},\"dataset_statistics\":[{\"table_row_count\":5,\"table_size\":3376}]}", + "1", + "0692652d-47b6-443c-aa25-95b495374b65", + "0692652d-47b6-443c-aa25-95b495374b65", + "d35acebb-1158-462a-9830-4d63e62a01df", + "54188b93-d9a0-4eef-a3f9-b1694bb40096" + ] + ] + }, + { + "TableName": "Table_3", + "Columns": [ + { + "ColumnName": "Ordinal", + "DataType": "Int64", + "ColumnType": "long" + }, + { + "ColumnName": "Kind", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "PrettyName", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "0", + "QueryResult", + "PrimaryResult", + "9ce0100b-c47e-49be-98e9-7bc4863755ba", + "" + ], + [ + "1", + "", + "@ExtendedProperties", + "1a4152ee-ddee-4863-8ef3-12b1ec2bc0d3", + "" + ], + [ + "2", + "QueryStatus", + "QueryStatus", + "00000000-0000-0000-0000-000000000000", + "" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json new file mode 100644 index 000000000000..3cf0feb5ba57 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json @@ -0,0 +1,562 @@ +{ + "title": "Post Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01", + "body": { + "timespan": "PT12H", + "query": "requests | take 5" + } + }, + "responses": { + "200": { + "headers": { + "x-ms-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5", + "x-ms-correlation-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5" + }, + "body": { + "Tables": [ + { + "TableName": "Table_0", + "Columns": [ + { + "ColumnName": "timestamp", + "DataType": "DateTime", + "ColumnType": "datetime" + }, + { + "ColumnName": "id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "source", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "url", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "success", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "resultCode", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "duration", + "DataType": "Double", + "ColumnType": "real" + }, + { + "ColumnName": "performanceBucket", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemType", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "customDimensions", + "DataType": "String", + "ColumnType": "dynamic" + }, + { + "ColumnName": "customMeasurements", + "DataType": "String", + "ColumnType": "dynamic" + }, + { + "ColumnName": "operation_Name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_ParentId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "operation_SyntheticSource", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "session_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_AuthenticatedId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "user_AccountId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "application_Version", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Type", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Model", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_OS", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_IP", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_City", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_StateOrProvince", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_CountryOrRegion", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "client_Browser", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "cloud_RoleName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "cloud_RoleInstance", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "appId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "appName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "iKey", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "sdkVersion", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemId", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "itemCount", + "DataType": "Int32", + "ColumnType": "int" + } + ], + "Rows": [ + [ + "2018-05-07T11:20:43.208Z", + "|9e83eb9a7c7a4aa5aeb3fba6f3a35b65.0.3de057bf_", + null, + "GET Reports/Index", + "http://aiconnect2.cloudapp.net/FabrikamProd/Reports", + "True", + "200", + "6.7402", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Reports/Index", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "Application Insights Availability Monitoring", + "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + "us-ca-sjc-azr_9e83eb9a7c7a4aa5aeb3fba6f3a35b65", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "San Jose", + "California", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "bc548b80-51e8-11e8-bfb3-d32ea72f5e5f", + "1" + ], + [ + "2018-05-07T11:20:52.052Z", + "|ecad145bb2f444b385fb2eb1b70b3121.0.b7bd30c5_", + null, + "GET Customers/Details", + "http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469", + "False", + "500", + "335.3618", + "250ms-500ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Customers/Details", + "ecad145bb2f444b385fb2eb1b70b3121", + "ecad145bb2f444b385fb2eb1b70b3121", + "Application Insights Availability Monitoring", + "ecad145bb2f444b385fb2eb1b70b3121", + "emea-au-syd-edge_ecad145bb2f444b385fb2eb1b70b3121", + null, + null, + "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", + "PC", + null, + null, + "0.0.0.0", + "Sydney", + "New South Wales", + "Australia", + null, + "fabrikamfiberapp", + "RD00155D5076DF", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "c596b159-51e8-11e8-b752-058527daec51", + "1" + ], + [ + "2018-05-07T11:20:52.177Z", + "|15c55de1e92d49c5a7168d798b8fc3a4.0.b7bd30c6_", + null, + "GET Home/Index", + "http://fabrikamfiberapp.azurewebsites.net/", + "True", + "200", + "695.9726", + "500ms-1sec", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Home/Index", + "15c55de1e92d49c5a7168d798b8fc3a4", + "15c55de1e92d49c5a7168d798b8fc3a4", + "Application Insights Availability Monitoring", + "15c55de1e92d49c5a7168d798b8fc3a4", + "us-va-ash-azr_15c55de1e92d49c5a7168d798b8fc3a4", + null, + null, + "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", + "PC", + null, + null, + "0.0.0.0", + "Washington", + "Virginia", + "United States", + null, + "fabrikamfiberapp", + "RD00155D5076DF", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "c596b15a-51e8-11e8-b752-058527daec51", + "1" + ], + [ + "2018-05-07T11:21:07.134Z", + "|c9a54a32335f47baaaf157b37791208a.0.3de057c1_", + null, + "GET Employees/Create", + "http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create", + "False", + "404", + "4.3193", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET Employees/Create", + "c9a54a32335f47baaaf157b37791208a", + "c9a54a32335f47baaaf157b37791208a", + "Application Insights Availability Monitoring", + "c9a54a32335f47baaaf157b37791208a", + "us-tx-sn1-azr_c9a54a32335f47baaaf157b37791208a", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "San Antonio", + "Texas", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "bca51c81-51e8-11e8-bef8-f55159f429f7", + "1" + ], + [ + "2018-05-07T11:21:09.293Z", + "|18a127dd94f94f17baebb5db12cc81ae.21.3de057d4_", + null, + "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "True", + "200", + "0.5556", + "<250ms", + "request", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", + null, + "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", + "18a127dd94f94f17baebb5db12cc81ae", + "18a127dd94f94f17baebb5db12cc81ae", + "Application Insights Availability Monitoring", + "18a127dd94f94f17baebb5db12cc81ae", + "us-va-ash-azr_18a127dd94f94f17baebb5db12cc81ae", + null, + null, + "", + "PC", + null, + null, + "0.0.0.0", + "Boydton", + "Virginia", + "United States", + null, + "", + "AIConnect2", + "cf58dcfd-0683-487c-bc84-048789bca8e5", + "fabrikamprod", + "5a2e4e0c-e136-4a15-9824-90ba859b0a89", + "web:2.6.0-15431", + "be39c640-51e8-11e8-b5f6-2bbc5902b3a9", + "1" + ] + ] + }, + { + "TableName": "Table_1", + "Columns": [ + { + "ColumnName": "Value", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "{\"Visualization\":null,\"Title\":null,\"XColumn\":null,\"Series\":null,\"YColumns\":null,\"XTitle\":null,\"YTitle\":null,\"XAxis\":null,\"YAxis\":null,\"Legend\":null,\"YSplit\":null,\"Accumulate\":false,\"IsQuerySorted\":false,\"Kind\":null}" + ] + ] + }, + { + "TableName": "Table_2", + "Columns": [ + { + "ColumnName": "Timestamp", + "DataType": "DateTime", + "ColumnType": "datetime" + }, + { + "ColumnName": "Severity", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "SeverityName", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "StatusCode", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "StatusDescription", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Count", + "DataType": "Int32", + "ColumnType": "int" + }, + { + "ColumnName": "RequestId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "ActivityId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "SubActivityId", + "DataType": "Guid", + "ColumnType": "guid" + }, + { + "ColumnName": "ClientActivityId", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "2018-05-09T04:59:47.549329Z", + "4", + "Info", + "0", + "Query completed successfully", + "1", + "0692652d-47b6-443c-aa25-95b495374b65", + "0692652d-47b6-443c-aa25-95b495374b65", + "d35acebb-1158-462a-9830-4d63e62a01df", + "54188b93-d9a0-4eef-a3f9-b1694bb40096" + ], + [ + "2018-05-09T04:59:47.549329Z", + "6", + "Stats", + "0", + "{\"ExecutionTime\":0.0625441,\"resource_usage\":{\"cache\":{\"memory\":{\"hits\":102,\"misses\":0,\"total\":102},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"total cpu\":\"00:00:00\"},\"memory\":{\"peak_per_node\":67109408}},\"dataset_statistics\":[{\"table_row_count\":5,\"table_size\":3376}]}", + "1", + "0692652d-47b6-443c-aa25-95b495374b65", + "0692652d-47b6-443c-aa25-95b495374b65", + "d35acebb-1158-462a-9830-4d63e62a01df", + "54188b93-d9a0-4eef-a3f9-b1694bb40096" + ] + ] + }, + { + "TableName": "Table_3", + "Columns": [ + { + "ColumnName": "Ordinal", + "DataType": "Int64", + "ColumnType": "long" + }, + { + "ColumnName": "Kind", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Name", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "Id", + "DataType": "String", + "ColumnType": "string" + }, + { + "ColumnName": "PrettyName", + "DataType": "String", + "ColumnType": "string" + } + ], + "Rows": [ + [ + "0", + "QueryResult", + "PrimaryResult", + "9ce0100b-c47e-49be-98e9-7bc4863755ba", + "" + ], + [ + "1", + "", + "@ExtendedProperties", + "1a4152ee-ddee-4863-8ef3-12b1ec2bc0d3", + "" + ], + [ + "2", + "QueryStatus", + "QueryStatus", + "00000000-0000-0000-0000-000000000000", + "" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json new file mode 100644 index 000000000000..a60aa729f710 --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json @@ -0,0 +1,1940 @@ +{ + "title": "Get Query", + "description": "A simple query that returns query results.", + "parameters": { + "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", + "resourceGroupName": "demo-rg", + "applicationName": "DEMO_APP", + "apiVersion": "2015-05-01" + }, + "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": "Table_0", + "columns": [ + { + "name": "TableName", + "type": "String" + }, + { + "name": "ColumnName", + "type": "String" + }, + { + "name": "ColumnType", + "type": "String" + } + ], + "rows": [ + [ + "traces", + "timestamp", + "System.DateTime" + ], + [ + "traces", + "message", + "System.String" + ], + [ + "traces", + "severityLevel", + "System.Int32" + ], + [ + "traces", + "customDimensions", + "System.Object" + ], + [ + "traces", + "customMeasurements", + "System.Object" + ], + [ + "traces", + "operation_Name", + "System.String" + ], + [ + "traces", + "operation_Id", + "System.String" + ], + [ + "traces", + "operation_ParentId", + "System.String" + ], + [ + "traces", + "operation_SyntheticSource", + "System.String" + ], + [ + "traces", + "session_Id", + "System.String" + ], + [ + "traces", + "user_Id", + "System.String" + ], + [ + "traces", + "user_AuthenticatedId", + "System.String" + ], + [ + "traces", + "user_AccountId", + "System.String" + ], + [ + "traces", + "application_Version", + "System.String" + ], + [ + "traces", + "client_Type", + "System.String" + ], + [ + "traces", + "client_Model", + "System.String" + ], + [ + "traces", + "client_OS", + "System.String" + ], + [ + "traces", + "client_IP", + "System.String" + ], + [ + "traces", + "client_City", + "System.String" + ], + [ + "traces", + "client_StateOrProvince", + "System.String" + ], + [ + "traces", + "client_CountryOrRegion", + "System.String" + ], + [ + "traces", + "client_Browser", + "System.String" + ], + [ + "traces", + "cloud_RoleName", + "System.String" + ], + [ + "traces", + "cloud_RoleInstance", + "System.String" + ], + [ + "traces", + "appId", + "System.String" + ], + [ + "traces", + "appName", + "System.String" + ], + [ + "traces", + "iKey", + "System.String" + ], + [ + "traces", + "sdkVersion", + "System.String" + ], + [ + "traces", + "itemId", + "System.String" + ], + [ + "traces", + "itemType", + "System.String" + ], + [ + "traces", + "itemCount", + "System.Double" + ], + [ + "customEvents", + "timestamp", + "System.DateTime" + ], + [ + "customEvents", + "name", + "System.String" + ], + [ + "customEvents", + "customDimensions", + "System.Object" + ], + [ + "customEvents", + "customMeasurements", + "System.Object" + ], + [ + "customEvents", + "operation_Name", + "System.String" + ], + [ + "customEvents", + "operation_Id", + "System.String" + ], + [ + "customEvents", + "operation_ParentId", + "System.String" + ], + [ + "customEvents", + "operation_SyntheticSource", + "System.String" + ], + [ + "customEvents", + "session_Id", + "System.String" + ], + [ + "customEvents", + "user_Id", + "System.String" + ], + [ + "customEvents", + "user_AuthenticatedId", + "System.String" + ], + [ + "customEvents", + "user_AccountId", + "System.String" + ], + [ + "customEvents", + "application_Version", + "System.String" + ], + [ + "customEvents", + "client_Type", + "System.String" + ], + [ + "customEvents", + "client_Model", + "System.String" + ], + [ + "customEvents", + "client_OS", + "System.String" + ], + [ + "customEvents", + "client_IP", + "System.String" + ], + [ + "customEvents", + "client_City", + "System.String" + ], + [ + "customEvents", + "client_StateOrProvince", + "System.String" + ], + [ + "customEvents", + "client_CountryOrRegion", + "System.String" + ], + [ + "customEvents", + "client_Browser", + "System.String" + ], + [ + "customEvents", + "cloud_RoleName", + "System.String" + ], + [ + "customEvents", + "cloud_RoleInstance", + "System.String" + ], + [ + "customEvents", + "appId", + "System.String" + ], + [ + "customEvents", + "appName", + "System.String" + ], + [ + "customEvents", + "iKey", + "System.String" + ], + [ + "customEvents", + "sdkVersion", + "System.String" + ], + [ + "customEvents", + "itemId", + "System.String" + ], + [ + "customEvents", + "itemType", + "System.String" + ], + [ + "customEvents", + "itemCount", + "System.Double" + ], + [ + "pageViews", + "timestamp", + "System.DateTime" + ], + [ + "pageViews", + "name", + "System.String" + ], + [ + "pageViews", + "url", + "System.String" + ], + [ + "pageViews", + "duration", + "System.Double" + ], + [ + "pageViews", + "performanceBucket", + "System.String" + ], + [ + "pageViews", + "customDimensions", + "System.Object" + ], + [ + "pageViews", + "customMeasurements", + "System.Object" + ], + [ + "pageViews", + "operation_Name", + "System.String" + ], + [ + "pageViews", + "operation_Id", + "System.String" + ], + [ + "pageViews", + "operation_ParentId", + "System.String" + ], + [ + "pageViews", + "operation_SyntheticSource", + "System.String" + ], + [ + "pageViews", + "session_Id", + "System.String" + ], + [ + "pageViews", + "user_Id", + "System.String" + ], + [ + "pageViews", + "user_AuthenticatedId", + "System.String" + ], + [ + "pageViews", + "user_AccountId", + "System.String" + ], + [ + "pageViews", + "application_Version", + "System.String" + ], + [ + "pageViews", + "client_Type", + "System.String" + ], + [ + "pageViews", + "client_Model", + "System.String" + ], + [ + "pageViews", + "client_OS", + "System.String" + ], + [ + "pageViews", + "client_IP", + "System.String" + ], + [ + "pageViews", + "client_City", + "System.String" + ], + [ + "pageViews", + "client_StateOrProvince", + "System.String" + ], + [ + "pageViews", + "client_CountryOrRegion", + "System.String" + ], + [ + "pageViews", + "client_Browser", + "System.String" + ], + [ + "pageViews", + "cloud_RoleName", + "System.String" + ], + [ + "pageViews", + "cloud_RoleInstance", + "System.String" + ], + [ + "pageViews", + "appId", + "System.String" + ], + [ + "pageViews", + "appName", + "System.String" + ], + [ + "pageViews", + "iKey", + "System.String" + ], + [ + "pageViews", + "sdkVersion", + "System.String" + ], + [ + "pageViews", + "itemId", + "System.String" + ], + [ + "pageViews", + "itemType", + "System.String" + ], + [ + "pageViews", + "itemCount", + "System.Double" + ], + [ + "requests", + "timestamp", + "System.DateTime" + ], + [ + "requests", + "id", + "System.String" + ], + [ + "requests", + "source", + "System.String" + ], + [ + "requests", + "name", + "System.String" + ], + [ + "requests", + "url", + "System.String" + ], + [ + "requests", + "success", + "System.String" + ], + [ + "requests", + "resultCode", + "System.String" + ], + [ + "requests", + "duration", + "System.Double" + ], + [ + "requests", + "performanceBucket", + "System.String" + ], + [ + "requests", + "customDimensions", + "System.Object" + ], + [ + "requests", + "customMeasurements", + "System.Object" + ], + [ + "requests", + "operation_Name", + "System.String" + ], + [ + "requests", + "operation_Id", + "System.String" + ], + [ + "requests", + "operation_ParentId", + "System.String" + ], + [ + "requests", + "operation_SyntheticSource", + "System.String" + ], + [ + "requests", + "session_Id", + "System.String" + ], + [ + "requests", + "user_Id", + "System.String" + ], + [ + "requests", + "user_AuthenticatedId", + "System.String" + ], + [ + "requests", + "user_AccountId", + "System.String" + ], + [ + "requests", + "application_Version", + "System.String" + ], + [ + "requests", + "client_Type", + "System.String" + ], + [ + "requests", + "client_Model", + "System.String" + ], + [ + "requests", + "client_OS", + "System.String" + ], + [ + "requests", + "client_IP", + "System.String" + ], + [ + "requests", + "client_City", + "System.String" + ], + [ + "requests", + "client_StateOrProvince", + "System.String" + ], + [ + "requests", + "client_CountryOrRegion", + "System.String" + ], + [ + "requests", + "client_Browser", + "System.String" + ], + [ + "requests", + "cloud_RoleName", + "System.String" + ], + [ + "requests", + "cloud_RoleInstance", + "System.String" + ], + [ + "requests", + "appId", + "System.String" + ], + [ + "requests", + "appName", + "System.String" + ], + [ + "requests", + "iKey", + "System.String" + ], + [ + "requests", + "sdkVersion", + "System.String" + ], + [ + "requests", + "itemId", + "System.String" + ], + [ + "requests", + "itemType", + "System.String" + ], + [ + "requests", + "itemCount", + "System.Double" + ], + [ + "dependencies", + "timestamp", + "System.DateTime" + ], + [ + "dependencies", + "id", + "System.String" + ], + [ + "dependencies", + "target", + "System.String" + ], + [ + "dependencies", + "type", + "System.String" + ], + [ + "dependencies", + "name", + "System.String" + ], + [ + "dependencies", + "data", + "System.String" + ], + [ + "dependencies", + "success", + "System.String" + ], + [ + "dependencies", + "resultCode", + "System.String" + ], + [ + "dependencies", + "duration", + "System.Double" + ], + [ + "dependencies", + "performanceBucket", + "System.String" + ], + [ + "dependencies", + "customDimensions", + "System.Object" + ], + [ + "dependencies", + "customMeasurements", + "System.Object" + ], + [ + "dependencies", + "operation_Name", + "System.String" + ], + [ + "dependencies", + "operation_Id", + "System.String" + ], + [ + "dependencies", + "operation_ParentId", + "System.String" + ], + [ + "dependencies", + "operation_SyntheticSource", + "System.String" + ], + [ + "dependencies", + "session_Id", + "System.String" + ], + [ + "dependencies", + "user_Id", + "System.String" + ], + [ + "dependencies", + "user_AuthenticatedId", + "System.String" + ], + [ + "dependencies", + "user_AccountId", + "System.String" + ], + [ + "dependencies", + "application_Version", + "System.String" + ], + [ + "dependencies", + "client_Type", + "System.String" + ], + [ + "dependencies", + "client_Model", + "System.String" + ], + [ + "dependencies", + "client_OS", + "System.String" + ], + [ + "dependencies", + "client_IP", + "System.String" + ], + [ + "dependencies", + "client_City", + "System.String" + ], + [ + "dependencies", + "client_StateOrProvince", + "System.String" + ], + [ + "dependencies", + "client_CountryOrRegion", + "System.String" + ], + [ + "dependencies", + "client_Browser", + "System.String" + ], + [ + "dependencies", + "cloud_RoleName", + "System.String" + ], + [ + "dependencies", + "cloud_RoleInstance", + "System.String" + ], + [ + "dependencies", + "appId", + "System.String" + ], + [ + "dependencies", + "appName", + "System.String" + ], + [ + "dependencies", + "iKey", + "System.String" + ], + [ + "dependencies", + "sdkVersion", + "System.String" + ], + [ + "dependencies", + "itemId", + "System.String" + ], + [ + "dependencies", + "itemType", + "System.String" + ], + [ + "dependencies", + "itemCount", + "System.Double" + ], + [ + "exceptions", + "timestamp", + "System.DateTime" + ], + [ + "exceptions", + "problemId", + "System.String" + ], + [ + "exceptions", + "handledAt", + "System.String" + ], + [ + "exceptions", + "type", + "System.String" + ], + [ + "exceptions", + "message", + "System.String" + ], + [ + "exceptions", + "assembly", + "System.String" + ], + [ + "exceptions", + "method", + "System.String" + ], + [ + "exceptions", + "outerType", + "System.String" + ], + [ + "exceptions", + "outerMessage", + "System.String" + ], + [ + "exceptions", + "outerAssembly", + "System.String" + ], + [ + "exceptions", + "outerMethod", + "System.String" + ], + [ + "exceptions", + "innermostType", + "System.String" + ], + [ + "exceptions", + "innermostMessage", + "System.String" + ], + [ + "exceptions", + "innermostAssembly", + "System.String" + ], + [ + "exceptions", + "innermostMethod", + "System.String" + ], + [ + "exceptions", + "severityLevel", + "System.Int32" + ], + [ + "exceptions", + "details", + "System.Object" + ], + [ + "exceptions", + "customDimensions", + "System.Object" + ], + [ + "exceptions", + "customMeasurements", + "System.Object" + ], + [ + "exceptions", + "operation_Name", + "System.String" + ], + [ + "exceptions", + "operation_Id", + "System.String" + ], + [ + "exceptions", + "operation_ParentId", + "System.String" + ], + [ + "exceptions", + "operation_SyntheticSource", + "System.String" + ], + [ + "exceptions", + "session_Id", + "System.String" + ], + [ + "exceptions", + "user_Id", + "System.String" + ], + [ + "exceptions", + "user_AuthenticatedId", + "System.String" + ], + [ + "exceptions", + "user_AccountId", + "System.String" + ], + [ + "exceptions", + "application_Version", + "System.String" + ], + [ + "exceptions", + "client_Type", + "System.String" + ], + [ + "exceptions", + "client_Model", + "System.String" + ], + [ + "exceptions", + "client_OS", + "System.String" + ], + [ + "exceptions", + "client_IP", + "System.String" + ], + [ + "exceptions", + "client_City", + "System.String" + ], + [ + "exceptions", + "client_StateOrProvince", + "System.String" + ], + [ + "exceptions", + "client_CountryOrRegion", + "System.String" + ], + [ + "exceptions", + "client_Browser", + "System.String" + ], + [ + "exceptions", + "cloud_RoleName", + "System.String" + ], + [ + "exceptions", + "cloud_RoleInstance", + "System.String" + ], + [ + "exceptions", + "appId", + "System.String" + ], + [ + "exceptions", + "appName", + "System.String" + ], + [ + "exceptions", + "iKey", + "System.String" + ], + [ + "exceptions", + "sdkVersion", + "System.String" + ], + [ + "exceptions", + "itemId", + "System.String" + ], + [ + "exceptions", + "itemType", + "System.String" + ], + [ + "exceptions", + "itemCount", + "System.Double" + ], + [ + "availabilityResults", + "timestamp", + "System.DateTime" + ], + [ + "availabilityResults", + "id", + "System.String" + ], + [ + "availabilityResults", + "name", + "System.String" + ], + [ + "availabilityResults", + "location", + "System.String" + ], + [ + "availabilityResults", + "success", + "System.String" + ], + [ + "availabilityResults", + "message", + "System.String" + ], + [ + "availabilityResults", + "size", + "System.Double" + ], + [ + "availabilityResults", + "duration", + "System.Double" + ], + [ + "availabilityResults", + "performanceBucket", + "System.String" + ], + [ + "availabilityResults", + "customDimensions", + "System.Object" + ], + [ + "availabilityResults", + "customMeasurements", + "System.Object" + ], + [ + "availabilityResults", + "operation_Name", + "System.String" + ], + [ + "availabilityResults", + "operation_Id", + "System.String" + ], + [ + "availabilityResults", + "operation_ParentId", + "System.String" + ], + [ + "availabilityResults", + "operation_SyntheticSource", + "System.String" + ], + [ + "availabilityResults", + "session_Id", + "System.String" + ], + [ + "availabilityResults", + "user_Id", + "System.String" + ], + [ + "availabilityResults", + "user_AuthenticatedId", + "System.String" + ], + [ + "availabilityResults", + "user_AccountId", + "System.String" + ], + [ + "availabilityResults", + "application_Version", + "System.String" + ], + [ + "availabilityResults", + "client_Type", + "System.String" + ], + [ + "availabilityResults", + "client_Model", + "System.String" + ], + [ + "availabilityResults", + "client_OS", + "System.String" + ], + [ + "availabilityResults", + "client_IP", + "System.String" + ], + [ + "availabilityResults", + "client_City", + "System.String" + ], + [ + "availabilityResults", + "client_StateOrProvince", + "System.String" + ], + [ + "availabilityResults", + "client_CountryOrRegion", + "System.String" + ], + [ + "availabilityResults", + "client_Browser", + "System.String" + ], + [ + "availabilityResults", + "cloud_RoleName", + "System.String" + ], + [ + "availabilityResults", + "cloud_RoleInstance", + "System.String" + ], + [ + "availabilityResults", + "appId", + "System.String" + ], + [ + "availabilityResults", + "appName", + "System.String" + ], + [ + "availabilityResults", + "iKey", + "System.String" + ], + [ + "availabilityResults", + "sdkVersion", + "System.String" + ], + [ + "availabilityResults", + "itemId", + "System.String" + ], + [ + "availabilityResults", + "itemType", + "System.String" + ], + [ + "availabilityResults", + "itemCount", + "System.Double" + ], + [ + "customMetrics", + "timestamp", + "System.DateTime" + ], + [ + "customMetrics", + "name", + "System.String" + ], + [ + "customMetrics", + "value", + "System.Double" + ], + [ + "customMetrics", + "valueCount", + "System.Int32" + ], + [ + "customMetrics", + "valueSum", + "System.Double" + ], + [ + "customMetrics", + "valueMin", + "System.Double" + ], + [ + "customMetrics", + "valueMax", + "System.Double" + ], + [ + "customMetrics", + "valueStdDev", + "System.Double" + ], + [ + "customMetrics", + "customDimensions", + "System.Object" + ], + [ + "customMetrics", + "operation_Name", + "System.String" + ], + [ + "customMetrics", + "operation_Id", + "System.String" + ], + [ + "customMetrics", + "operation_ParentId", + "System.String" + ], + [ + "customMetrics", + "operation_SyntheticSource", + "System.String" + ], + [ + "customMetrics", + "session_Id", + "System.String" + ], + [ + "customMetrics", + "user_Id", + "System.String" + ], + [ + "customMetrics", + "user_AuthenticatedId", + "System.String" + ], + [ + "customMetrics", + "user_AccountId", + "System.String" + ], + [ + "customMetrics", + "application_Version", + "System.String" + ], + [ + "customMetrics", + "client_Type", + "System.String" + ], + [ + "customMetrics", + "client_Model", + "System.String" + ], + [ + "customMetrics", + "client_OS", + "System.String" + ], + [ + "customMetrics", + "client_IP", + "System.String" + ], + [ + "customMetrics", + "client_City", + "System.String" + ], + [ + "customMetrics", + "client_StateOrProvince", + "System.String" + ], + [ + "customMetrics", + "client_CountryOrRegion", + "System.String" + ], + [ + "customMetrics", + "client_Browser", + "System.String" + ], + [ + "customMetrics", + "cloud_RoleName", + "System.String" + ], + [ + "customMetrics", + "cloud_RoleInstance", + "System.String" + ], + [ + "customMetrics", + "appId", + "System.String" + ], + [ + "customMetrics", + "appName", + "System.String" + ], + [ + "customMetrics", + "iKey", + "System.String" + ], + [ + "customMetrics", + "sdkVersion", + "System.String" + ], + [ + "customMetrics", + "itemId", + "System.String" + ], + [ + "customMetrics", + "itemType", + "System.String" + ], + [ + "performanceCounters", + "timestamp", + "System.DateTime" + ], + [ + "performanceCounters", + "name", + "System.String" + ], + [ + "performanceCounters", + "category", + "System.String" + ], + [ + "performanceCounters", + "counter", + "System.String" + ], + [ + "performanceCounters", + "instance", + "System.String" + ], + [ + "performanceCounters", + "value", + "System.String" + ], + [ + "performanceCounters", + "customDimensions", + "System.Object" + ], + [ + "performanceCounters", + "operation_Name", + "System.String" + ], + [ + "performanceCounters", + "operation_Id", + "System.String" + ], + [ + "performanceCounters", + "operation_ParentId", + "System.String" + ], + [ + "performanceCounters", + "operation_SyntheticSource", + "System.String" + ], + [ + "performanceCounters", + "session_Id", + "System.String" + ], + [ + "performanceCounters", + "user_Id", + "System.String" + ], + [ + "performanceCounters", + "user_AuthenticatedId", + "System.String" + ], + [ + "performanceCounters", + "user_AccountId", + "System.String" + ], + [ + "performanceCounters", + "application_Version", + "System.String" + ], + [ + "performanceCounters", + "client_Type", + "System.String" + ], + [ + "performanceCounters", + "client_Model", + "System.String" + ], + [ + "performanceCounters", + "client_OS", + "System.String" + ], + [ + "performanceCounters", + "client_IP", + "System.String" + ], + [ + "performanceCounters", + "client_City", + "System.String" + ], + [ + "performanceCounters", + "client_StateOrProvince", + "System.String" + ], + [ + "performanceCounters", + "client_CountryOrRegion", + "System.String" + ], + [ + "performanceCounters", + "client_Browser", + "System.String" + ], + [ + "performanceCounters", + "cloud_RoleName", + "System.String" + ], + [ + "performanceCounters", + "cloud_RoleInstance", + "System.String" + ], + [ + "performanceCounters", + "appId", + "System.String" + ], + [ + "performanceCounters", + "appName", + "System.String" + ], + [ + "performanceCounters", + "iKey", + "System.String" + ], + [ + "performanceCounters", + "sdkVersion", + "System.String" + ], + [ + "performanceCounters", + "itemId", + "System.String" + ], + [ + "performanceCounters", + "itemType", + "System.String" + ], + [ + "browserTimings", + "timestamp", + "System.DateTime" + ], + [ + "browserTimings", + "name", + "System.String" + ], + [ + "browserTimings", + "url", + "System.String" + ], + [ + "browserTimings", + "networkDuration", + "System.Double" + ], + [ + "browserTimings", + "sendDuration", + "System.Double" + ], + [ + "browserTimings", + "receiveDuration", + "System.Double" + ], + [ + "browserTimings", + "processingDuration", + "System.Double" + ], + [ + "browserTimings", + "totalDuration", + "System.Double" + ], + [ + "browserTimings", + "performanceBucket", + "System.String" + ], + [ + "browserTimings", + "customDimensions", + "System.Object" + ], + [ + "browserTimings", + "customMeasurements", + "System.Object" + ], + [ + "browserTimings", + "operation_Name", + "System.String" + ], + [ + "browserTimings", + "operation_Id", + "System.String" + ], + [ + "browserTimings", + "operation_ParentId", + "System.String" + ], + [ + "browserTimings", + "operation_SyntheticSource", + "System.String" + ], + [ + "browserTimings", + "session_Id", + "System.String" + ], + [ + "browserTimings", + "user_Id", + "System.String" + ], + [ + "browserTimings", + "user_AuthenticatedId", + "System.String" + ], + [ + "browserTimings", + "user_AccountId", + "System.String" + ], + [ + "browserTimings", + "application_Version", + "System.String" + ], + [ + "browserTimings", + "client_Type", + "System.String" + ], + [ + "browserTimings", + "client_Model", + "System.String" + ], + [ + "browserTimings", + "client_OS", + "System.String" + ], + [ + "browserTimings", + "client_IP", + "System.String" + ], + [ + "browserTimings", + "client_City", + "System.String" + ], + [ + "browserTimings", + "client_StateOrProvince", + "System.String" + ], + [ + "browserTimings", + "client_CountryOrRegion", + "System.String" + ], + [ + "browserTimings", + "client_Browser", + "System.String" + ], + [ + "browserTimings", + "cloud_RoleName", + "System.String" + ], + [ + "browserTimings", + "cloud_RoleInstance", + "System.String" + ], + [ + "browserTimings", + "appId", + "System.String" + ], + [ + "browserTimings", + "appName", + "System.String" + ], + [ + "browserTimings", + "iKey", + "System.String" + ], + [ + "browserTimings", + "sdkVersion", + "System.String" + ], + [ + "browserTimings", + "itemId", + "System.String" + ], + [ + "browserTimings", + "itemType", + "System.String" + ], + [ + "browserTimings", + "itemCount", + "System.Double" + ], + [ + "tEST_CL", + "col_0", + "System.String" + ], + [ + "tEST_CL", + "col_1", + "System.String" + ], + [ + "tEST_CL", + "col_2", + "System.String" + ], + [ + "tEST_CL", + "col_3", + "System.String" + ], + [ + "tEST_CL", + "ingestionTime", + "System.DateTime" + ], + [ + "bla_CL", + "col_0", + "System.String" + ], + [ + "bla_CL", + "col_1", + "System.String" + ], + [ + "bla_CL", + "col_2", + "System.String" + ], + [ + "bla_CL", + "col_3", + "System.String" + ], + [ + "bla_CL", + "ingestionTime", + "System.DateTime" + ] + ] + }, + { + "name": "Table_1", + "columns": [ + { + "name": "TableType", + "type": "String" + }, + { + "name": "TableName", + "type": "String" + }, + { + "name": "PrimaryTimestampColumnName", + "type": "String" + } + ], + "rows": [ + [ + "ai", + "traces", + "timestamp" + ], + [ + "ai", + "customEvents", + "timestamp" + ], + [ + "ai", + "pageViews", + "timestamp" + ], + [ + "ai", + "requests", + "timestamp" + ], + [ + "ai", + "dependencies", + "timestamp" + ], + [ + "ai", + "exceptions", + "timestamp" + ], + [ + "ai", + "availabilityResults", + "timestamp" + ], + [ + "ai", + "customMetrics", + "timestamp" + ], + [ + "ai", + "performanceCounters", + "timestamp" + ], + [ + "ai", + "browserTimings", + "timestamp" + ], + [ + "openschema", + "tEST_CL", + "ingestionTime" + ], + [ + "openschema", + "bla_CL", + "ingestionTime" + ] + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json new file mode 100644 index 000000000000..8bd81e4ea96c --- /dev/null +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json @@ -0,0 +1,2072 @@ +{ + "swagger": "2.0", + "info": { + "version": "2015-05-01", + "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}/api/metrics/{metricId}": { + "get": { + "operationId": "GetMetric", + "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}/api/metrics/metadata": { + "get": { + "operationId": "GetMetricsMetadata", + "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}/api/events/{eventType}": { + "get": { + "operationId": "GetEvents", + "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}/api/events/{eventType}/{eventId}": { + "get": { + "operationId": "GetEvent", + "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}/api/events/$metadata": { + "get": { + "operationId": "GetEventsMetadataOData", + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/api/query": { + "post": { + "operationId": "Query", + "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/queryTimespan" + }, + { + "$ref": "#/parameters/apiVersion" + } + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/queryResults" + } + }, + "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": "client" + }, + "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", + "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", + "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": { + "name": "applications", + "in": "query", + "required": false, + "description": "Application IDs to include in cross-application queries.", + "type": "array", + "items": { + "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": "integer", + "format": "int64" + }, + "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": "number", + "format": "double" + }, + "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" + } + }, + "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": { + "TableName": { + "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": [ + "TableName", + "Columns", + "Rows" + ] + }, + "column": { + "title": "A table column.", + "description": "A column in a table.", + "type": "object", + "properties": { + "ColumnName": { + "description": "The name of this column.", + "type": "string" + }, + "ColumnType": { + "description": "The type of this column.", + "type": "string" + }, + "DataType": { + "description": "A further delineation of the data type, corresponding to .NET types.", + "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..695f80ab09d1 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -49,7 +49,7 @@ "get": { "operationId": "GetMetric", "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" @@ -103,40 +103,6 @@ } } }, - "/apps/{appId}/metrics": { - "post": { - "operationId": "GetMetrics", - "summary": "Retrieve metric data", - "description": "Gets metric values for multiple metrics", - "x-ms-examples": { - "postMetric": { - "$ref": "examples/metric-post.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/appId" - }, - { - "$ref": "#/parameters/metricsPostBody" - } - ], - "responses": { - "200": { - "description": "Successful response", - "schema": { - "$ref": "#/definitions/metricsResults" - } - }, - "default": { - "description": "An error response object.", - "schema": { - "$ref": "#/definitions/errorResponse" - } - } - } - } - }, "/apps/{appId}/metrics/metadata": { "get": { "operationId": "GetMetricsMetadata", @@ -154,7 +120,7 @@ ], "responses": { "200": { - "description": "Successful response", + "description": "Successful responses", "schema": { "type": "object" } @@ -318,45 +284,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", "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 +299,6 @@ }, { "$ref": "#/parameters/queryBody" - }, - { - "$ref": "#/parameters/queryTimespan" } ], "responses": { @@ -388,37 +316,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 +325,7 @@ "in": "path", "required": true, "type": "string", - "x-ms-parameter-location": "client" + "x-ms-parameter-location": "method" }, "metricId": { "name": "metricId", @@ -470,7 +367,11 @@ "availabilityResults/duration", "billing/telemetryCount", "customEvents/count" - ] + ], + "x-ms-enum": { + "name": "MetricId", + "modelAsString": true + } }, "metricsTimespan": { "name": "timespan", @@ -478,8 +379,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 +396,13 @@ "max", "avg", "sum", - "count" - ] + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } } }, "metricsInterval": { @@ -535,7 +440,11 @@ "environment", "hostingLocation", "instanceName" - ] + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } } }, "metricsTop": { @@ -592,7 +501,7 @@ ], "x-ms-enum": { "name": "EventType", - "modelAsString": false + "modelAsString": true } }, "eventId": { @@ -609,8 +518,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 +586,25 @@ "description": "An expression used for aggregation over returned events", "type": "string" }, + "applicationsParam": { + "name": "applications", + "in": "query", + "collectionFormat": "csv", + "required": false, + "default": "", + "description": "Application IDs to include in cross-application queries.", + "type": "array", + "items": { + "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 +662,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 +683,13 @@ "max", "avg", "sum", - "count" - ] + "count", + "unique" + ], + "x-ms-enum": { + "name": "MetricsAggregation", + "modelAsString": false + } } }, "metricsInterval": { @@ -793,7 +720,11 @@ "environment", "hostingLocation", "instanceName" - ] + ], + "x-ms-enum": { + "name": "MetricsSegment", + "modelAsString": true + } } }, "metricsTop": { @@ -971,7 +902,7 @@ ], "x-ms-enum": { "name": "EventType", - "modelAsString": false + "modelAsString": true } }, "eventId": { @@ -980,8 +911,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 +1002,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", @@ -1910,8 +1804,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 +1814,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 +1826,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..bf093640146b 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -37,7 +37,26 @@ 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 + - 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" +``` + + +### Tag: 2015-05-01 +These settings apply only when `--tag=20150501` is specified on the command line. + +``` yaml $(tag) == '20150501' +input-file: +- microsoft.insights/preview/2015-05-01/swagger.json +directive: + - suppress: + - R3016 + reason: Previous service version used camelcase; changed in newer version. ``` # Code Generation @@ -51,14 +70,37 @@ Please also specify `--csharp-sdks-folder= Date: Mon, 14 May 2018 21:32:03 -0700 Subject: [PATCH 02/11] Remove 2015-05-01, will not be exposed in this state --- .../2015-05-01/examples/events-get-by-id.json | 70 - .../examples/events-get-by-type.json | 272 -- .../examples/events-get-metadata.json | 18 - .../2015-05-01/examples/metric-get-full.json | 47 - .../2015-05-01/examples/metric-get.json | 24 - .../2015-05-01/examples/metric-post.json | 102 - .../examples/metrics-get-metadata.json | 2830 ----------------- .../2015-05-01/examples/query-get.json | 560 ---- .../2015-05-01/examples/query-post.json | 562 ---- .../2015-05-01/examples/query-schema.json | 1940 ----------- .../preview/2015-05-01/swagger.json | 2072 ------------ .../applicationinsights/data-plane/readme.md | 13 - 12 files changed, 8510 deletions(-) delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json delete mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json deleted file mode 100644 index f8dcf3e4f908..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-id.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "Get A Specific Events By Type & ID", - "description": "Gets a specific event by type and id.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "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/2015-05-01/examples/events-get-by-type.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json deleted file mode 100644 index 607301ec9500..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-by-type.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "title": "Get Events By Type", - "description": "Gets events of a specific type", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "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/2015-05-01/examples/events-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json deleted file mode 100644 index 909e946df59d..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/events-get-metadata.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "title": "Get Events Metadata", - "description": "Gets event metadata", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01" - }, - "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/2015-05-01/examples/metric-get-full.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json deleted file mode 100644 index 8f4c275d75ba..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get-full.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Get intervaled request count", - "description": "Gets intervaled request count metric", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "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/2015-05-01/examples/metric-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json deleted file mode 100644 index 1022f2e25d94..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-get.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "Get Request Count", - "description": "Gets request count metric", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "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/2015-05-01/examples/metric-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json deleted file mode 100644 index 6980793e8ac0..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metric-post.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "title": "Post Metric", - "description": "Posts data for a metric.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "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/2015-05-01/examples/metrics-get-metadata.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json deleted file mode 100644 index 4eaa7a38f5fc..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/metrics-get-metadata.json +++ /dev/null @@ -1,2830 +0,0 @@ -{ - "title": "Get Metric Metadata", - "description": "Gets metadata data for metrics.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01" - }, - "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/2015-05-01/examples/query-get.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json deleted file mode 100644 index 7ff5192cd771..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-get.json +++ /dev/null @@ -1,560 +0,0 @@ -{ - "title": "Get Query", - "description": "A simple query that returns query results.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "query": "requests | take 5", - "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": [ - { - "TableName": "Table_0", - "Columns": [ - { - "ColumnName": "timestamp", - "DataType": "DateTime", - "ColumnType": "datetime" - }, - { - "ColumnName": "id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "source", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "url", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "success", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "resultCode", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "duration", - "DataType": "Double", - "ColumnType": "real" - }, - { - "ColumnName": "performanceBucket", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemType", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "customDimensions", - "DataType": "String", - "ColumnType": "dynamic" - }, - { - "ColumnName": "customMeasurements", - "DataType": "String", - "ColumnType": "dynamic" - }, - { - "ColumnName": "operation_Name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_ParentId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_SyntheticSource", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "session_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_AuthenticatedId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_AccountId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "application_Version", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Type", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Model", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_OS", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_IP", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_City", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_StateOrProvince", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_CountryOrRegion", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Browser", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "cloud_RoleName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "cloud_RoleInstance", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "appId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "appName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "iKey", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "sdkVersion", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemCount", - "DataType": "Int32", - "ColumnType": "int" - } - ], - "Rows": [ - [ - "2018-05-07T11:20:43.208Z", - "|9e83eb9a7c7a4aa5aeb3fba6f3a35b65.0.3de057bf_", - null, - "GET Reports/Index", - "http://aiconnect2.cloudapp.net/FabrikamProd/Reports", - "True", - "200", - "6.7402", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Reports/Index", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "Application Insights Availability Monitoring", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "us-ca-sjc-azr_9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "San Jose", - "California", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "bc548b80-51e8-11e8-bfb3-d32ea72f5e5f", - "1" - ], - [ - "2018-05-07T11:20:52.052Z", - "|ecad145bb2f444b385fb2eb1b70b3121.0.b7bd30c5_", - null, - "GET Customers/Details", - "http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469", - "False", - "500", - "335.3618", - "250ms-500ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Customers/Details", - "ecad145bb2f444b385fb2eb1b70b3121", - "ecad145bb2f444b385fb2eb1b70b3121", - "Application Insights Availability Monitoring", - "ecad145bb2f444b385fb2eb1b70b3121", - "emea-au-syd-edge_ecad145bb2f444b385fb2eb1b70b3121", - null, - null, - "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", - "PC", - null, - null, - "0.0.0.0", - "Sydney", - "New South Wales", - "Australia", - null, - "fabrikamfiberapp", - "RD00155D5076DF", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "c596b159-51e8-11e8-b752-058527daec51", - "1" - ], - [ - "2018-05-07T11:20:52.177Z", - "|15c55de1e92d49c5a7168d798b8fc3a4.0.b7bd30c6_", - null, - "GET Home/Index", - "http://fabrikamfiberapp.azurewebsites.net/", - "True", - "200", - "695.9726", - "500ms-1sec", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Home/Index", - "15c55de1e92d49c5a7168d798b8fc3a4", - "15c55de1e92d49c5a7168d798b8fc3a4", - "Application Insights Availability Monitoring", - "15c55de1e92d49c5a7168d798b8fc3a4", - "us-va-ash-azr_15c55de1e92d49c5a7168d798b8fc3a4", - null, - null, - "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", - "PC", - null, - null, - "0.0.0.0", - "Washington", - "Virginia", - "United States", - null, - "fabrikamfiberapp", - "RD00155D5076DF", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "c596b15a-51e8-11e8-b752-058527daec51", - "1" - ], - [ - "2018-05-07T11:21:07.134Z", - "|c9a54a32335f47baaaf157b37791208a.0.3de057c1_", - null, - "GET Employees/Create", - "http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create", - "False", - "404", - "4.3193", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Employees/Create", - "c9a54a32335f47baaaf157b37791208a", - "c9a54a32335f47baaaf157b37791208a", - "Application Insights Availability Monitoring", - "c9a54a32335f47baaaf157b37791208a", - "us-tx-sn1-azr_c9a54a32335f47baaaf157b37791208a", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "San Antonio", - "Texas", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "bca51c81-51e8-11e8-bef8-f55159f429f7", - "1" - ], - [ - "2018-05-07T11:21:09.293Z", - "|18a127dd94f94f17baebb5db12cc81ae.21.3de057d4_", - null, - "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "True", - "200", - "0.5556", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "18a127dd94f94f17baebb5db12cc81ae", - "18a127dd94f94f17baebb5db12cc81ae", - "Application Insights Availability Monitoring", - "18a127dd94f94f17baebb5db12cc81ae", - "us-va-ash-azr_18a127dd94f94f17baebb5db12cc81ae", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "Boydton", - "Virginia", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "be39c640-51e8-11e8-b5f6-2bbc5902b3a9", - "1" - ] - ] - }, - { - "TableName": "Table_1", - "Columns": [ - { - "ColumnName": "Value", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "{\"Visualization\":null,\"Title\":null,\"XColumn\":null,\"Series\":null,\"YColumns\":null,\"XTitle\":null,\"YTitle\":null,\"XAxis\":null,\"YAxis\":null,\"Legend\":null,\"YSplit\":null,\"Accumulate\":false,\"IsQuerySorted\":false,\"Kind\":null}" - ] - ] - }, - { - "TableName": "Table_2", - "Columns": [ - { - "ColumnName": "Timestamp", - "DataType": "DateTime", - "ColumnType": "datetime" - }, - { - "ColumnName": "Severity", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "SeverityName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "StatusCode", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "StatusDescription", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Count", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "RequestId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "ActivityId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "SubActivityId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "ClientActivityId", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "2018-05-09T04:59:47.549329Z", - "4", - "Info", - "0", - "Query completed successfully", - "1", - "0692652d-47b6-443c-aa25-95b495374b65", - "0692652d-47b6-443c-aa25-95b495374b65", - "d35acebb-1158-462a-9830-4d63e62a01df", - "54188b93-d9a0-4eef-a3f9-b1694bb40096" - ], - [ - "2018-05-09T04:59:47.549329Z", - "6", - "Stats", - "0", - "{\"ExecutionTime\":0.0625441,\"resource_usage\":{\"cache\":{\"memory\":{\"hits\":102,\"misses\":0,\"total\":102},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"total cpu\":\"00:00:00\"},\"memory\":{\"peak_per_node\":67109408}},\"dataset_statistics\":[{\"table_row_count\":5,\"table_size\":3376}]}", - "1", - "0692652d-47b6-443c-aa25-95b495374b65", - "0692652d-47b6-443c-aa25-95b495374b65", - "d35acebb-1158-462a-9830-4d63e62a01df", - "54188b93-d9a0-4eef-a3f9-b1694bb40096" - ] - ] - }, - { - "TableName": "Table_3", - "Columns": [ - { - "ColumnName": "Ordinal", - "DataType": "Int64", - "ColumnType": "long" - }, - { - "ColumnName": "Kind", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "PrettyName", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "0", - "QueryResult", - "PrimaryResult", - "9ce0100b-c47e-49be-98e9-7bc4863755ba", - "" - ], - [ - "1", - "", - "@ExtendedProperties", - "1a4152ee-ddee-4863-8ef3-12b1ec2bc0d3", - "" - ], - [ - "2", - "QueryStatus", - "QueryStatus", - "00000000-0000-0000-0000-000000000000", - "" - ] - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json deleted file mode 100644 index 3cf0feb5ba57..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-post.json +++ /dev/null @@ -1,562 +0,0 @@ -{ - "title": "Post Query", - "description": "A simple query that returns query results.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01", - "body": { - "timespan": "PT12H", - "query": "requests | take 5" - } - }, - "responses": { - "200": { - "headers": { - "x-ms-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5", - "x-ms-correlation-request-id": "58a37988-2c05-427a-891f-5e0e1266fcc5" - }, - "body": { - "Tables": [ - { - "TableName": "Table_0", - "Columns": [ - { - "ColumnName": "timestamp", - "DataType": "DateTime", - "ColumnType": "datetime" - }, - { - "ColumnName": "id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "source", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "url", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "success", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "resultCode", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "duration", - "DataType": "Double", - "ColumnType": "real" - }, - { - "ColumnName": "performanceBucket", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemType", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "customDimensions", - "DataType": "String", - "ColumnType": "dynamic" - }, - { - "ColumnName": "customMeasurements", - "DataType": "String", - "ColumnType": "dynamic" - }, - { - "ColumnName": "operation_Name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_ParentId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "operation_SyntheticSource", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "session_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_AuthenticatedId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "user_AccountId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "application_Version", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Type", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Model", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_OS", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_IP", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_City", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_StateOrProvince", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_CountryOrRegion", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "client_Browser", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "cloud_RoleName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "cloud_RoleInstance", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "appId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "appName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "iKey", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "sdkVersion", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemId", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "itemCount", - "DataType": "Int32", - "ColumnType": "int" - } - ], - "Rows": [ - [ - "2018-05-07T11:20:43.208Z", - "|9e83eb9a7c7a4aa5aeb3fba6f3a35b65.0.3de057bf_", - null, - "GET Reports/Index", - "http://aiconnect2.cloudapp.net/FabrikamProd/Reports", - "True", - "200", - "6.7402", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Reports/Index", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "Application Insights Availability Monitoring", - "9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - "us-ca-sjc-azr_9e83eb9a7c7a4aa5aeb3fba6f3a35b65", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "San Jose", - "California", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "bc548b80-51e8-11e8-bfb3-d32ea72f5e5f", - "1" - ], - [ - "2018-05-07T11:20:52.052Z", - "|ecad145bb2f444b385fb2eb1b70b3121.0.b7bd30c5_", - null, - "GET Customers/Details", - "http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469", - "False", - "500", - "335.3618", - "250ms-500ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Customers/Details", - "ecad145bb2f444b385fb2eb1b70b3121", - "ecad145bb2f444b385fb2eb1b70b3121", - "Application Insights Availability Monitoring", - "ecad145bb2f444b385fb2eb1b70b3121", - "emea-au-syd-edge_ecad145bb2f444b385fb2eb1b70b3121", - null, - null, - "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", - "PC", - null, - null, - "0.0.0.0", - "Sydney", - "New South Wales", - "Australia", - null, - "fabrikamfiberapp", - "RD00155D5076DF", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "c596b159-51e8-11e8-b752-058527daec51", - "1" - ], - [ - "2018-05-07T11:20:52.177Z", - "|15c55de1e92d49c5a7168d798b8fc3a4.0.b7bd30c6_", - null, - "GET Home/Index", - "http://fabrikamfiberapp.azurewebsites.net/", - "True", - "200", - "695.9726", - "500ms-1sec", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Home/Index", - "15c55de1e92d49c5a7168d798b8fc3a4", - "15c55de1e92d49c5a7168d798b8fc3a4", - "Application Insights Availability Monitoring", - "15c55de1e92d49c5a7168d798b8fc3a4", - "us-va-ash-azr_15c55de1e92d49c5a7168d798b8fc3a4", - null, - null, - "AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3", - "PC", - null, - null, - "0.0.0.0", - "Washington", - "Virginia", - "United States", - null, - "fabrikamfiberapp", - "RD00155D5076DF", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "c596b15a-51e8-11e8-b752-058527daec51", - "1" - ], - [ - "2018-05-07T11:21:07.134Z", - "|c9a54a32335f47baaaf157b37791208a.0.3de057c1_", - null, - "GET Employees/Create", - "http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create", - "False", - "404", - "4.3193", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET Employees/Create", - "c9a54a32335f47baaaf157b37791208a", - "c9a54a32335f47baaaf157b37791208a", - "Application Insights Availability Monitoring", - "c9a54a32335f47baaaf157b37791208a", - "us-tx-sn1-azr_c9a54a32335f47baaaf157b37791208a", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "San Antonio", - "Texas", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "bca51c81-51e8-11e8-bef8-f55159f429f7", - "1" - ], - [ - "2018-05-07T11:21:09.293Z", - "|18a127dd94f94f17baebb5db12cc81ae.21.3de057d4_", - null, - "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "True", - "200", - "0.5556", - "<250ms", - "request", - "{\"_MS.ProcessedByMetricExtractors\":\"(Name:'Requests', Ver:'1.0')\"}", - null, - "GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot", - "18a127dd94f94f17baebb5db12cc81ae", - "18a127dd94f94f17baebb5db12cc81ae", - "Application Insights Availability Monitoring", - "18a127dd94f94f17baebb5db12cc81ae", - "us-va-ash-azr_18a127dd94f94f17baebb5db12cc81ae", - null, - null, - "", - "PC", - null, - null, - "0.0.0.0", - "Boydton", - "Virginia", - "United States", - null, - "", - "AIConnect2", - "cf58dcfd-0683-487c-bc84-048789bca8e5", - "fabrikamprod", - "5a2e4e0c-e136-4a15-9824-90ba859b0a89", - "web:2.6.0-15431", - "be39c640-51e8-11e8-b5f6-2bbc5902b3a9", - "1" - ] - ] - }, - { - "TableName": "Table_1", - "Columns": [ - { - "ColumnName": "Value", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "{\"Visualization\":null,\"Title\":null,\"XColumn\":null,\"Series\":null,\"YColumns\":null,\"XTitle\":null,\"YTitle\":null,\"XAxis\":null,\"YAxis\":null,\"Legend\":null,\"YSplit\":null,\"Accumulate\":false,\"IsQuerySorted\":false,\"Kind\":null}" - ] - ] - }, - { - "TableName": "Table_2", - "Columns": [ - { - "ColumnName": "Timestamp", - "DataType": "DateTime", - "ColumnType": "datetime" - }, - { - "ColumnName": "Severity", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "SeverityName", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "StatusCode", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "StatusDescription", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Count", - "DataType": "Int32", - "ColumnType": "int" - }, - { - "ColumnName": "RequestId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "ActivityId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "SubActivityId", - "DataType": "Guid", - "ColumnType": "guid" - }, - { - "ColumnName": "ClientActivityId", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "2018-05-09T04:59:47.549329Z", - "4", - "Info", - "0", - "Query completed successfully", - "1", - "0692652d-47b6-443c-aa25-95b495374b65", - "0692652d-47b6-443c-aa25-95b495374b65", - "d35acebb-1158-462a-9830-4d63e62a01df", - "54188b93-d9a0-4eef-a3f9-b1694bb40096" - ], - [ - "2018-05-09T04:59:47.549329Z", - "6", - "Stats", - "0", - "{\"ExecutionTime\":0.0625441,\"resource_usage\":{\"cache\":{\"memory\":{\"hits\":102,\"misses\":0,\"total\":102},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"total cpu\":\"00:00:00\"},\"memory\":{\"peak_per_node\":67109408}},\"dataset_statistics\":[{\"table_row_count\":5,\"table_size\":3376}]}", - "1", - "0692652d-47b6-443c-aa25-95b495374b65", - "0692652d-47b6-443c-aa25-95b495374b65", - "d35acebb-1158-462a-9830-4d63e62a01df", - "54188b93-d9a0-4eef-a3f9-b1694bb40096" - ] - ] - }, - { - "TableName": "Table_3", - "Columns": [ - { - "ColumnName": "Ordinal", - "DataType": "Int64", - "ColumnType": "long" - }, - { - "ColumnName": "Kind", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Name", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "Id", - "DataType": "String", - "ColumnType": "string" - }, - { - "ColumnName": "PrettyName", - "DataType": "String", - "ColumnType": "string" - } - ], - "Rows": [ - [ - "0", - "QueryResult", - "PrimaryResult", - "9ce0100b-c47e-49be-98e9-7bc4863755ba", - "" - ], - [ - "1", - "", - "@ExtendedProperties", - "1a4152ee-ddee-4863-8ef3-12b1ec2bc0d3", - "" - ], - [ - "2", - "QueryStatus", - "QueryStatus", - "00000000-0000-0000-0000-000000000000", - "" - ] - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json deleted file mode 100644 index a60aa729f710..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/examples/query-schema.json +++ /dev/null @@ -1,1940 +0,0 @@ -{ - "title": "Get Query", - "description": "A simple query that returns query results.", - "parameters": { - "subscriptionId": "d462d7fa-ab95-4c73-88da-3853bd19b2fe", - "resourceGroupName": "demo-rg", - "applicationName": "DEMO_APP", - "apiVersion": "2015-05-01" - }, - "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": "Table_0", - "columns": [ - { - "name": "TableName", - "type": "String" - }, - { - "name": "ColumnName", - "type": "String" - }, - { - "name": "ColumnType", - "type": "String" - } - ], - "rows": [ - [ - "traces", - "timestamp", - "System.DateTime" - ], - [ - "traces", - "message", - "System.String" - ], - [ - "traces", - "severityLevel", - "System.Int32" - ], - [ - "traces", - "customDimensions", - "System.Object" - ], - [ - "traces", - "customMeasurements", - "System.Object" - ], - [ - "traces", - "operation_Name", - "System.String" - ], - [ - "traces", - "operation_Id", - "System.String" - ], - [ - "traces", - "operation_ParentId", - "System.String" - ], - [ - "traces", - "operation_SyntheticSource", - "System.String" - ], - [ - "traces", - "session_Id", - "System.String" - ], - [ - "traces", - "user_Id", - "System.String" - ], - [ - "traces", - "user_AuthenticatedId", - "System.String" - ], - [ - "traces", - "user_AccountId", - "System.String" - ], - [ - "traces", - "application_Version", - "System.String" - ], - [ - "traces", - "client_Type", - "System.String" - ], - [ - "traces", - "client_Model", - "System.String" - ], - [ - "traces", - "client_OS", - "System.String" - ], - [ - "traces", - "client_IP", - "System.String" - ], - [ - "traces", - "client_City", - "System.String" - ], - [ - "traces", - "client_StateOrProvince", - "System.String" - ], - [ - "traces", - "client_CountryOrRegion", - "System.String" - ], - [ - "traces", - "client_Browser", - "System.String" - ], - [ - "traces", - "cloud_RoleName", - "System.String" - ], - [ - "traces", - "cloud_RoleInstance", - "System.String" - ], - [ - "traces", - "appId", - "System.String" - ], - [ - "traces", - "appName", - "System.String" - ], - [ - "traces", - "iKey", - "System.String" - ], - [ - "traces", - "sdkVersion", - "System.String" - ], - [ - "traces", - "itemId", - "System.String" - ], - [ - "traces", - "itemType", - "System.String" - ], - [ - "traces", - "itemCount", - "System.Double" - ], - [ - "customEvents", - "timestamp", - "System.DateTime" - ], - [ - "customEvents", - "name", - "System.String" - ], - [ - "customEvents", - "customDimensions", - "System.Object" - ], - [ - "customEvents", - "customMeasurements", - "System.Object" - ], - [ - "customEvents", - "operation_Name", - "System.String" - ], - [ - "customEvents", - "operation_Id", - "System.String" - ], - [ - "customEvents", - "operation_ParentId", - "System.String" - ], - [ - "customEvents", - "operation_SyntheticSource", - "System.String" - ], - [ - "customEvents", - "session_Id", - "System.String" - ], - [ - "customEvents", - "user_Id", - "System.String" - ], - [ - "customEvents", - "user_AuthenticatedId", - "System.String" - ], - [ - "customEvents", - "user_AccountId", - "System.String" - ], - [ - "customEvents", - "application_Version", - "System.String" - ], - [ - "customEvents", - "client_Type", - "System.String" - ], - [ - "customEvents", - "client_Model", - "System.String" - ], - [ - "customEvents", - "client_OS", - "System.String" - ], - [ - "customEvents", - "client_IP", - "System.String" - ], - [ - "customEvents", - "client_City", - "System.String" - ], - [ - "customEvents", - "client_StateOrProvince", - "System.String" - ], - [ - "customEvents", - "client_CountryOrRegion", - "System.String" - ], - [ - "customEvents", - "client_Browser", - "System.String" - ], - [ - "customEvents", - "cloud_RoleName", - "System.String" - ], - [ - "customEvents", - "cloud_RoleInstance", - "System.String" - ], - [ - "customEvents", - "appId", - "System.String" - ], - [ - "customEvents", - "appName", - "System.String" - ], - [ - "customEvents", - "iKey", - "System.String" - ], - [ - "customEvents", - "sdkVersion", - "System.String" - ], - [ - "customEvents", - "itemId", - "System.String" - ], - [ - "customEvents", - "itemType", - "System.String" - ], - [ - "customEvents", - "itemCount", - "System.Double" - ], - [ - "pageViews", - "timestamp", - "System.DateTime" - ], - [ - "pageViews", - "name", - "System.String" - ], - [ - "pageViews", - "url", - "System.String" - ], - [ - "pageViews", - "duration", - "System.Double" - ], - [ - "pageViews", - "performanceBucket", - "System.String" - ], - [ - "pageViews", - "customDimensions", - "System.Object" - ], - [ - "pageViews", - "customMeasurements", - "System.Object" - ], - [ - "pageViews", - "operation_Name", - "System.String" - ], - [ - "pageViews", - "operation_Id", - "System.String" - ], - [ - "pageViews", - "operation_ParentId", - "System.String" - ], - [ - "pageViews", - "operation_SyntheticSource", - "System.String" - ], - [ - "pageViews", - "session_Id", - "System.String" - ], - [ - "pageViews", - "user_Id", - "System.String" - ], - [ - "pageViews", - "user_AuthenticatedId", - "System.String" - ], - [ - "pageViews", - "user_AccountId", - "System.String" - ], - [ - "pageViews", - "application_Version", - "System.String" - ], - [ - "pageViews", - "client_Type", - "System.String" - ], - [ - "pageViews", - "client_Model", - "System.String" - ], - [ - "pageViews", - "client_OS", - "System.String" - ], - [ - "pageViews", - "client_IP", - "System.String" - ], - [ - "pageViews", - "client_City", - "System.String" - ], - [ - "pageViews", - "client_StateOrProvince", - "System.String" - ], - [ - "pageViews", - "client_CountryOrRegion", - "System.String" - ], - [ - "pageViews", - "client_Browser", - "System.String" - ], - [ - "pageViews", - "cloud_RoleName", - "System.String" - ], - [ - "pageViews", - "cloud_RoleInstance", - "System.String" - ], - [ - "pageViews", - "appId", - "System.String" - ], - [ - "pageViews", - "appName", - "System.String" - ], - [ - "pageViews", - "iKey", - "System.String" - ], - [ - "pageViews", - "sdkVersion", - "System.String" - ], - [ - "pageViews", - "itemId", - "System.String" - ], - [ - "pageViews", - "itemType", - "System.String" - ], - [ - "pageViews", - "itemCount", - "System.Double" - ], - [ - "requests", - "timestamp", - "System.DateTime" - ], - [ - "requests", - "id", - "System.String" - ], - [ - "requests", - "source", - "System.String" - ], - [ - "requests", - "name", - "System.String" - ], - [ - "requests", - "url", - "System.String" - ], - [ - "requests", - "success", - "System.String" - ], - [ - "requests", - "resultCode", - "System.String" - ], - [ - "requests", - "duration", - "System.Double" - ], - [ - "requests", - "performanceBucket", - "System.String" - ], - [ - "requests", - "customDimensions", - "System.Object" - ], - [ - "requests", - "customMeasurements", - "System.Object" - ], - [ - "requests", - "operation_Name", - "System.String" - ], - [ - "requests", - "operation_Id", - "System.String" - ], - [ - "requests", - "operation_ParentId", - "System.String" - ], - [ - "requests", - "operation_SyntheticSource", - "System.String" - ], - [ - "requests", - "session_Id", - "System.String" - ], - [ - "requests", - "user_Id", - "System.String" - ], - [ - "requests", - "user_AuthenticatedId", - "System.String" - ], - [ - "requests", - "user_AccountId", - "System.String" - ], - [ - "requests", - "application_Version", - "System.String" - ], - [ - "requests", - "client_Type", - "System.String" - ], - [ - "requests", - "client_Model", - "System.String" - ], - [ - "requests", - "client_OS", - "System.String" - ], - [ - "requests", - "client_IP", - "System.String" - ], - [ - "requests", - "client_City", - "System.String" - ], - [ - "requests", - "client_StateOrProvince", - "System.String" - ], - [ - "requests", - "client_CountryOrRegion", - "System.String" - ], - [ - "requests", - "client_Browser", - "System.String" - ], - [ - "requests", - "cloud_RoleName", - "System.String" - ], - [ - "requests", - "cloud_RoleInstance", - "System.String" - ], - [ - "requests", - "appId", - "System.String" - ], - [ - "requests", - "appName", - "System.String" - ], - [ - "requests", - "iKey", - "System.String" - ], - [ - "requests", - "sdkVersion", - "System.String" - ], - [ - "requests", - "itemId", - "System.String" - ], - [ - "requests", - "itemType", - "System.String" - ], - [ - "requests", - "itemCount", - "System.Double" - ], - [ - "dependencies", - "timestamp", - "System.DateTime" - ], - [ - "dependencies", - "id", - "System.String" - ], - [ - "dependencies", - "target", - "System.String" - ], - [ - "dependencies", - "type", - "System.String" - ], - [ - "dependencies", - "name", - "System.String" - ], - [ - "dependencies", - "data", - "System.String" - ], - [ - "dependencies", - "success", - "System.String" - ], - [ - "dependencies", - "resultCode", - "System.String" - ], - [ - "dependencies", - "duration", - "System.Double" - ], - [ - "dependencies", - "performanceBucket", - "System.String" - ], - [ - "dependencies", - "customDimensions", - "System.Object" - ], - [ - "dependencies", - "customMeasurements", - "System.Object" - ], - [ - "dependencies", - "operation_Name", - "System.String" - ], - [ - "dependencies", - "operation_Id", - "System.String" - ], - [ - "dependencies", - "operation_ParentId", - "System.String" - ], - [ - "dependencies", - "operation_SyntheticSource", - "System.String" - ], - [ - "dependencies", - "session_Id", - "System.String" - ], - [ - "dependencies", - "user_Id", - "System.String" - ], - [ - "dependencies", - "user_AuthenticatedId", - "System.String" - ], - [ - "dependencies", - "user_AccountId", - "System.String" - ], - [ - "dependencies", - "application_Version", - "System.String" - ], - [ - "dependencies", - "client_Type", - "System.String" - ], - [ - "dependencies", - "client_Model", - "System.String" - ], - [ - "dependencies", - "client_OS", - "System.String" - ], - [ - "dependencies", - "client_IP", - "System.String" - ], - [ - "dependencies", - "client_City", - "System.String" - ], - [ - "dependencies", - "client_StateOrProvince", - "System.String" - ], - [ - "dependencies", - "client_CountryOrRegion", - "System.String" - ], - [ - "dependencies", - "client_Browser", - "System.String" - ], - [ - "dependencies", - "cloud_RoleName", - "System.String" - ], - [ - "dependencies", - "cloud_RoleInstance", - "System.String" - ], - [ - "dependencies", - "appId", - "System.String" - ], - [ - "dependencies", - "appName", - "System.String" - ], - [ - "dependencies", - "iKey", - "System.String" - ], - [ - "dependencies", - "sdkVersion", - "System.String" - ], - [ - "dependencies", - "itemId", - "System.String" - ], - [ - "dependencies", - "itemType", - "System.String" - ], - [ - "dependencies", - "itemCount", - "System.Double" - ], - [ - "exceptions", - "timestamp", - "System.DateTime" - ], - [ - "exceptions", - "problemId", - "System.String" - ], - [ - "exceptions", - "handledAt", - "System.String" - ], - [ - "exceptions", - "type", - "System.String" - ], - [ - "exceptions", - "message", - "System.String" - ], - [ - "exceptions", - "assembly", - "System.String" - ], - [ - "exceptions", - "method", - "System.String" - ], - [ - "exceptions", - "outerType", - "System.String" - ], - [ - "exceptions", - "outerMessage", - "System.String" - ], - [ - "exceptions", - "outerAssembly", - "System.String" - ], - [ - "exceptions", - "outerMethod", - "System.String" - ], - [ - "exceptions", - "innermostType", - "System.String" - ], - [ - "exceptions", - "innermostMessage", - "System.String" - ], - [ - "exceptions", - "innermostAssembly", - "System.String" - ], - [ - "exceptions", - "innermostMethod", - "System.String" - ], - [ - "exceptions", - "severityLevel", - "System.Int32" - ], - [ - "exceptions", - "details", - "System.Object" - ], - [ - "exceptions", - "customDimensions", - "System.Object" - ], - [ - "exceptions", - "customMeasurements", - "System.Object" - ], - [ - "exceptions", - "operation_Name", - "System.String" - ], - [ - "exceptions", - "operation_Id", - "System.String" - ], - [ - "exceptions", - "operation_ParentId", - "System.String" - ], - [ - "exceptions", - "operation_SyntheticSource", - "System.String" - ], - [ - "exceptions", - "session_Id", - "System.String" - ], - [ - "exceptions", - "user_Id", - "System.String" - ], - [ - "exceptions", - "user_AuthenticatedId", - "System.String" - ], - [ - "exceptions", - "user_AccountId", - "System.String" - ], - [ - "exceptions", - "application_Version", - "System.String" - ], - [ - "exceptions", - "client_Type", - "System.String" - ], - [ - "exceptions", - "client_Model", - "System.String" - ], - [ - "exceptions", - "client_OS", - "System.String" - ], - [ - "exceptions", - "client_IP", - "System.String" - ], - [ - "exceptions", - "client_City", - "System.String" - ], - [ - "exceptions", - "client_StateOrProvince", - "System.String" - ], - [ - "exceptions", - "client_CountryOrRegion", - "System.String" - ], - [ - "exceptions", - "client_Browser", - "System.String" - ], - [ - "exceptions", - "cloud_RoleName", - "System.String" - ], - [ - "exceptions", - "cloud_RoleInstance", - "System.String" - ], - [ - "exceptions", - "appId", - "System.String" - ], - [ - "exceptions", - "appName", - "System.String" - ], - [ - "exceptions", - "iKey", - "System.String" - ], - [ - "exceptions", - "sdkVersion", - "System.String" - ], - [ - "exceptions", - "itemId", - "System.String" - ], - [ - "exceptions", - "itemType", - "System.String" - ], - [ - "exceptions", - "itemCount", - "System.Double" - ], - [ - "availabilityResults", - "timestamp", - "System.DateTime" - ], - [ - "availabilityResults", - "id", - "System.String" - ], - [ - "availabilityResults", - "name", - "System.String" - ], - [ - "availabilityResults", - "location", - "System.String" - ], - [ - "availabilityResults", - "success", - "System.String" - ], - [ - "availabilityResults", - "message", - "System.String" - ], - [ - "availabilityResults", - "size", - "System.Double" - ], - [ - "availabilityResults", - "duration", - "System.Double" - ], - [ - "availabilityResults", - "performanceBucket", - "System.String" - ], - [ - "availabilityResults", - "customDimensions", - "System.Object" - ], - [ - "availabilityResults", - "customMeasurements", - "System.Object" - ], - [ - "availabilityResults", - "operation_Name", - "System.String" - ], - [ - "availabilityResults", - "operation_Id", - "System.String" - ], - [ - "availabilityResults", - "operation_ParentId", - "System.String" - ], - [ - "availabilityResults", - "operation_SyntheticSource", - "System.String" - ], - [ - "availabilityResults", - "session_Id", - "System.String" - ], - [ - "availabilityResults", - "user_Id", - "System.String" - ], - [ - "availabilityResults", - "user_AuthenticatedId", - "System.String" - ], - [ - "availabilityResults", - "user_AccountId", - "System.String" - ], - [ - "availabilityResults", - "application_Version", - "System.String" - ], - [ - "availabilityResults", - "client_Type", - "System.String" - ], - [ - "availabilityResults", - "client_Model", - "System.String" - ], - [ - "availabilityResults", - "client_OS", - "System.String" - ], - [ - "availabilityResults", - "client_IP", - "System.String" - ], - [ - "availabilityResults", - "client_City", - "System.String" - ], - [ - "availabilityResults", - "client_StateOrProvince", - "System.String" - ], - [ - "availabilityResults", - "client_CountryOrRegion", - "System.String" - ], - [ - "availabilityResults", - "client_Browser", - "System.String" - ], - [ - "availabilityResults", - "cloud_RoleName", - "System.String" - ], - [ - "availabilityResults", - "cloud_RoleInstance", - "System.String" - ], - [ - "availabilityResults", - "appId", - "System.String" - ], - [ - "availabilityResults", - "appName", - "System.String" - ], - [ - "availabilityResults", - "iKey", - "System.String" - ], - [ - "availabilityResults", - "sdkVersion", - "System.String" - ], - [ - "availabilityResults", - "itemId", - "System.String" - ], - [ - "availabilityResults", - "itemType", - "System.String" - ], - [ - "availabilityResults", - "itemCount", - "System.Double" - ], - [ - "customMetrics", - "timestamp", - "System.DateTime" - ], - [ - "customMetrics", - "name", - "System.String" - ], - [ - "customMetrics", - "value", - "System.Double" - ], - [ - "customMetrics", - "valueCount", - "System.Int32" - ], - [ - "customMetrics", - "valueSum", - "System.Double" - ], - [ - "customMetrics", - "valueMin", - "System.Double" - ], - [ - "customMetrics", - "valueMax", - "System.Double" - ], - [ - "customMetrics", - "valueStdDev", - "System.Double" - ], - [ - "customMetrics", - "customDimensions", - "System.Object" - ], - [ - "customMetrics", - "operation_Name", - "System.String" - ], - [ - "customMetrics", - "operation_Id", - "System.String" - ], - [ - "customMetrics", - "operation_ParentId", - "System.String" - ], - [ - "customMetrics", - "operation_SyntheticSource", - "System.String" - ], - [ - "customMetrics", - "session_Id", - "System.String" - ], - [ - "customMetrics", - "user_Id", - "System.String" - ], - [ - "customMetrics", - "user_AuthenticatedId", - "System.String" - ], - [ - "customMetrics", - "user_AccountId", - "System.String" - ], - [ - "customMetrics", - "application_Version", - "System.String" - ], - [ - "customMetrics", - "client_Type", - "System.String" - ], - [ - "customMetrics", - "client_Model", - "System.String" - ], - [ - "customMetrics", - "client_OS", - "System.String" - ], - [ - "customMetrics", - "client_IP", - "System.String" - ], - [ - "customMetrics", - "client_City", - "System.String" - ], - [ - "customMetrics", - "client_StateOrProvince", - "System.String" - ], - [ - "customMetrics", - "client_CountryOrRegion", - "System.String" - ], - [ - "customMetrics", - "client_Browser", - "System.String" - ], - [ - "customMetrics", - "cloud_RoleName", - "System.String" - ], - [ - "customMetrics", - "cloud_RoleInstance", - "System.String" - ], - [ - "customMetrics", - "appId", - "System.String" - ], - [ - "customMetrics", - "appName", - "System.String" - ], - [ - "customMetrics", - "iKey", - "System.String" - ], - [ - "customMetrics", - "sdkVersion", - "System.String" - ], - [ - "customMetrics", - "itemId", - "System.String" - ], - [ - "customMetrics", - "itemType", - "System.String" - ], - [ - "performanceCounters", - "timestamp", - "System.DateTime" - ], - [ - "performanceCounters", - "name", - "System.String" - ], - [ - "performanceCounters", - "category", - "System.String" - ], - [ - "performanceCounters", - "counter", - "System.String" - ], - [ - "performanceCounters", - "instance", - "System.String" - ], - [ - "performanceCounters", - "value", - "System.String" - ], - [ - "performanceCounters", - "customDimensions", - "System.Object" - ], - [ - "performanceCounters", - "operation_Name", - "System.String" - ], - [ - "performanceCounters", - "operation_Id", - "System.String" - ], - [ - "performanceCounters", - "operation_ParentId", - "System.String" - ], - [ - "performanceCounters", - "operation_SyntheticSource", - "System.String" - ], - [ - "performanceCounters", - "session_Id", - "System.String" - ], - [ - "performanceCounters", - "user_Id", - "System.String" - ], - [ - "performanceCounters", - "user_AuthenticatedId", - "System.String" - ], - [ - "performanceCounters", - "user_AccountId", - "System.String" - ], - [ - "performanceCounters", - "application_Version", - "System.String" - ], - [ - "performanceCounters", - "client_Type", - "System.String" - ], - [ - "performanceCounters", - "client_Model", - "System.String" - ], - [ - "performanceCounters", - "client_OS", - "System.String" - ], - [ - "performanceCounters", - "client_IP", - "System.String" - ], - [ - "performanceCounters", - "client_City", - "System.String" - ], - [ - "performanceCounters", - "client_StateOrProvince", - "System.String" - ], - [ - "performanceCounters", - "client_CountryOrRegion", - "System.String" - ], - [ - "performanceCounters", - "client_Browser", - "System.String" - ], - [ - "performanceCounters", - "cloud_RoleName", - "System.String" - ], - [ - "performanceCounters", - "cloud_RoleInstance", - "System.String" - ], - [ - "performanceCounters", - "appId", - "System.String" - ], - [ - "performanceCounters", - "appName", - "System.String" - ], - [ - "performanceCounters", - "iKey", - "System.String" - ], - [ - "performanceCounters", - "sdkVersion", - "System.String" - ], - [ - "performanceCounters", - "itemId", - "System.String" - ], - [ - "performanceCounters", - "itemType", - "System.String" - ], - [ - "browserTimings", - "timestamp", - "System.DateTime" - ], - [ - "browserTimings", - "name", - "System.String" - ], - [ - "browserTimings", - "url", - "System.String" - ], - [ - "browserTimings", - "networkDuration", - "System.Double" - ], - [ - "browserTimings", - "sendDuration", - "System.Double" - ], - [ - "browserTimings", - "receiveDuration", - "System.Double" - ], - [ - "browserTimings", - "processingDuration", - "System.Double" - ], - [ - "browserTimings", - "totalDuration", - "System.Double" - ], - [ - "browserTimings", - "performanceBucket", - "System.String" - ], - [ - "browserTimings", - "customDimensions", - "System.Object" - ], - [ - "browserTimings", - "customMeasurements", - "System.Object" - ], - [ - "browserTimings", - "operation_Name", - "System.String" - ], - [ - "browserTimings", - "operation_Id", - "System.String" - ], - [ - "browserTimings", - "operation_ParentId", - "System.String" - ], - [ - "browserTimings", - "operation_SyntheticSource", - "System.String" - ], - [ - "browserTimings", - "session_Id", - "System.String" - ], - [ - "browserTimings", - "user_Id", - "System.String" - ], - [ - "browserTimings", - "user_AuthenticatedId", - "System.String" - ], - [ - "browserTimings", - "user_AccountId", - "System.String" - ], - [ - "browserTimings", - "application_Version", - "System.String" - ], - [ - "browserTimings", - "client_Type", - "System.String" - ], - [ - "browserTimings", - "client_Model", - "System.String" - ], - [ - "browserTimings", - "client_OS", - "System.String" - ], - [ - "browserTimings", - "client_IP", - "System.String" - ], - [ - "browserTimings", - "client_City", - "System.String" - ], - [ - "browserTimings", - "client_StateOrProvince", - "System.String" - ], - [ - "browserTimings", - "client_CountryOrRegion", - "System.String" - ], - [ - "browserTimings", - "client_Browser", - "System.String" - ], - [ - "browserTimings", - "cloud_RoleName", - "System.String" - ], - [ - "browserTimings", - "cloud_RoleInstance", - "System.String" - ], - [ - "browserTimings", - "appId", - "System.String" - ], - [ - "browserTimings", - "appName", - "System.String" - ], - [ - "browserTimings", - "iKey", - "System.String" - ], - [ - "browserTimings", - "sdkVersion", - "System.String" - ], - [ - "browserTimings", - "itemId", - "System.String" - ], - [ - "browserTimings", - "itemType", - "System.String" - ], - [ - "browserTimings", - "itemCount", - "System.Double" - ], - [ - "tEST_CL", - "col_0", - "System.String" - ], - [ - "tEST_CL", - "col_1", - "System.String" - ], - [ - "tEST_CL", - "col_2", - "System.String" - ], - [ - "tEST_CL", - "col_3", - "System.String" - ], - [ - "tEST_CL", - "ingestionTime", - "System.DateTime" - ], - [ - "bla_CL", - "col_0", - "System.String" - ], - [ - "bla_CL", - "col_1", - "System.String" - ], - [ - "bla_CL", - "col_2", - "System.String" - ], - [ - "bla_CL", - "col_3", - "System.String" - ], - [ - "bla_CL", - "ingestionTime", - "System.DateTime" - ] - ] - }, - { - "name": "Table_1", - "columns": [ - { - "name": "TableType", - "type": "String" - }, - { - "name": "TableName", - "type": "String" - }, - { - "name": "PrimaryTimestampColumnName", - "type": "String" - } - ], - "rows": [ - [ - "ai", - "traces", - "timestamp" - ], - [ - "ai", - "customEvents", - "timestamp" - ], - [ - "ai", - "pageViews", - "timestamp" - ], - [ - "ai", - "requests", - "timestamp" - ], - [ - "ai", - "dependencies", - "timestamp" - ], - [ - "ai", - "exceptions", - "timestamp" - ], - [ - "ai", - "availabilityResults", - "timestamp" - ], - [ - "ai", - "customMetrics", - "timestamp" - ], - [ - "ai", - "performanceCounters", - "timestamp" - ], - [ - "ai", - "browserTimings", - "timestamp" - ], - [ - "openschema", - "tEST_CL", - "ingestionTime" - ], - [ - "openschema", - "bla_CL", - "ingestionTime" - ] - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json deleted file mode 100644 index 8bd81e4ea96c..000000000000 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/2015-05-01/swagger.json +++ /dev/null @@ -1,2072 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2015-05-01", - "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}/api/metrics/{metricId}": { - "get": { - "operationId": "GetMetric", - "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}/api/metrics/metadata": { - "get": { - "operationId": "GetMetricsMetadata", - "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}/api/events/{eventType}": { - "get": { - "operationId": "GetEvents", - "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}/api/events/{eventType}/{eventId}": { - "get": { - "operationId": "GetEvent", - "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}/api/events/$metadata": { - "get": { - "operationId": "GetEventsMetadataOData", - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/api/query": { - "post": { - "operationId": "Query", - "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/queryTimespan" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successful response", - "schema": { - "$ref": "#/definitions/queryResults" - } - }, - "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": "client" - }, - "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", - "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", - "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": { - "name": "applications", - "in": "query", - "required": false, - "description": "Application IDs to include in cross-application queries.", - "type": "array", - "items": { - "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": "integer", - "format": "int64" - }, - "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": "number", - "format": "double" - }, - "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" - } - }, - "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": { - "TableName": { - "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": [ - "TableName", - "Columns", - "Rows" - ] - }, - "column": { - "title": "A table column.", - "description": "A column in a table.", - "type": "object", - "properties": { - "ColumnName": { - "description": "The name of this column.", - "type": "string" - }, - "ColumnType": { - "description": "The type of this column.", - "type": "string" - }, - "DataType": { - "description": "A further delineation of the data type, corresponding to .NET types.", - "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/readme.md b/specification/applicationinsights/data-plane/readme.md index bf093640146b..2afdedb9ef5f 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -46,19 +46,6 @@ directive: transform: $.operationId = "Query" ``` - -### Tag: 2015-05-01 -These settings apply only when `--tag=20150501` is specified on the command line. - -``` yaml $(tag) == '20150501' -input-file: -- microsoft.insights/preview/2015-05-01/swagger.json -directive: - - suppress: - - R3016 - reason: Previous service version used camelcase; changed in newer version. -``` - # Code Generation ## C# From e149376511173250cc11a803c535903292595a46 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Mon, 14 May 2018 21:34:43 -0700 Subject: [PATCH 03/11] remove inoperative directive --- specification/operationalinsights/data-plane/readme.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/operationalinsights/data-plane/readme.md b/specification/operationalinsights/data-plane/readme.md index cf07b1a1d519..566f9bf8ec71 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -44,8 +44,6 @@ 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" - - reason: Remove parameter only used in removed operation. - remove-parameter: workspacesParam ``` --- From 02b8b165b53629bc57e3c387028913568fec3fb3 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Mon, 14 May 2018 22:13:14 -0700 Subject: [PATCH 04/11] parameter location --- .../microsoft.insights/preview/v1/AppInsights.json | 8 +++----- .../stable/v1/OperationalInsights.json | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index 695f80ab09d1..921e440e9103 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -587,16 +587,14 @@ "type": "string" }, "applicationsParam": { + "description": "A list of applications over which to query.", "name": "applications", "in": "query", "collectionFormat": "csv", "required": false, "default": "", - "description": "Application IDs to include in cross-application queries.", - "type": "array", - "items": { - "type": "string" - } + "x-ms-parameter-location": "method", + "type": "string" }, "queryTimespan": { "name": "timespan", 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 092117cac032..9e7af541ebf2 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json @@ -140,6 +140,7 @@ "collectionFormat": "csv", "required": false, "default": "", + "x-ms-parameter-location": "method", "type": "string" }, "queryParam": { From 80cae83325fbddfa84d1c74434137f2351763fea Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Mon, 14 May 2018 22:14:16 -0700 Subject: [PATCH 05/11] re-fix directive --- specification/applicationinsights/data-plane/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 2afdedb9ef5f..38f5a2694478 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -60,9 +60,6 @@ csharp: output-folder: $(csharp-sdks-folder)/ApplicationInsights/DataPlane/ApplicationInsights/Generated clear-output-folder: true payload-flattening-threshold: 3 -directive: - - reason: Don't expose the GET endpoint since its behavior is more limited than POST - remove-operation: GetQuery ``` ``` yaml $(python) From 3489bddde7e5b444b6b6873d77fdd05f6233ab79 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Tue, 15 May 2018 14:06:57 -0700 Subject: [PATCH 06/11] Add back some operations --- .../preview/v1/AppInsights.json | 102 +++++++++++++++++- .../applicationinsights/data-plane/readme.md | 2 + 2 files changed, 103 insertions(+), 1 deletion(-) diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index 921e440e9103..91ee3d30647a 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -103,6 +103,40 @@ } } }, + "/apps/{appId}/metrics": { + "post": { + "operationId": "GetMetrics", + "summary": "Retrieve metric data", + "description": "Gets metric values for multiple metrics", + "x-ms-examples": { + "postMetric": { + "$ref": "examples/metric-post.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/appId" + }, + { + "$ref": "#/parameters/metricsPostBody" + } + ], + "responses": { + "200": { + "description": "Successful response", + "schema": { + "$ref": "#/definitions/metricsResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } + } + }, "/apps/{appId}/metrics/metadata": { "get": { "operationId": "GetMetricsMetadata", @@ -285,7 +319,7 @@ }, "/apps/{appId}/query": { "post": { - "operationId": "Query", + "operationId": "Query_Post", "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": { @@ -315,6 +349,72 @@ } } } + }, + "get": { + "operationId": "Query_Get", + "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" + } + } + } + } + }, + "/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 response", + "schema": { + "$ref": "#/definitions/queryResults" + } + }, + "default": { + "description": "An error response object.", + "schema": { + "$ref": "#/definitions/errorResponse" + } + } + } } } }, diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 38f5a2694478..132eb37803e1 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -44,6 +44,8 @@ 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" + - reason: Query schema will be deprecated, so do not expose in newly generated SDKs. + remove-operation: GetQuerySchema ``` # Code Generation From f05ab5fd36d5d611aa71de9dac173b81af15adbb Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Tue, 15 May 2018 17:24:43 -0700 Subject: [PATCH 07/11] new versions --- .../2018-04-20/examples/events-get-by-id.json | 70 + .../examples/events-get-by-type.json | 272 ++ .../examples/events-get-metadata.json | 18 + .../2018-04-20/examples/metric-get-full.json | 47 + .../2018-04-20/examples/metric-get.json | 24 + .../2018-04-20/examples/metric-post.json | 102 + .../examples/metrics-get-metadata.json | 2830 +++++++++++++++++ .../2018-04-20/examples/query-post.json | 93 + .../preview/2018-04-20/swagger.json | 2071 ++++++++++++ .../preview/v1/examples/events-get-by-id.json | 5 +- .../oms-get-cross-workspace-example.json | 69 + .../2017-10-01/examples/oms-get-example.json | 161 + .../oms-post-cross-workspace-example.json | 74 + .../2017-10-01/examples/oms-post-example.json | 159 + .../preview/2017-10-01/swagger.json | 335 ++ .../operationalinsights/data-plane/readme.md | 9 + 16 files changed, 6338 insertions(+), 1 deletion(-) create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-id.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-by-type.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/events-get-metadata.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get-full.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-get.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metric-post.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/metrics-get-metadata.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/examples/query-post.json create mode 100644 specification/applicationinsights/data-plane/microsoft.insights/preview/2018-04-20/swagger.json create mode 100644 specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json create mode 100644 specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-example.json create mode 100644 specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-cross-workspace-example.json create mode 100644 specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-post-example.json create mode 100644 specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/swagger.json 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..1bd5bfa58273 --- /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_Post", + "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": "GetMetric", + "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": "GetMetricsMetadata", + "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": "GetEvents", + "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": "GetEvent", + "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": "GetEventsMetadataOData", + "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": "integer", + "format": "int64" + }, + "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": "number", + "format": "double" + }, + "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/preview/v1/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json index d68ed461a1c1..7ba2c1b9cfff 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json @@ -2,7 +2,10 @@ "title": "Get A Specific Events By Type & ID", "description": "Gets a specific event by type and id.", "parameters": { - "appId": "DEMO_APP", + "subscriptionId": "c512b59c-4005-40e2-b13d-ac29cfb46af4", + "resourceGroupName": "test-rg", + "applicationName": "azure-insights", + "apiVersion": "2018-04-20", "eventType": "traces", "eventId": "dc76df01-0141-11e8-9894-e3e7c1eeabad" }, diff --git a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json new file mode 100644 index 000000000000..25d7021ba7de --- /dev/null +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2017-10-01/examples/oms-get-cross-workspace-example.json @@ -0,0 +1,69 @@ +{ + "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", + "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-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..448fe515f5f3 --- /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_Post", + "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.", + "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/readme.md b/specification/operationalinsights/data-plane/readme.md index 566f9bf8ec71..c5f511e51d80 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -46,6 +46,15 @@ directive: transform: $.operationId = "Query" ``` +``` 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" +``` + --- # Code Generation From 99ac4e231c6f6702f562d1ac9035e0037b6a5867 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Tue, 15 May 2018 17:55:22 -0700 Subject: [PATCH 08/11] fix app parameter for v1 direct --- .../preview/v1/examples/events-get-by-id.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json index 7ba2c1b9cfff..d68ed461a1c1 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-by-id.json @@ -2,10 +2,7 @@ "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", + "appId": "DEMO_APP", "eventType": "traces", "eventId": "dc76df01-0141-11e8-9894-e3e7c1eeabad" }, From a017326c523fc0d7dd434b95e1318a43ca6d5c30 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Thu, 7 Jun 2018 13:17:01 -0700 Subject: [PATCH 09/11] Regroup operations for client generation, review cleanup. --- .../preview/2018-04-20/swagger.json | 20 ++++++++-------- .../preview/v1/AppInsights.json | 24 +++++++++---------- .../applicationinsights/data-plane/readme.md | 3 --- .../preview/2017-10-01/swagger.json | 4 ++-- .../stable/v1/OperationalInsights.json | 8 +++---- .../operationalinsights/data-plane/readme.md | 3 --- 6 files changed, 28 insertions(+), 34 deletions(-) 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 index 1bd5bfa58273..ae8c73b1e3e0 100644 --- 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 @@ -46,7 +46,7 @@ "paths": { "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/query": { "post": { - "operationId": "Query_Post", + "operationId": "Query", "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": { @@ -89,7 +89,7 @@ }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/{metricId}": { "get": { - "operationId": "GetMetric", + "operationId": "Metrics_Get", "summary": "Retrieve metric data", "description": "Gets metric values for a single metric", "x-ms-examples": { @@ -156,7 +156,7 @@ }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/metrics/metadata": { "get": { - "operationId": "GetMetricsMetadata", + "operationId": "Metrics_GetMetadata", "summary": "Retrieve metric metatadata", "description": "Gets metadata describing the available metrics", "x-ms-examples": { @@ -196,7 +196,7 @@ }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}": { "get": { - "operationId": "GetEvents", + "operationId": "Events_GetByType", "summary": "Execute OData query", "description": "Executes an OData query for events", "x-ms-examples": { @@ -274,7 +274,7 @@ }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/events/{eventType}/{eventId}": { "get": { - "operationId": "GetEvent", + "operationId": "Events_Get", "summary": "Get an event", "description": "Gets the data for a single event", "x-ms-examples": { @@ -329,7 +329,7 @@ }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/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": { @@ -1668,8 +1668,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", @@ -1730,8 +1730,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", diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index 91ee3d30647a..d4e78a3387e2 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -47,7 +47,7 @@ "paths": { "/apps/{appId}/metrics/{metricId}": { "get": { - "operationId": "GetMetric", + "operationId": "Metrics_Get", "summary": "Retrieve metric data", "description": "Gets metric values for a single metric", "x-ms-examples": { @@ -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": { @@ -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": { @@ -319,7 +319,7 @@ }, "/apps/{appId}/query": { "post": { - "operationId": "Query_Post", + "operationId": "Query", "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": { @@ -388,7 +388,7 @@ }, "/apps/{appId}/query/schema": { "get": { - "operationId": "GetQuerySchema", + "operationId": "Query_GetSchema", "summary": "Get Analytics query metadata", "description": "Gets Analytics query schema describing the data model", "x-ms-examples": { @@ -1680,8 +1680,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", @@ -1742,8 +1742,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", diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 132eb37803e1..37c829e7d90d 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -41,9 +41,6 @@ input-file: directive: - reason: Don't expose the GET endpoint since it's behavior is more limited than POST remove-operation: Query_Get - - 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" - reason: Query schema will be deprecated, so do not expose in newly generated SDKs. remove-operation: GetQuerySchema ``` 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 index 448fe515f5f3..5129d711ef29 100644 --- 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 @@ -46,9 +46,9 @@ "paths": { "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query": { "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" 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 9e7af541ebf2..a78b272c061d 100644 --- a/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json +++ b/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/v1/OperationalInsights.json @@ -88,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" @@ -140,8 +140,8 @@ "collectionFormat": "csv", "required": false, "default": "", - "x-ms-parameter-location": "method", - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" }, "queryParam": { "name": "query", diff --git a/specification/operationalinsights/data-plane/readme.md b/specification/operationalinsights/data-plane/readme.md index c5f511e51d80..00f33d5f03fd 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -41,9 +41,6 @@ input-file: directive: - reason: Don't expose the GET endpoint since it's behavior is more limited than POST remove-operation: Query_Get - - 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" ``` ``` yaml $(tag) == '20171001' From 4b3b33e1db6260e62a2a0d794bad786262d14b94 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Thu, 7 Jun 2018 13:34:53 -0700 Subject: [PATCH 10/11] Remove query schema from preview versions --- .../preview/v1/AppInsights.json | 66 ------------------- .../applicationinsights/data-plane/readme.md | 10 ++- 2 files changed, 8 insertions(+), 68 deletions(-) diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index d4e78a3387e2..bd9748f5d523 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -349,72 +349,6 @@ } } } - }, - "get": { - "operationId": "Query_Get", - "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" - } - } - } - } - }, - "/apps/{appId}/query/schema": { - "get": { - "operationId": "Query_GetSchema", - "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 response", - "schema": { - "$ref": "#/definitions/queryResults" - } - }, - "default": { - "description": "An error response object.", - "schema": { - "$ref": "#/definitions/errorResponse" - } - } - } } } }, diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 37c829e7d90d..7ad96e3a8ada 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -41,8 +41,14 @@ input-file: directive: - reason: Don't expose the GET endpoint since it's behavior is more limited than POST remove-operation: Query_Get - - reason: Query schema will be deprecated, so do not expose in newly generated SDKs. - remove-operation: GetQuerySchema +``` + +``` 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 From bf6b4b0755d66b546b47b46a52bf44cc6bd1c854 Mon Sep 17 00:00:00 2001 From: Ace Eldeib Date: Fri, 8 Jun 2018 11:02:11 -0700 Subject: [PATCH 11/11] query operation, readme cleanup --- .../microsoft.insights/preview/2018-04-20/swagger.json | 2 +- .../microsoft.insights/preview/v1/AppInsights.json | 2 +- specification/applicationinsights/data-plane/readme.md | 2 -- .../preview/2017-10-01/swagger.json | 2 +- specification/operationalinsights/data-plane/readme.md | 10 ++++------ 5 files changed, 7 insertions(+), 11 deletions(-) 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 index ae8c73b1e3e0..93c4d180a37b 100644 --- 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 @@ -46,7 +46,7 @@ "paths": { "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/components/{applicationName}/query": { "post": { - "operationId": "Query", + "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": { diff --git a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json index bd9748f5d523..df69692aa121 100644 --- a/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json +++ b/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/AppInsights.json @@ -319,7 +319,7 @@ }, "/apps/{appId}/query": { "post": { - "operationId": "Query", + "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": { diff --git a/specification/applicationinsights/data-plane/readme.md b/specification/applicationinsights/data-plane/readme.md index 7ad96e3a8ada..993e778ecdca 100644 --- a/specification/applicationinsights/data-plane/readme.md +++ b/specification/applicationinsights/data-plane/readme.md @@ -70,14 +70,12 @@ csharp: ``` yaml $(python) python-mode: create python: - add-credentials: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 namespace: azure.applicationinsights package-name: azure-applicationinsights package-version: 0.1.0 clear-output-folder: true - basic-setup-py: true ``` ``` yaml $(python) && $(python-mode) == 'update' python: 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 index 5129d711ef29..3732c773ad67 100644 --- 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 @@ -46,7 +46,7 @@ "paths": { "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/query": { "post": { - "operationId": "Query", + "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": { diff --git a/specification/operationalinsights/data-plane/readme.md b/specification/operationalinsights/data-plane/readme.md index 00f33d5f03fd..535344f3e188 100644 --- a/specification/operationalinsights/data-plane/readme.md +++ b/specification/operationalinsights/data-plane/readme.md @@ -85,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