diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/CHANGELOG.md b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/CHANGELOG.md deleted file mode 100644 index a7bc323ad869..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/CHANGELOG.md +++ /dev/null @@ -1,14 +0,0 @@ -# Release History - -## 1.1.0-beta.1 (Unreleased) - - -## 1.0.0 (2020-10-15) - -- Release non-preview version -- Bug fix: custom measurements not deserialized from response https://github.com/Azure/azure-sdk-for-net/issues/15524 - - -## 0.9.0-preview.2 (2020-09-25) - -- Bug fix: custom dimensions not deserialized from response https://github.com/Azure/azure-sdk-for-net/issues/13042 diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Directory.Build.props b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Directory.Build.props deleted file mode 100644 index e31f5d6e9b27..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Directory.Build.props +++ /dev/null @@ -1,9 +0,0 @@ - - - true - - - - diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Microsoft.Azure.ApplicationInsights.sln b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Microsoft.Azure.ApplicationInsights.sln deleted file mode 100644 index 90ad7d28f8f0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/Microsoft.Azure.ApplicationInsights.sln +++ /dev/null @@ -1,43 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.539 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.ApplicationInsights.Query", "src\Microsoft.Azure.ApplicationInsights.Query.csproj", "{11C5E91A-77D0-4F53-B2E2-1C9C47713996}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Data.ApplicationInsights.Tests", "tests\Data.ApplicationInsights.Tests.csproj", "{6190B300-2275-4A88-9193-3D238ED9F106}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Rest.ClientRuntime.Azure.TestFramework", "..\..\mgmtcommon\TestFramework\ClientRuntime.Azure.TestFramework\Microsoft.Rest.ClientRuntime.Azure.TestFramework.csproj", "{F699762E-7B16-49E0-B593-5E4D3849D9D9}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Azure.Test.HttpRecorder", "..\..\mgmtcommon\TestFramework\Microsoft.Azure.Test.HttpRecorder\Microsoft.Azure.Test.HttpRecorder.csproj", "{20D52A22-B963-4675-B6FD-F3AC96B81057}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {11C5E91A-77D0-4F53-B2E2-1C9C47713996}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {11C5E91A-77D0-4F53-B2E2-1C9C47713996}.Debug|Any CPU.Build.0 = Debug|Any CPU - {11C5E91A-77D0-4F53-B2E2-1C9C47713996}.Release|Any CPU.ActiveCfg = Release|Any CPU - {11C5E91A-77D0-4F53-B2E2-1C9C47713996}.Release|Any CPU.Build.0 = Release|Any CPU - {6190B300-2275-4A88-9193-3D238ED9F106}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6190B300-2275-4A88-9193-3D238ED9F106}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6190B300-2275-4A88-9193-3D238ED9F106}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6190B300-2275-4A88-9193-3D238ED9F106}.Release|Any CPU.Build.0 = Release|Any CPU - {F699762E-7B16-49E0-B593-5E4D3849D9D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F699762E-7B16-49E0-B593-5E4D3849D9D9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F699762E-7B16-49E0-B593-5E4D3849D9D9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F699762E-7B16-49E0-B593-5E4D3849D9D9}.Release|Any CPU.Build.0 = Release|Any CPU - {20D52A22-B963-4675-B6FD-F3AC96B81057}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {20D52A22-B963-4675-B6FD-F3AC96B81057}.Debug|Any CPU.Build.0 = Debug|Any CPU - {20D52A22-B963-4675-B6FD-F3AC96B81057}.Release|Any CPU.ActiveCfg = Release|Any CPU - {20D52A22-B963-4675-B6FD-F3AC96B81057}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9E8359F5-2713-4D12-9757-E03FD7418949} - EndGlobalSection -EndGlobal diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApiKeyClientCredentials.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApiKeyClientCredentials.cs deleted file mode 100644 index b33732b81745..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApiKeyClientCredentials.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Microsoft.Rest; -using System; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public class ApiKeyClientCredentials : ServiceClientCredentials - { - private string token; - - public ApiKeyClientCredentials(string token) - { - if (string.IsNullOrEmpty(token)) - { - throw new ArgumentException($"{nameof(token)} must not be null or empty"); - } - - this.token = token; - } - - public override Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken) - { - request.Headers.Add("x-api-key", token); - return Task.FromResult(true); - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApplicationInsightsDataClient.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApplicationInsightsDataClient.cs deleted file mode 100644 index 9791a20e8132..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/ApplicationInsightsDataClient.cs +++ /dev/null @@ -1,48 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial class ApplicationInsightsDataClient : ServiceClient, IApplicationInsightsDataClient - { - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(ServiceClientCredentials credentials) : this(credentials, (DelegatingHandler[])null) - { - } - - partial void CustomInitialize() - { - var firstHandler = this.FirstMessageHandler as DelegatingHandler; - if (firstHandler == null) return; - - var customHandler = new CustomDelegatingHandler - { - InnerHandler = firstHandler.InnerHandler, - Client = this, - }; - - firstHandler.InnerHandler = customHandler; - } - - public IList AdditionalApplications { get; set; } = new List(); - - public ApiPreferences Preferences { get; set; } = new ApiPreferences(); - - public string NameHeader { get; set; } - - public string RequestId { get; set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/CustomDelegatingHandler.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/CustomDelegatingHandler.cs deleted file mode 100644 index 599b4b1f5f68..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/CustomDelegatingHandler.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Text; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - internal class CustomDelegatingHandler : DelegatingHandler - { - internal ApplicationInsightsDataClient Client { get; set; } - - internal const string InternalNameHeader = "csharpsdk"; - - protected async override Task SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) - { - var appName = InternalNameHeader; - if (!string.IsNullOrWhiteSpace(Client.NameHeader)) - { - appName += $",{Client.NameHeader}"; - } - - request.Headers.Add("prefer", Client.Preferences.ToString()); - request.Headers.Add("x-ms-app", appName); - request.Headers.Add("x-ms-client-request-id", Client.RequestId ?? Guid.NewGuid().ToString()); - - // Call the inner handler. - var response = await base.SendAsync(request, cancellationToken).ConfigureAwait(false); - - return response; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Events.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Events.cs deleted file mode 100644 index 7afe4236fca4..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Events.cs +++ /dev/null @@ -1,1195 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial class Events : IServiceOperations, IEvents - { - - #region Event Extensions - - /// - /// Execute OData query for trace events - /// - /// - /// Executes an OData query for trace events - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> GetTraceEventsWithHttpMessagesAsync( - string appId, string timespan = default(string), string filter = default(string), string search = default(string), - string orderby = default(string), string select = default(string), int? skip = default(int?), - int? top = default(int?), string format = default(string), bool? count = default(bool?), - string apply = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.Traces, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a trace event - /// - /// - /// Gets the data for a single trace event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> GetTraceEventWithHttpMessagesAsync( - string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.Traces, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for custom events - /// - /// - /// Executes an OData query for custom events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetCustomEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.CustomEvents, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a custom event - /// - /// - /// Gets the data for a single custom event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetCustomEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.CustomEvents, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for page view events - /// - /// - /// Executes an OData query for page view events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetPageViewEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.PageViews, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a page view event - /// - /// - /// Gets the data for a single page view event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetPageViewEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.PageViews, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for browser timing events - /// - /// - /// Executes an OData query for browser timing events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetBrowserTimingEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.BrowserTimings, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a browser timing event - /// - /// - /// Gets the data for a single browser timing event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetBrowserTimingEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.BrowserTimings, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for request events - /// - /// - /// Executes an OData query for request events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetRequestEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.Requests, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a request event - /// - /// - /// Gets the data for a single request event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetRequestEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.Requests, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for dependency events - /// - /// - /// Executes an OData query for dependency events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetDependencyEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.Dependencies, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a dependency event - /// - /// - /// Gets the data for a single dependency event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetDependencyEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.Dependencies, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for exception events - /// - /// - /// Executes an OData query for exception events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetExceptionEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.Exceptions, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get an exception event - /// - /// - /// Gets the data for a single exception event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetExceptionEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.Exceptions, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for availability result events - /// - /// - /// Executes an OData query for availability result events - /// - /// - /// 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. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetAvailabilityResultEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.AvailabilityResults, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get an availability result event - /// - /// - /// Gets the data for a single availability result event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetAvailabilityResultEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.AvailabilityResults, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for performance counter events - /// - /// - /// Executes an OData query for performance counter events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetPerformanceCounterEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.PerformanceCounters, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a performance counter event - /// - /// - /// Gets the data for a single performance counter event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetPerformanceCounterEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.PerformanceCounters, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Execute OData query for custom metric events - /// - /// - /// Executes an OData query for custom metric events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetCustomMetricEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetByTypeWithHttpMessagesAsync(appId, EventType.CustomMetrics, timespan, filter, search, orderby, select, - skip, top, format, count, apply, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - /// - /// Get a custom metricevent - /// - /// - /// Gets the data for a single custom metric event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task>> - GetCustomMetricEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, EventType.CustomMetrics, eventId, timespan, customHeaders, - cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body; - return new HttpOperationResponse> - { - Request = realResult.Request, - Response = realResult.Response, - Body = new EventsResults - { - Aimessages = realBody.Aimessages, - Value = realBody.Value.OfType().ToList(), - } - }; - } - - #endregion - - } -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/EventsExtensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/EventsExtensions.cs deleted file mode 100644 index d905a85f5b2a..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/EventsExtensions.cs +++ /dev/null @@ -1,1865 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial class EventsExtensions - { - - #region Event Extensions - - /// - /// Execute OData query for trace events - /// - /// - /// Executes an OData query for trace events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetTraceEvents(this IEvents operations, string appId, - string timespan = default(string), string filter = default(string), string search = default(string), - string orderby = default(string), string select = default(string), int? skip = default(int?), - int? top = default(int?), string format = default(string), bool? count = default(bool?), - string apply = default(string)) - { - return operations - .GetTraceEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for trace events - /// - /// - /// Executes an OData query for trace events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetTraceEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetTraceEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a trace event - /// - /// - /// Gets the data for a single trace event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetTraceEvent(this IEvents operations, string appId, - string eventId, string timespan = default(string)) - { - return operations.GetTraceEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a trace event - /// - /// - /// Gets the data for a single trace event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetTraceEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetTraceEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for custom events - /// - /// - /// Executes an OData query for custom events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetCustomEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetCustomEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for custom events - /// - /// - /// Executes an OData query for custom events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetCustomEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetCustomEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a custom event - /// - /// - /// Gets the data for a single custom event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetCustomEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetCustomEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a custom event - /// - /// - /// Gets the data for a single custom event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetCustomEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetCustomEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for page view events - /// - /// - /// Executes an OData query for page view events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetPageViewEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetPageViewEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for page view events - /// - /// - /// Executes an OData query for page view events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetPageViewEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetPageViewEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a page view event - /// - /// - /// Gets the data for a single page view event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetPageViewEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetPageViewEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a page view event - /// - /// - /// Gets the data for a single page view event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetPageViewEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetPageViewEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for browser timing events - /// - /// - /// Executes an OData query for browser timing events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetBrowserTimingEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetBrowserTimingEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for browser timing events - /// - /// - /// Executes an OData query for browser timing events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetBrowserTimingEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetBrowserTimingEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a browser timing event - /// - /// - /// Gets the data for a single browser timing event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetBrowserTimingEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetBrowserTimingEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a browser timing event - /// - /// - /// Gets the data for a single browser timing event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetBrowserTimingEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetBrowserTimingEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for request events - /// - /// - /// Executes an OData query for request events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetRequestEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetRequestEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for request events - /// - /// - /// Executes an OData query for request events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetRequestEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetRequestEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a request event - /// - /// - /// Gets the data for a single request event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetRequestEvent(this IEvents operations, string appId, - string eventId, string timespan = default(string)) - { - return operations.GetRequestEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a request event - /// - /// - /// Gets the data for a single request event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetRequestEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetRequestEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for dependency events - /// - /// - /// Executes an OData query for dependency events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetDependencyEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetDependencyEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for dependency events - /// - /// - /// Executes an OData query for dependency events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetDependencyEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetDependencyEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a dependency event - /// - /// - /// Gets the data for a single dependency event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetDependencyEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetDependencyEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a dependency event - /// - /// - /// Gets the data for a single dependency event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetDependencyEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetDependencyEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for exception events - /// - /// - /// Executes an OData query for exception events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetExceptionEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetExceptionEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for exception events - /// - /// - /// Executes an OData query for exception events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetExceptionEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetExceptionEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get an exception event - /// - /// - /// Gets the data for a single exception event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetExceptionEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetExceptionEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get an exception event - /// - /// - /// Gets the data for a single exception event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetExceptionEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetExceptionEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for availability result events - /// - /// - /// Executes an OData query for availability result events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetAvailabilityResultEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetAvailabilityResultEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for availability result events - /// - /// - /// Executes an OData query for availability result events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetAvailabilityResultEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetAvailabilityResultEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get an availability result event - /// - /// - /// Gets the data for a single availability result event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetAvailabilityResultEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetAvailabilityResultEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get an availability result event - /// - /// - /// Gets the data for a single availability result event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetAvailabilityResultEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetAvailabilityResultEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for performance counter events - /// - /// - /// Executes an OData query for performance counter events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetPerformanceCounterEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetPerformanceCounterEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for performance counter events - /// - /// - /// Executes an OData query for performance counter events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetPerformanceCounterEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetPerformanceCounterEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a performance counter event - /// - /// - /// Gets the data for a single performance counter event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetPerformanceCounterEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetPerformanceCounterEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a performance counter event - /// - /// - /// Gets the data for a single performance counter event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetPerformanceCounterEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetPerformanceCounterEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Execute OData query for custom metric events - /// - /// - /// Executes an OData query for custom metric events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetCustomMetricEvents( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations - .GetCustomMetricEventsAsync(appId, timespan, filter, search, orderby, select, skip, top, format, count, apply) - .GetAwaiter().GetResult(); - } - - /// - /// Execute OData query for custom metric events - /// - /// - /// Executes an OData query for custom metric events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task> GetCustomMetricEventsAsync( - this IEvents operations, string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetCustomMetricEventsWithHttpMessagesAsync(appId, timespan, filter, search, orderby, - select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Get a custom metricevent - /// - /// - /// Gets the data for a single custom metric event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults GetCustomMetricEvent( - this IEvents operations, string appId, string eventId, string timespan = default(string)) - { - return operations.GetCustomMetricEventAsync(appId, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get a custom metricevent - /// - /// - /// Gets the data for a single custom metric event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task> GetCustomMetricEventAsync( - this IEvents operations, string appId, string eventId, string timespan = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetCustomMetricEventWithHttpMessagesAsync(appId, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - #endregion - } -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IApplicationInsightsDataClient.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IApplicationInsightsDataClient.cs deleted file mode 100644 index 1781409eaf51..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IApplicationInsightsDataClient.cs +++ /dev/null @@ -1,28 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.Rest; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial interface IApplicationInsightsDataClient - { - /// - /// Additional apps referenced in cross-resource queries. - /// - IList AdditionalApplications { get; set; } - - ApiPreferences Preferences { get; set; } - - /// - /// Unique name for the calling application. This is only used for telemetry and debugging. - /// - string NameHeader { get; set; } - - /// - /// A unique ID per request. This will be generated per request if not specified. - /// - string RequestId { get; set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IEvents.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IEvents.cs deleted file mode 100644 index d182a8a192db..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IEvents.cs +++ /dev/null @@ -1,871 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.Rest; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial interface IEvents - { - /// - /// Execute OData query for trace events - /// - /// - /// Executes an OData query for trace events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetTraceEventsWithHttpMessagesAsync( - string appId, string timespan = default(string), string filter = default(string), string search = default(string), - string orderby = default(string), string select = default(string), int? skip = default(int?), - int? top = default(int?), string format = default(string), bool? count = default(bool?), - string apply = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a trace event - /// - /// - /// Gets the data for a single trace event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetTraceEventWithHttpMessagesAsync( - string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for custom events - /// - /// - /// Executes an OData query for custom events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetCustomEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a custom event - /// - /// - /// Gets the data for a single custom event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetCustomEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for page view events - /// - /// - /// Executes an OData query for page view events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetPageViewEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a page view event - /// - /// - /// Gets the data for a single page view event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetPageViewEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for browser timing events - /// - /// - /// Executes an OData query for browser timing events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetBrowserTimingEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a browser timing event - /// - /// - /// Gets the data for a single browser timing event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetBrowserTimingEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for request events - /// - /// - /// Executes an OData query for request events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetRequestEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a request event - /// - /// - /// Gets the data for a single request event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetRequestEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for dependency events - /// - /// - /// Executes an OData query for dependency events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetDependencyEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a dependency event - /// - /// - /// Gets the data for a single dependency event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetDependencyEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for exception events - /// - /// - /// Executes an OData query for exception events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetExceptionEventsWithHttpMessagesAsync(string appId, string timespan = default(string), string filter = default(string), - string search = default(string), string orderby = default(string), string select = default(string), - int? skip = default(int?), int? top = default(int?), string format = default(string), - bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get an exception event - /// - /// - /// Gets the data for a single exception event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetExceptionEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for availability result events - /// - /// - /// Executes an OData query for availability result events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetAvailabilityResultEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Get an availability result event - /// - /// - /// Gets the data for a single availability result event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetAvailabilityResultEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for performance counter events - /// - /// - /// Executes an OData query for performance counter events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetPerformanceCounterEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a performance counter event - /// - /// - /// Gets the data for a single performance counter event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetPerformanceCounterEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Execute OData query for custom metric events - /// - /// - /// Executes an OData query for custom metric events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetCustomMetricEventsWithHttpMessagesAsync(string appId, string timespan = default(string), - string filter = default(string), string search = default(string), string orderby = default(string), - string select = default(string), int? skip = default(int?), int? top = default(int?), - string format = default(string), bool? count = default(bool?), string apply = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Get a custom metricevent - /// - /// - /// Gets the data for a single custom metric event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task>> GetCustomMetricEventWithHttpMessagesAsync(string appId, string eventId = default(string), string timespan = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IMetrics.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IMetrics.cs deleted file mode 100644 index 6a724d8541aa..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/IMetrics.cs +++ /dev/null @@ -1,339 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.Rest; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial interface IMetrics - { - /// - /// Retrieve summary metric data - /// - /// - /// Gets summary metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetMetricSummaryWithHttpMessagesAsync(string appId, string metricId, string timespan = default(string), IList aggregation = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetIntervaledMetricWithHttpMessagesAsync(string appId, - string metricId, string timespan = default(string), - System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetSegmentedMetricWithHttpMessagesAsync(string appId, string metricId, - string timespan = default(string), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> GetIntervaledSegmentedMetricWithHttpMessagesAsync(string appId, string metricId, - string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), - IList aggregation = default(IList), IList segment = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)); - } -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Metrics.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Metrics.cs deleted file mode 100644 index 7d46231937fb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Metrics.cs +++ /dev/null @@ -1,459 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest; -using System.Collections.Generic; -using System.Linq; -using System.Net.Http; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial class Metrics : IServiceOperations, IMetrics { - #region Metric Extensions - - /// - /// Retrieve summary metric data - /// - /// - /// Gets summary metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> GetMetricSummaryWithHttpMessagesAsync(string appId, string metricId, string timespan = default(string), IList aggregation = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, metricId, timespan, null, aggregation, null, top, orderby, filter, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body.Value; - return new HttpOperationResponse - { - Request = realResult.Request, - Response = realResult.Response, - Body = new MetricsSummaryResult - { - Start = realBody.Start, - End = realBody.End, - Sum = realBody.GetSum(), - Average = realBody.GetAverage(), - Min = realBody.GetMin(), - Max = realBody.GetMax(), - Count = realBody.GetCount() - } - }; - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> GetIntervaledMetricWithHttpMessagesAsync(string appId, - string metricId, string timespan = default(string), - System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, metricId, timespan, interval, aggregation, null, top, orderby, filter, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body.Value; - return new HttpOperationResponse - { - Request = realResult.Request, - Response = realResult.Response, - Body = new MetricsIntervaledResult - { - Start = realBody.Start, - End = realBody.End, - Interval = realBody.Interval, - Intervals = realBody.Segments?.Select(inter => - new MetricsIntervaledData - { - Sum = inter.GetSum(), - Average = inter.GetAverage(), - Min = inter.GetMin(), - Max = inter.GetMax(), - Count = inter.GetCount() - } - ).ToList() - } - }; - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> GetSegmentedMetricWithHttpMessagesAsync(string appId, string metricId, - string timespan = default(string), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, metricId, timespan, null, aggregation, segment, top, orderby, filter, customHeaders, cancellationToken); - var realBody = realResult.Body.Value; - return new HttpOperationResponse - { - Request = realResult.Request, - Response = realResult.Response, - Body = new MetricsSegmentedResult - { - Start = realBody.Start, - End = realBody.End, - Segments= GetSegmentInfo(realBody.Segments), - } - }; - } - - private static IList GetSegmentInfo(IList segments) - { - return segments?.Select(seg => - { - IMetricsBaseSegmentInfo result; - if (seg.Segments != null && seg.Segments.Count != 0) - { - result = new MetricsNestedSegment() - { - SegmentId = seg.SegmentId, - SegmentValue = seg.SegmentValue, - Segments = GetSegmentInfo(seg.Segments), - }; - } - else - { - result = new MetricsSegmentedData - { - SegmentId = seg.SegmentId, - SegmentValue = seg.SegmentValue, - Sum = seg.GetSum(), - Average = seg.GetAverage(), - Min = seg.GetMin(), - Max = seg.GetMax(), - Count = seg.GetCount() - }; - } - - return result; - }).ToList(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> GetIntervaledSegmentedMetricWithHttpMessagesAsync( - string appId, string metricId, - string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), - IList aggregation = default(IList), IList segment = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string), - Dictionary> customHeaders = null, - CancellationToken cancellationToken = default(CancellationToken)) - { - var realResult = await GetWithHttpMessagesAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, filter, customHeaders, cancellationToken).ConfigureAwait(false); - var realBody = realResult.Body.Value; - return new HttpOperationResponse - { - Request = realResult.Request, - Response = realResult.Response, - Body = new MetricsIntervaledSegmentedResult - { - Start = realBody.Start, - End = realBody.End, - Interval = realBody.Interval, - Intervals = realBody.Segments?.Select(inter => - new MetricsSegmentedIntervalData - { - Start = inter.Start, - End = inter.End, - Segments = GetSegmentInfo(inter.Segments), - } - ).ToList() - } - }; - } - - #endregion - } -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/MetricsExtensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/MetricsExtensions.cs deleted file mode 100644 index 117d8f6ed295..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/MetricsExtensions.cs +++ /dev/null @@ -1,698 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query.Models; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - public partial class MetricsExtensions - { - - #region Metric Extensions - - /// - /// Retrieve summary metric data - /// - /// - /// Gets summary metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - public static MetricsSummaryResult GetMetricSummary(this IMetrics operations, string appId, string metricId, string timespan = default(string), - IList aggregation = default(IList), int? top = default(int?), - string orderby = default(string), string filter = default(string)) - { - return operations.GetMetricSummaryAsync(appId, metricId, timespan, aggregation, top, orderby, filter).GetAwaiter().GetResult(); - } - - /// - /// Retrieve summary metric data - /// - /// - /// Gets summary metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetMetricSummaryAsync(this IMetrics operations, string appId, string metricId, string timespan = default(string), - IList aggregation = default(IList), int? top = default(int?), - string orderby = default(string), string filter = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetMetricSummaryWithHttpMessagesAsync(appId, metricId, timespan, aggregation, top, orderby, filter, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - public static MetricsIntervaledResult GetIntervaledMetric(this IMetrics operations, string appId, - string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), - IList aggregation = default(IList), IList segment = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string)) - { - return operations - .GetIntervaledMetricAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, filter) - .GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetIntervaledMetricAsync(this IMetrics operations, string appId, - string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), - IList aggregation = default(IList), IList segment = default(IList), - int? top = default(int?), string orderby = default(string), string filter = default(string), - CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetIntervaledMetricWithHttpMessagesAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, filter, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - public static MetricsSegmentedResult GetSegmentedMetric(this IMetrics operations, string appId, - string metricId, string timespan = default(string), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string)) - { - return operations.GetSegmentedMetricAsync(appId, metricId, timespan, aggregation, segment, top, orderby, filter) - .GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetSegmentedMetricAsync(this IMetrics operations, string appId, - string metricId, string timespan = default(string), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetSegmentedMetricWithHttpMessagesAsync(appId, metricId, timespan, aggregation, - segment, top, orderby, filter, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - public static MetricsIntervaledSegmentedResult GetIntervaledSegmentedMetric( - this IMetrics operations, string appId, string metricId, string timespan = default(string), - System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string)) - { - return operations - .GetIntervaledSegmentedMetricAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, - filter).GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetIntervaledSegmentedMetricAsync( - this IMetrics operations, string appId, string metricId, string timespan = default(string), - System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), - IList segment = default(IList), int? top = default(int?), string orderby = default(string), - string filter = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var result = await operations.GetIntervaledSegmentedMetricWithHttpMessagesAsync(appId, metricId, timespan, - interval, aggregation, segment, top, orderby, filter, null, cancellationToken).ConfigureAwait(false)) - { - return result.Body; - } - } - - #endregion - } -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ApiPreferences.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ApiPreferences.cs deleted file mode 100644 index d5941a4eb4cf..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ApiPreferences.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public class ApiPreferences - { - /// - /// See https://dev.applicationinsights.io/documentation/Using-the-API/RequestOptions - /// - public bool IncludeRender { get; set; } = false; - - /// - /// See https://dev.applicationinsights.io/documentation/Using-the-API/RequestOptions - /// - public bool IncludeStatistics { get; set; } = false; - - /// - /// Puts an upper bound on the amount of time the server will spend processing the query. See: https://dev.applicationinsights.io/documentation/Using-the-API/Timeouts - /// - public int Wait { get; set; } = int.MinValue; - - public override string ToString() - { - var pref = "response-v1=true"; - if (IncludeRender) - { - pref += ",include-render=true"; - } - if (IncludeStatistics) - { - pref += ",include-statistics=true"; - } - if (Wait != int.MinValue) - { - pref += $",wait={Wait}"; - } - - return pref; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseMetricInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseMetricInfo.cs deleted file mode 100644 index d251ca724ad6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseMetricInfo.cs +++ /dev/null @@ -1,84 +0,0 @@ -using Newtonsoft.Json.Linq; -using System.Collections.Generic; -using System.Runtime.Serialization; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public abstract class BaseMetricInfo - { - internal abstract IDictionary GetAdditionalProperties(); - - public string MetricId { get; private set; } = null; - public Dictionary MetricValues { get; set; } = new Dictionary(); - - [OnDeserialized] - internal void InitMetricFields(StreamingContext context) - { - var additionalProperties = GetAdditionalProperties(); - - if (additionalProperties != null) - { - foreach (var additionalProp in additionalProperties) - { - if (additionalProp.Value is object) - { - var dict = additionalProp.Value as JObject; - if (dict == null) continue; - - MetricId = additionalProp.Key; - - foreach (var prop in dict.Properties()) - { - MetricValues.Add(prop.Name, prop.Value.Value()); - } - } - } - } - } - - private float? GetAggregatedValue(string aggregation) - { - if (MetricValues.TryGetValue(aggregation, out var value)) - { - return value; - } - else - { - return null; - } - } - - public float? GetSum() - { - return GetAggregatedValue("sum"); - } - - public float? GetAverage() - { - return GetAggregatedValue("avg"); - } - - public float? GetMin() - { - return GetAggregatedValue("min"); - } - - public float? GetMax() - { - return GetAggregatedValue("max"); - } - - public int? GetCount() - { - var count = GetAggregatedValue("count"); - if (count != null) - { - return (int) count; - } - else - { - return null; - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseSegmentInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseSegmentInfo.cs deleted file mode 100644 index 886b1a23e86c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/BaseSegmentInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Newtonsoft.Json.Linq; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public abstract class BaseSegmentInfo : BaseMetricInfo - { - public string SegmentId { get; private set; } - public string SegmentValue { get; private set; } - - [OnDeserialized] - internal void InitSegmentFields(StreamingContext context) - { - var additionalProperties = GetAdditionalProperties(); - - if (additionalProperties != null) - { - foreach (var additionalProp in additionalProperties) - { - if (additionalProp.Value is string) - { - SegmentId = additionalProp.Key; - SegmentValue = additionalProp.Value as string; - } - } - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorDetail.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorDetail.cs deleted file mode 100644 index f87551f12e67..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorDetail.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Text; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class ErrorDetail - { - internal void PrettyPrint(StringBuilder sb, string indentation) - { - sb.AppendLine($"{indentation}Code={Code}, Message={Message}, Target={Target}, Value={Value}"); - if (Resources != null && Resources.Count > 0) - { - sb.AppendLine($"{indentation} Resources={string.Join(",", Resources)}"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorInfo.cs deleted file mode 100644 index 695a134b26c3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorInfo.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Text; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class ErrorInfo - { - internal void PrettyPrint(StringBuilder sb, string indentation = "") - { - sb.AppendLine($"{indentation}Code={Code}, Message={Message}"); - if (Details != null) - { - foreach (var detail in Details) - { - detail.PrettyPrint(sb, $"{indentation} "); - } - } - - if (Innererror != null) - { - Innererror.PrettyPrint(sb, $"{indentation} "); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponse.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponse.cs deleted file mode 100644 index c958a1ed6e56..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponse.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Text; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class ErrorResponse - { - public override string ToString() - { - var sb = new StringBuilder(); - sb.AppendLine(base.ToString()); - - if (Error != null) - { - Error.PrettyPrint(sb); - } - - return sb.ToString(); - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponseException.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponseException.cs deleted file mode 100644 index bcc2ac172fe3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/ErrorResponseException.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.Rest; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class ErrorResponseException : RestException - { - public override string ToString() - { - return Body != null ? Body.ToString() : Response.Content; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomDimensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomDimensions.cs deleted file mode 100644 index efbbbe644634..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomDimensions.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class EventsResultDataCustomDimensions - { -#pragma warning disable CS0649 // Field is never assigned to, and will always have its default value - [JsonExtensionData] - private IDictionary _customDimensionsValues; -#pragma warning restore CS0649 // Field is never assigned to, and will always have its default value - - public IEnumerable Keys => _customDimensionsValues?.Keys; - - public bool TryGetValue(string key, out string value) - { - if (_customDimensionsValues != null && _customDimensionsValues.TryGetValue(key, out var jToken)) - { - value = jToken?.ToString(); - return true; - } - value = null; - return false; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomMeasurements.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomMeasurements.cs deleted file mode 100644 index 48a5618fe22f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResultDataCustomMeasurements.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class EventsResultDataCustomMeasurements - { -#pragma warning disable CS0649 // Field is never assigned to, and will always have its default value - [JsonExtensionData] - private IDictionary _customMeasurementsValues; -#pragma warning restore CS0649 // Field is never assigned to, and will always have its default value - - public IEnumerable Keys => _customMeasurementsValues?.Keys; - - public bool TryGetValue(string key, out string value) - { - if (_customMeasurementsValues != null && _customMeasurementsValues.TryGetValue(key, out var jToken)) - { - value = jToken?.ToString(); - return true; - } - value = null; - return false; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResults.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResults.cs deleted file mode 100644 index 02abf5201264..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsResults.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public class EventsResults : EventsResults where T : EventsResultData - { - /// - /// Typed version of parent's Value. - /// - public new IList Value - { - get { return base.Value.OfType().ToList(); } - internal set { base.Value = value.OfType().ToList(); } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsTraceResults.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsTraceResults.cs deleted file mode 100644 index a44f122ead93..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/EventsTraceResults.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections.Generic; -using Newtonsoft.Json; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// A trace events query result. - /// - public class EventsTraceResults : EventsResults - { - /// - /// Gets or sets contents of the events query result. - /// - [JsonProperty(PropertyName = "value")] - public new IList Value { get; set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/IMetricData.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/IMetricData.cs deleted file mode 100644 index c22255b31869..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/IMetricData.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public interface IMetricData - { - float? Sum { get; } - float? Average { get; } - float? Min { get; } - float? Max { get; } - int? Count { get; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsBaseSegmentInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsBaseSegmentInfo.cs deleted file mode 100644 index fb42352e9666..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsBaseSegmentInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// Contains fields common between nested segmented data and segmented metric data. - /// - public interface IMetricsBaseSegmentInfo - { - /// - /// The name of the segment. - /// - string SegmentId { get; } - - /// - /// The value of the segment. - /// - string SegmentValue { get; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledData.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledData.cs deleted file mode 100644 index 70770da607da..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledData.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// An intervaled metric result data. - /// - public class MetricsIntervaledData : IMetricData - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// Gets sum of the metric (if requested). - /// - public float? Sum { get; internal set; } - - /// - /// Gets average of the metric (if requested). - /// - public float? Average { get; internal set; } - - /// - /// Gets minof the metric (if requested). - /// - public float? Min { get; internal set; } - - /// - /// Gets max of the metric (if requested). - /// - public float? Max { get; internal set; } - - /// - /// Gets count of the metric (if requested). - /// - public int? Count { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledResult.cs deleted file mode 100644 index 71348b6e47eb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledResult.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using System.Collections.Generic; - - /// - /// An intervaled metric result data. - /// - public class MetricsIntervaledResult - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// The interval used to segment the data. - /// - public System.TimeSpan? Interval { get; internal set; } - - /// - /// The intervals of data. - /// - public IList Intervals { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledSegmentedResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledSegmentedResult.cs deleted file mode 100644 index f20805b44f10..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsIntervaledSegmentedResult.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// An intervaled and segmented metric result. - /// - public class MetricsIntervaledSegmentedResult - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// The interval used to segment the data. - /// - public System.TimeSpan? Interval { get; internal set; } - - /// - /// The intervals of data. - /// - public IList Intervals { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsNestedSegment.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsNestedSegment.cs deleted file mode 100644 index f43990ce3599..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsNestedSegment.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// A nested segment. - /// - public class MetricsNestedSegment : IMetricsBaseSegmentInfo - { - /// - /// The name of the segment. - /// - public string SegmentId { get; internal set; } - - /// - /// The value of the segment. - /// - public string SegmentValue { get; internal set; } - - /// - /// The segments of data - /// - public IList Segments { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsResultInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsResultInfo.cs deleted file mode 100644 index 1754a7f243b0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsResultInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class MetricsResultInfo : BaseMetricInfo - { - internal override IDictionary GetAdditionalProperties() - { - return AdditionalProperties; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentInfo.cs deleted file mode 100644 index a496e5db7edb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentInfo.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - public partial class MetricsSegmentInfo : BaseSegmentInfo - { - internal override IDictionary GetAdditionalProperties() - { - return AdditionalProperties; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedData.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedData.cs deleted file mode 100644 index dc13b80d9a98..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedData.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// The metric values for a segment. - /// - public class MetricsSegmentedData : IMetricsBaseSegmentInfo, IMetricData - { - /// - /// The name of the segment. - /// - public string SegmentId { get; internal set; } - - /// - /// The value of the segment. - /// - public string SegmentValue { get; internal set; } - - /// - /// Gets sum of the metric (if requested). - /// - public float? Sum { get; internal set; } - - /// - /// Gets average of the metric (if requested). - /// - public float? Average { get; internal set; } - - /// - /// Gets minof the metric (if requested). - /// - public float? Min { get; internal set; } - - /// - /// Gets max of the metric (if requested). - /// - public float? Max { get; internal set; } - - /// - /// Gets count of the metric (if requested). - /// - public int? Count { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedIntervalData.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedIntervalData.cs deleted file mode 100644 index 15a982304be1..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedIntervalData.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// A segment of intervaled data. - /// - public class MetricsSegmentedIntervalData - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// The segments of data - /// - public IList Segments { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedResult.cs deleted file mode 100644 index af0c02fe4a97..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSegmentedResult.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Collections.Generic; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// A segmented metric result data. - /// - public class MetricsSegmentedResult - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// The segments of data - /// - public IList Segments { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSummaryResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSummaryResult.cs deleted file mode 100644 index 88bd8b4712cf..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/MetricsSummaryResult.cs +++ /dev/null @@ -1,43 +0,0 @@ -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// A metric summary result. - /// - public class MetricsSummaryResult : IMetricData - { - /// - /// Gets start time of the metric. - /// - public System.DateTime? Start { get; internal set; } - - /// - /// Gets start time of the metric. - /// - public System.DateTime? End { get; internal set; } - - /// - /// Gets sum of the metric (if requested). - /// - public float? Sum { get; internal set; } - - /// - /// Gets average of the metric (if requested). - /// - public float? Average { get; internal set; } - - /// - /// Gets minof the metric (if requested). - /// - public float? Min { get; internal set; } - - /// - /// Gets max of the metric (if requested). - /// - public float? Max { get; internal set; } - - /// - /// Gets count of the metric (if requested). - /// - public int? Count { get; internal set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/QueryResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/QueryResult.cs deleted file mode 100644 index 42183ef50b26..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Customized/Models/QueryResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -using Newtonsoft.Json; -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - /// - /// The query response. This currently only supports the thinned query - /// response format. - /// - public partial class QueryResults - { - /// - /// Enumerates over all rows in all tables. - /// - [JsonProperty(PropertyName = "results")] - public IEnumerable> Results - { - get - { - foreach (var table in Tables) - { - foreach (var row in table.Rows) - { - yield return table.Columns.Zip(row, (column, cell) => new { column.Name, cell }) - .ToDictionary(entry => entry.Name, entry => entry.cell); - } - } - } - } - - public IDictionary Render { get; set; } - public IDictionary Statistics { get; set; } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/ApplicationInsightsDataClient.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/ApplicationInsightsDataClient.cs deleted file mode 100644 index ee70799c84ea..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/ApplicationInsightsDataClient.cs +++ /dev/null @@ -1,337 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Net; - using System.Net.Http; - - /// - /// Composite Swagger for Application Insights Data Client - /// - public partial class ApplicationInsightsDataClient : ServiceClient, IApplicationInsightsDataClient - { - /// - /// The base URI of the service. - /// - public System.Uri BaseUri { get; set; } - - /// - /// Gets or sets json serialization settings. - /// - public JsonSerializerSettings SerializationSettings { get; private set; } - - /// - /// Gets or sets json deserialization settings. - /// - public JsonSerializerSettings DeserializationSettings { get; private set; } - - /// - /// Subscription credentials which uniquely identify client subscription. - /// - public ServiceClientCredentials Credentials { get; private set; } - - /// - /// Gets the IMetrics. - /// - public virtual IMetrics Metrics { get; private set; } - - /// - /// Gets the IEvents. - /// - public virtual IEvents Events { get; private set; } - - /// - /// Gets the IQueryOperations. - /// - public virtual IQueryOperations Query { get; private set; } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// HttpClient to be used - /// - /// - /// True: will dispose the provided httpClient on calling ApplicationInsightsDataClient.Dispose(). False: will not dispose provided httpClient - protected ApplicationInsightsDataClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) - { - Initialize(); - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - protected ApplicationInsightsDataClient(params DelegatingHandler[] handlers) : base(handlers) - { - Initialize(); - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - protected ApplicationInsightsDataClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) - { - Initialize(); - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - protected ApplicationInsightsDataClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - BaseUri = baseUri; - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - protected ApplicationInsightsDataClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - BaseUri = baseUri; - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// HttpClient to be used - /// - /// - /// True: will dispose the provided httpClient on calling ApplicationInsightsDataClient.Dispose(). False: will not dispose provided httpClient - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - BaseUri = baseUri; - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the ApplicationInsightsDataClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Required. Subscription credentials which uniquely identify client subscription. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public ApplicationInsightsDataClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - BaseUri = baseUri; - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// An optional partial-method to perform custom initialization. - /// - partial void CustomInitialize(); - /// - /// Initializes client properties. - /// - private void Initialize() - { - Metrics = new Metrics(this); - Events = new Events(this); - Query = new QueryOperations(this); - BaseUri = new System.Uri("https://api.applicationinsights.io/v1"); - SerializationSettings = new JsonSerializerSettings - { - Formatting = Newtonsoft.Json.Formatting.Indented, - DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, - ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, - ContractResolver = new ReadOnlyJsonContractResolver(), - Converters = new List - { - new Iso8601TimeSpanConverter() - } - }; - DeserializationSettings = new JsonSerializerSettings - { - DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, - ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, - ContractResolver = new ReadOnlyJsonContractResolver(), - Converters = new List - { - new Iso8601TimeSpanConverter() - } - }; - SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("type")); - DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("type")); - CustomInitialize(); - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Events.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Events.cs deleted file mode 100644 index 495ea13b6a4c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Events.cs +++ /dev/null @@ -1,651 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Events operations. - /// - public partial class Events : IServiceOperations, IEvents - { - /// - /// Initializes a new instance of the Events class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - public Events(ApplicationInsightsDataClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the ApplicationInsightsDataClient - /// - public ApplicationInsightsDataClient Client { get; private set; } - - /// - /// Execute OData query - /// - /// - /// Executes an OData query for events - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular event - /// should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or \"desc\" - /// to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetByTypeWithHttpMessagesAsync(string appId, string eventType, string timespan = default(string), string filter = default(string), string search = default(string), string orderby = default(string), string select = default(string), int? skip = default(int?), int? top = default(int?), string format = default(string), bool? count = default(bool?), string apply = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - if (eventType == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "eventType"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("eventType", eventType); - tracingParameters.Add("timespan", timespan); - tracingParameters.Add("filter", filter); - tracingParameters.Add("search", search); - tracingParameters.Add("orderby", orderby); - tracingParameters.Add("select", select); - tracingParameters.Add("skip", skip); - tracingParameters.Add("top", top); - tracingParameters.Add("format", format); - tracingParameters.Add("count", count); - tracingParameters.Add("apply", apply); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetByType", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/events/{eventType}").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - _url = _url.Replace("{eventType}", System.Uri.EscapeDataString(eventType)); - List _queryParameters = new List(); - if (timespan != null) - { - _queryParameters.Add(string.Format("timespan={0}", System.Uri.EscapeDataString(timespan))); - } - if (filter != null) - { - _queryParameters.Add(string.Format("$filter={0}", System.Uri.EscapeDataString(filter))); - } - if (search != null) - { - _queryParameters.Add(string.Format("$search={0}", System.Uri.EscapeDataString(search))); - } - if (orderby != null) - { - _queryParameters.Add(string.Format("$orderby={0}", System.Uri.EscapeDataString(orderby))); - } - if (select != null) - { - _queryParameters.Add(string.Format("$select={0}", System.Uri.EscapeDataString(select))); - } - if (skip != null) - { - _queryParameters.Add(string.Format("$skip={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(skip, Client.SerializationSettings).Trim('"')))); - } - if (top != null) - { - _queryParameters.Add(string.Format("$top={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(top, Client.SerializationSettings).Trim('"')))); - } - if (format != null) - { - _queryParameters.Add(string.Format("$format={0}", System.Uri.EscapeDataString(format))); - } - if (count != null) - { - _queryParameters.Add(string.Format("$count={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(count, Client.SerializationSettings).Trim('"')))); - } - if (apply != null) - { - _queryParameters.Add(string.Format("$apply={0}", System.Uri.EscapeDataString(apply))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Get an event - /// - /// - /// Gets the data for a single event - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetWithHttpMessagesAsync(string appId, string eventType, string eventId, string timespan = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - if (eventType == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "eventType"); - } - if (eventId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "eventId"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("eventType", eventType); - tracingParameters.Add("timespan", timespan); - tracingParameters.Add("eventId", eventId); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/events/{eventType}/{eventId}").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - _url = _url.Replace("{eventType}", System.Uri.EscapeDataString(eventType)); - _url = _url.Replace("{eventId}", System.Uri.EscapeDataString(eventId)); - List _queryParameters = new List(); - if (timespan != null) - { - _queryParameters.Add(string.Format("timespan={0}", System.Uri.EscapeDataString(timespan))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Get OData metadata - /// - /// - /// Gets OData EDMX metadata describing the event data model - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetOdataMetadataWithHttpMessagesAsync(string appId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetOdataMetadata", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/events/$metadata").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/EventsExtensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/EventsExtensions.cs deleted file mode 100644 index 3a8eceb61006..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/EventsExtensions.cs +++ /dev/null @@ -1,265 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Models; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for Events. - /// - public static partial class EventsExtensions - { - /// - /// Execute OData query - /// - /// - /// Executes an OData query for events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular event - /// should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or \"desc\" - /// to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - public static EventsResults GetByType(this IEvents operations, string appId, string eventType, string timespan = default(string), string filter = default(string), string search = default(string), string orderby = default(string), string select = default(string), int? skip = default(int?), int? top = default(int?), string format = default(string), bool? count = default(bool?), string apply = default(string)) - { - return operations.GetByTypeAsync(appId, eventType, timespan, filter, search, orderby, select, skip, top, format, count, apply).GetAwaiter().GetResult(); - } - - /// - /// Execute OData query - /// - /// - /// Executes an OData query for events - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular event - /// should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or \"desc\" - /// to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The cancellation token. - /// - public static async Task GetByTypeAsync(this IEvents operations, string appId, string eventType, string timespan = default(string), string filter = default(string), string search = default(string), string orderby = default(string), string select = default(string), int? skip = default(int?), int? top = default(int?), string format = default(string), bool? count = default(bool?), string apply = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetByTypeWithHttpMessagesAsync(appId, eventType, timespan, filter, search, orderby, select, skip, top, format, count, apply, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Get an event - /// - /// - /// Gets the data for a single event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - public static EventsResults Get(this IEvents operations, string appId, string eventType, string eventId, string timespan = default(string)) - { - return operations.GetAsync(appId, eventType, eventId, timespan).GetAwaiter().GetResult(); - } - - /// - /// Get an event - /// - /// - /// Gets the data for a single event - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// 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. Possible - /// values include: '$all', 'traces', 'customEvents', 'pageViews', - /// 'browserTimings', 'requests', 'dependencies', 'exceptions', - /// 'availabilityResults', 'performanceCounters', 'customMetrics' - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this IEvents operations, string appId, string eventType, string eventId, string timespan = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(appId, eventType, eventId, timespan, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Get OData metadata - /// - /// - /// Gets OData EDMX metadata describing the event data model - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - public static object GetOdataMetadata(this IEvents operations, string appId) - { - return operations.GetOdataMetadataAsync(appId).GetAwaiter().GetResult(); - } - - /// - /// Get OData metadata - /// - /// - /// Gets OData EDMX metadata describing the event data model - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The cancellation token. - /// - public static async Task GetOdataMetadataAsync(this IEvents operations, string appId, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetOdataMetadataWithHttpMessagesAsync(appId, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IApplicationInsightsDataClient.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IApplicationInsightsDataClient.cs deleted file mode 100644 index 319ec8bccd5f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IApplicationInsightsDataClient.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using Newtonsoft.Json; - - /// - /// Composite Swagger for Application Insights Data Client - /// - public partial interface IApplicationInsightsDataClient : System.IDisposable - { - /// - /// The base URI of the service. - /// - System.Uri BaseUri { get; set; } - - /// - /// Gets or sets json serialization settings. - /// - JsonSerializerSettings SerializationSettings { get; } - - /// - /// Gets or sets json deserialization settings. - /// - JsonSerializerSettings DeserializationSettings { get; } - - /// - /// Subscription credentials which uniquely identify client - /// subscription. - /// - ServiceClientCredentials Credentials { get; } - - - /// - /// Gets the IMetrics. - /// - IMetrics Metrics { get; } - - /// - /// Gets the IEvents. - /// - IEvents Events { get; } - - /// - /// Gets the IQueryOperations. - /// - IQueryOperations Query { get; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IEvents.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IEvents.cs deleted file mode 100644 index b84886dd994f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IEvents.cs +++ /dev/null @@ -1,165 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Events operations. - /// - public partial interface IEvents - { - /// - /// Execute OData query - /// - /// - /// Executes an OData query for events - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// 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. Possible values include: '$all', 'traces', - /// 'customEvents', 'pageViews', 'browserTimings', 'requests', - /// 'dependencies', 'exceptions', 'availabilityResults', - /// 'performanceCounters', 'customMetrics' - /// - /// - /// 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. - /// - /// - /// An expression used to filter the returned events - /// - /// - /// A free-text search expression to match for whether a particular - /// event should be returned - /// - /// - /// A comma-separated list of properties with \"asc\" (the default) or - /// \"desc\" to control the order of returned events - /// - /// - /// Limits the properties to just those requested on each returned - /// event - /// - /// - /// The number of items to skip over before returning events - /// - /// - /// The number of events to return - /// - /// - /// Format for the returned events - /// - /// - /// Request a count of matching items included with the returned events - /// - /// - /// An expression used for aggregation over returned events - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetByTypeWithHttpMessagesAsync(string appId, string eventType, string timespan = default(string), string filter = default(string), string search = default(string), string orderby = default(string), string select = default(string), int? skip = default(int?), int? top = default(int?), string format = default(string), bool? count = default(bool?), string apply = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Get an event - /// - /// - /// Gets the data for a single event - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// 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. Possible values include: '$all', 'traces', - /// 'customEvents', 'pageViews', 'browserTimings', 'requests', - /// 'dependencies', 'exceptions', 'availabilityResults', - /// 'performanceCounters', 'customMetrics' - /// - /// - /// ID of event. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetWithHttpMessagesAsync(string appId, string eventType, string eventId, string timespan = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Get OData metadata - /// - /// - /// Gets OData EDMX metadata describing the event data model - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetOdataMetadataWithHttpMessagesAsync(string appId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IMetrics.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IMetrics.cs deleted file mode 100644 index 657018f66eea..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IMetrics.cs +++ /dev/null @@ -1,173 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Metrics operations. - /// - public partial interface IMetrics - { - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when - /// segment is specified. - /// - /// - /// The aggregation function and direction to sort the segments by. - /// This value is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetWithHttpMessagesAsync(string appId, string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), IList segment = default(IList), int? top = default(int?), string orderby = default(string), string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for multiple metrics - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// The batched metrics query. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> GetMultipleWithHttpMessagesAsync(string appId, IList body, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Retrieve metric metatadata - /// - /// - /// Gets metadata describing the available metrics - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetMetadataWithHttpMessagesAsync(string appId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IQueryOperations.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IQueryOperations.cs deleted file mode 100644 index fd2fbdd40d49..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/IQueryOperations.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// QueryOperations operations. - /// - public partial interface IQueryOperations - { - /// - /// Execute an Analytics query - /// - /// - /// 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. - /// - /// - /// ID of the application. This is Application ID from the API Access - /// settings blade in the Azure portal. - /// - /// - /// The query to execute. - /// - /// - /// 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. - /// - /// - /// A list of Application IDs for cross-application queries. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> ExecuteWithHttpMessagesAsync(string appId, string query, string timespan = default(string), IList applications = default(IList), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Metrics.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Metrics.cs deleted file mode 100644 index 74ceeca5567c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Metrics.cs +++ /dev/null @@ -1,657 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Metrics operations. - /// - public partial class Metrics : IServiceOperations, IMetrics - { - /// - /// Initializes a new instance of the Metrics class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - public Metrics(ApplicationInsightsDataClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the ApplicationInsightsDataClient - /// - public ApplicationInsightsDataClient Client { get; private set; } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when segment is - /// specified. - /// - /// - /// The aggregation function and direction to sort the segments by. This value - /// is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetWithHttpMessagesAsync(string appId, string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), IList segment = default(IList), int? top = default(int?), string orderby = default(string), string filter = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - if (metricId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "metricId"); - } - if (aggregation != null) - { - if (aggregation.Count < 1) - { - throw new ValidationException(ValidationRules.MinItems, "aggregation", 1); - } - } - if (segment != null) - { - if (segment.Count < 1) - { - throw new ValidationException(ValidationRules.MinItems, "segment", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("metricId", metricId); - tracingParameters.Add("timespan", timespan); - tracingParameters.Add("interval", interval); - tracingParameters.Add("aggregation", aggregation); - tracingParameters.Add("segment", segment); - tracingParameters.Add("top", top); - tracingParameters.Add("orderby", orderby); - tracingParameters.Add("filter", filter); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/metrics/{metricId}").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - _url = _url.Replace("{metricId}", System.Uri.EscapeDataString(metricId)); - List _queryParameters = new List(); - if (timespan != null) - { - _queryParameters.Add(string.Format("timespan={0}", System.Uri.EscapeDataString(timespan))); - } - if (interval != null) - { - _queryParameters.Add(string.Format("interval={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(interval, Client.SerializationSettings).Trim('"')))); - } - if (aggregation != null) - { - _queryParameters.Add(string.Format("aggregation={0}", System.Uri.EscapeDataString(string.Join(",", aggregation)))); - } - if (segment != null) - { - _queryParameters.Add(string.Format("segment={0}", System.Uri.EscapeDataString(string.Join(",", segment)))); - } - if (top != null) - { - _queryParameters.Add(string.Format("top={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(top, Client.SerializationSettings).Trim('"')))); - } - if (orderby != null) - { - _queryParameters.Add(string.Format("orderby={0}", System.Uri.EscapeDataString(orderby))); - } - if (filter != null) - { - _queryParameters.Add(string.Format("filter={0}", System.Uri.EscapeDataString(filter))); - } - if (_queryParameters.Count > 0) - { - _url += "?" + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for multiple metrics - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The batched metrics query. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> GetMultipleWithHttpMessagesAsync(string appId, IList body, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - if (body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "body"); - } - if (body != null) - { - foreach (var element in body) - { - if (element != null) - { - element.Validate(); - } - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("body", body); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetMultiple", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/metrics").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Retrieve metric metatadata - /// - /// - /// Gets metadata describing the available metrics - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetMetadataWithHttpMessagesAsync(string appId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetMetadata", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/metrics/metadata").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/MetricsExtensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/MetricsExtensions.cs deleted file mode 100644 index 0046d58892c3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/MetricsExtensions.cs +++ /dev/null @@ -1,283 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for Metrics. - /// - public static partial class MetricsExtensions - { - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when segment is - /// specified. - /// - /// - /// The aggregation function and direction to sort the segments by. This value - /// is only valid when segment is specified. - /// - /// - /// 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. - /// - public static MetricsResult Get(this IMetrics operations, string appId, string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), IList segment = default(IList), int? top = default(int?), string orderby = default(string), string filter = default(string)) - { - return operations.GetAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, filter).GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for a single metric - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// ID of the metric. This is either a standard AI metric, or an - /// application-specific custom metric. Possible values include: - /// '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' - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// 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. - /// - /// - /// The number of segments to return. This value is only valid when segment is - /// specified. - /// - /// - /// The aggregation function and direction to sort the segments by. This value - /// is only valid when segment is specified. - /// - /// - /// 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. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this IMetrics operations, string appId, string metricId, string timespan = default(string), System.TimeSpan? interval = default(System.TimeSpan?), IList aggregation = default(IList), IList segment = default(IList), int? top = default(int?), string orderby = default(string), string filter = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(appId, metricId, timespan, interval, aggregation, segment, top, orderby, filter, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for multiple metrics - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The batched metrics query. - /// - public static IList GetMultiple(this IMetrics operations, string appId, IList body) - { - return operations.GetMultipleAsync(appId, body).GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric data - /// - /// - /// Gets metric values for multiple metrics - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The batched metrics query. - /// - /// - /// The cancellation token. - /// - public static async Task> GetMultipleAsync(this IMetrics operations, string appId, IList body, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetMultipleWithHttpMessagesAsync(appId, body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Retrieve metric metatadata - /// - /// - /// Gets metadata describing the available metrics - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - public static object GetMetadata(this IMetrics operations, string appId) - { - return operations.GetMetadataAsync(appId).GetAwaiter().GetResult(); - } - - /// - /// Retrieve metric metatadata - /// - /// - /// Gets metadata describing the available metrics - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The cancellation token. - /// - public static async Task GetMetadataAsync(this IMetrics operations, string appId, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetMetadataWithHttpMessagesAsync(appId, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Column.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Column.cs deleted file mode 100644 index 6e64adf4efa7..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Column.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A table column. - /// - /// - /// A column in a table. - /// - public partial class Column - { - /// - /// Initializes a new instance of the Column class. - /// - public Column() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Column class. - /// - /// The name of this column. - /// The data type of this column. - public Column(string name = default(string), string type = default(string)) - { - Name = name; - Type = type; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of this column. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the data type of this column. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorDetail.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorDetail.cs deleted file mode 100644 index cae8a394487d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorDetail.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Error details. - /// - public partial class ErrorDetail - { - /// - /// Initializes a new instance of the ErrorDetail class. - /// - public ErrorDetail() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorDetail class. - /// - /// The error's code. - /// A human readable error message. - /// Indicates which property in the request is - /// responsible for the error. - /// Indicates which value in 'target' is - /// responsible for the error. - /// Indicates resources which were responsible - /// for the error. - public ErrorDetail(string code, string message, string target = default(string), string value = default(string), IList resources = default(IList), object additionalProperties = default(object)) - { - Code = code; - Message = message; - Target = target; - Value = value; - Resources = resources; - AdditionalProperties = additionalProperties; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the error's code. - /// - [JsonProperty(PropertyName = "code")] - public string Code { get; set; } - - /// - /// Gets or sets a human readable error message. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets indicates which property in the request is responsible - /// for the error. - /// - [JsonProperty(PropertyName = "target")] - public string Target { get; set; } - - /// - /// Gets or sets indicates which value in 'target' is responsible for - /// the error. - /// - [JsonProperty(PropertyName = "value")] - public string Value { get; set; } - - /// - /// Gets or sets indicates resources which were responsible for the - /// error. - /// - [JsonProperty(PropertyName = "resources")] - public IList Resources { get; set; } - - /// - /// - [JsonProperty(PropertyName = "additionalProperties")] - public object AdditionalProperties { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Code == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Code"); - } - if (Message == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Message"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorInfo.cs deleted file mode 100644 index d3b389d18f10..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorInfo.cs +++ /dev/null @@ -1,115 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// The code and message for an error. - /// - public partial class ErrorInfo - { - /// - /// Initializes a new instance of the ErrorInfo class. - /// - public ErrorInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorInfo class. - /// - /// A machine readable error code. - /// A human readable error message. - /// error details. - /// Inner error details if they exist. - public ErrorInfo(string code, string message, IList details = default(IList), ErrorInfo innererror = default(ErrorInfo), object additionalProperties = default(object)) - { - Code = code; - Message = message; - Details = details; - Innererror = innererror; - AdditionalProperties = additionalProperties; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets a machine readable error code. - /// - [JsonProperty(PropertyName = "code")] - public string Code { get; set; } - - /// - /// Gets or sets a human readable error message. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets error details. - /// - [JsonProperty(PropertyName = "details")] - public IList Details { get; set; } - - /// - /// Gets or sets inner error details if they exist. - /// - [JsonProperty(PropertyName = "innererror")] - public ErrorInfo Innererror { get; set; } - - /// - /// - [JsonProperty(PropertyName = "additionalProperties")] - public object AdditionalProperties { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Code == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Code"); - } - if (Message == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Message"); - } - if (Details != null) - { - foreach (var element in Details) - { - if (element != null) - { - element.Validate(); - } - } - } - if (Innererror != null) - { - Innererror.Validate(); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponse.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponse.cs deleted file mode 100644 index 843ea17a4381..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Error details. - /// - /// - /// Contains details when the response code indicates an error. - /// - public partial class ErrorResponse - { - /// - /// Initializes a new instance of the ErrorResponse class. - /// - public ErrorResponse() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ErrorResponse class. - /// - /// The error details. - public ErrorResponse(ErrorInfo error) - { - Error = error; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the error details. - /// - [JsonProperty(PropertyName = "error")] - public ErrorInfo Error { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Error == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Error"); - } - if (Error != null) - { - Error.Validate(); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponseException.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponseException.cs deleted file mode 100644 index d4570b52c567..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/ErrorResponseException.cs +++ /dev/null @@ -1,62 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - - /// - /// Exception thrown for an invalid response with ErrorResponse - /// information. - /// - public partial class ErrorResponseException : RestException - { - /// - /// Gets information about the associated HTTP request. - /// - public HttpRequestMessageWrapper Request { get; set; } - - /// - /// Gets information about the associated HTTP response. - /// - public HttpResponseMessageWrapper Response { get; set; } - - /// - /// Gets or sets the body object. - /// - public ErrorResponse Body { get; set; } - - /// - /// Initializes a new instance of the ErrorResponseException class. - /// - public ErrorResponseException() - { - } - - /// - /// Initializes a new instance of the ErrorResponseException class. - /// - /// The exception message. - public ErrorResponseException(string message) - : this(message, null) - { - } - - /// - /// Initializes a new instance of the ErrorResponseException class. - /// - /// The exception message. - /// Inner exception. - public ErrorResponseException(string message, System.Exception innerException) - : base(message, innerException) - { - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventType.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventType.cs deleted file mode 100644 index 1f52b80aa438..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventType.cs +++ /dev/null @@ -1,31 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - - /// - /// Defines values for EventType. - /// - public static class EventType - { - public const string All = "$all"; - public const string Traces = "traces"; - public const string CustomEvents = "customEvents"; - public const string PageViews = "pageViews"; - public const string BrowserTimings = "browserTimings"; - public const string Requests = "requests"; - public const string Dependencies = "dependencies"; - public const string Exceptions = "exceptions"; - public const string AvailabilityResults = "availabilityResults"; - public const string PerformanceCounters = "performanceCounters"; - public const string CustomMetrics = "customMetrics"; - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAiInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAiInfo.cs deleted file mode 100644 index 5d871ba17974..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAiInfo.cs +++ /dev/null @@ -1,75 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// AI related application info for an event result - /// - public partial class EventsAiInfo - { - /// - /// Initializes a new instance of the EventsAiInfo class. - /// - public EventsAiInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsAiInfo class. - /// - /// iKey of the app - /// Name of the application - /// ID of the application - /// SDK version of the application - public EventsAiInfo(string iKey = default(string), string appName = default(string), string appId = default(string), string sdkVersion = default(string)) - { - IKey = iKey; - AppName = appName; - AppId = appId; - SdkVersion = sdkVersion; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets iKey of the app - /// - [JsonProperty(PropertyName = "iKey")] - public string IKey { get; set; } - - /// - /// Gets or sets name of the application - /// - [JsonProperty(PropertyName = "appName")] - public string AppName { get; set; } - - /// - /// Gets or sets ID of the application - /// - [JsonProperty(PropertyName = "appId")] - public string AppId { get; set; } - - /// - /// Gets or sets SDK version of the application - /// - [JsonProperty(PropertyName = "sdkVersion")] - public string SdkVersion { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsApplicationInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsApplicationInfo.cs deleted file mode 100644 index 5319e14b6840..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsApplicationInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Application info for an event result - /// - public partial class EventsApplicationInfo - { - /// - /// Initializes a new instance of the EventsApplicationInfo class. - /// - public EventsApplicationInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsApplicationInfo class. - /// - /// Version of the application - public EventsApplicationInfo(string version = default(string)) - { - Version = version; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets version of the application - /// - [JsonProperty(PropertyName = "version")] - public string Version { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultInfo.cs deleted file mode 100644 index 0aac297d7413..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultInfo.cs +++ /dev/null @@ -1,114 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The availability result info - /// - public partial class EventsAvailabilityResultInfo - { - /// - /// Initializes a new instance of the EventsAvailabilityResultInfo - /// class. - /// - public EventsAvailabilityResultInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsAvailabilityResultInfo - /// class. - /// - /// The name of the availability result - /// Indicates if the availability result was - /// successful - /// The duration of the availability - /// result - /// The performance bucket of the - /// availability result - /// The message of the availability - /// result - /// The location of the availability - /// result - /// The ID of the availability result - /// The size of the availability result - public EventsAvailabilityResultInfo(string name = default(string), string success = default(string), long? duration = default(long?), string performanceBucket = default(string), string message = default(string), string location = default(string), string id = default(string), string size = default(string)) - { - Name = name; - Success = success; - Duration = duration; - PerformanceBucket = performanceBucket; - Message = message; - Location = location; - Id = id; - Size = size; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the availability result - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets indicates if the availability result was successful - /// - [JsonProperty(PropertyName = "success")] - public string Success { get; set; } - - /// - /// Gets or sets the duration of the availability result - /// - [JsonProperty(PropertyName = "duration")] - public long? Duration { get; set; } - - /// - /// Gets or sets the performance bucket of the availability result - /// - [JsonProperty(PropertyName = "performanceBucket")] - public string PerformanceBucket { get; set; } - - /// - /// Gets or sets the message of the availability result - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the location of the availability result - /// - [JsonProperty(PropertyName = "location")] - public string Location { get; set; } - - /// - /// Gets or sets the ID of the availability result - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the size of the availability result - /// - [JsonProperty(PropertyName = "size")] - public string Size { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultResult.cs deleted file mode 100644 index 0dc6ebc3ac6f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsAvailabilityResultResult.cs +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// An availability result result - /// - [Newtonsoft.Json.JsonObject("availabilityResult")] - public partial class EventsAvailabilityResultResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsAvailabilityResultResult - /// class. - /// - public EventsAvailabilityResultResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsAvailabilityResultResult - /// class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsAvailabilityResultResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsAvailabilityResultInfo availabilityResult = default(EventsAvailabilityResultInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - AvailabilityResult = availabilityResult; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "availabilityResult")] - public EventsAvailabilityResultInfo AvailabilityResult { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingInfo.cs deleted file mode 100644 index a0e771b11ddb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingInfo.cs +++ /dev/null @@ -1,127 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The browser timing information - /// - public partial class EventsBrowserTimingInfo - { - /// - /// Initializes a new instance of the EventsBrowserTimingInfo class. - /// - public EventsBrowserTimingInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsBrowserTimingInfo class. - /// - /// The path of the URL - /// The host of the URL - /// The name of the page - /// The url of the page - /// The total duration of the load - /// The performance bucket of the - /// load - /// The network duration of the - /// load - /// The send duration of the load - /// The receive duration of the - /// load - /// The processing duration of the - /// load - public EventsBrowserTimingInfo(string urlPath = default(string), string urlHost = default(string), string name = default(string), string url = default(string), long? totalDuration = default(long?), string performanceBucket = default(string), long? networkDuration = default(long?), long? sendDuration = default(long?), long? receiveDuration = default(long?), long? processingDuration = default(long?)) - { - UrlPath = urlPath; - UrlHost = urlHost; - Name = name; - Url = url; - TotalDuration = totalDuration; - PerformanceBucket = performanceBucket; - NetworkDuration = networkDuration; - SendDuration = sendDuration; - ReceiveDuration = receiveDuration; - ProcessingDuration = processingDuration; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the path of the URL - /// - [JsonProperty(PropertyName = "urlPath")] - public string UrlPath { get; set; } - - /// - /// Gets or sets the host of the URL - /// - [JsonProperty(PropertyName = "urlHost")] - public string UrlHost { get; set; } - - /// - /// Gets or sets the name of the page - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the url of the page - /// - [JsonProperty(PropertyName = "url")] - public string Url { get; set; } - - /// - /// Gets or sets the total duration of the load - /// - [JsonProperty(PropertyName = "totalDuration")] - public long? TotalDuration { get; set; } - - /// - /// Gets or sets the performance bucket of the load - /// - [JsonProperty(PropertyName = "performanceBucket")] - public string PerformanceBucket { get; set; } - - /// - /// Gets or sets the network duration of the load - /// - [JsonProperty(PropertyName = "networkDuration")] - public long? NetworkDuration { get; set; } - - /// - /// Gets or sets the send duration of the load - /// - [JsonProperty(PropertyName = "sendDuration")] - public long? SendDuration { get; set; } - - /// - /// Gets or sets the receive duration of the load - /// - [JsonProperty(PropertyName = "receiveDuration")] - public long? ReceiveDuration { get; set; } - - /// - /// Gets or sets the processing duration of the load - /// - [JsonProperty(PropertyName = "processingDuration")] - public long? ProcessingDuration { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingResult.cs deleted file mode 100644 index 4f1009a32542..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsBrowserTimingResult.cs +++ /dev/null @@ -1,71 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A browser timing result - /// - [Newtonsoft.Json.JsonObject("browserTiming")] - public partial class EventsBrowserTimingResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsBrowserTimingResult class. - /// - public EventsBrowserTimingResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsBrowserTimingResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsBrowserTimingResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsBrowserTimingInfo browserTiming = default(EventsBrowserTimingInfo), EventsClientPerformanceInfo clientPerformance = default(EventsClientPerformanceInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - BrowserTiming = browserTiming; - ClientPerformance = clientPerformance; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "browserTiming")] - public EventsBrowserTimingInfo BrowserTiming { get; set; } - - /// - /// - [JsonProperty(PropertyName = "clientPerformance")] - public EventsClientPerformanceInfo ClientPerformance { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientInfo.cs deleted file mode 100644 index 6858451c96a8..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientInfo.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Client info for an event result - /// - public partial class EventsClientInfo - { - /// - /// Initializes a new instance of the EventsClientInfo class. - /// - public EventsClientInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsClientInfo class. - /// - /// Model of the client - /// Operating system of the client - /// Type of the client - /// Browser of the client - /// IP address of the client - /// City of the client - /// State or province of the - /// client - /// Country or region of the - /// client - public EventsClientInfo(string model = default(string), string os = default(string), string type = default(string), string browser = default(string), string ip = default(string), string city = default(string), string stateOrProvince = default(string), string countryOrRegion = default(string)) - { - Model = model; - Os = os; - Type = type; - Browser = browser; - Ip = ip; - City = city; - StateOrProvince = stateOrProvince; - CountryOrRegion = countryOrRegion; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets model of the client - /// - [JsonProperty(PropertyName = "model")] - public string Model { get; set; } - - /// - /// Gets or sets operating system of the client - /// - [JsonProperty(PropertyName = "os")] - public string Os { get; set; } - - /// - /// Gets or sets type of the client - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Gets or sets browser of the client - /// - [JsonProperty(PropertyName = "browser")] - public string Browser { get; set; } - - /// - /// Gets or sets IP address of the client - /// - [JsonProperty(PropertyName = "ip")] - public string Ip { get; set; } - - /// - /// Gets or sets city of the client - /// - [JsonProperty(PropertyName = "city")] - public string City { get; set; } - - /// - /// Gets or sets state or province of the client - /// - [JsonProperty(PropertyName = "stateOrProvince")] - public string StateOrProvince { get; set; } - - /// - /// Gets or sets country or region of the client - /// - [JsonProperty(PropertyName = "countryOrRegion")] - public string CountryOrRegion { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientPerformanceInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientPerformanceInfo.cs deleted file mode 100644 index e3cb5c4a0740..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsClientPerformanceInfo.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Client performance information - /// - public partial class EventsClientPerformanceInfo - { - /// - /// Initializes a new instance of the EventsClientPerformanceInfo - /// class. - /// - public EventsClientPerformanceInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsClientPerformanceInfo - /// class. - /// - /// The name of the client performance - public EventsClientPerformanceInfo(string name = default(string)) - { - Name = name; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the client performance - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCloudInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCloudInfo.cs deleted file mode 100644 index da37f8475c6d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCloudInfo.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Cloud info for an event result - /// - public partial class EventsCloudInfo - { - /// - /// Initializes a new instance of the EventsCloudInfo class. - /// - public EventsCloudInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsCloudInfo class. - /// - /// Role name of the cloud - /// Role instance of the cloud - public EventsCloudInfo(string roleName = default(string), string roleInstance = default(string)) - { - RoleName = roleName; - RoleInstance = roleInstance; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets role name of the cloud - /// - [JsonProperty(PropertyName = "roleName")] - public string RoleName { get; set; } - - /// - /// Gets or sets role instance of the cloud - /// - [JsonProperty(PropertyName = "roleInstance")] - public string RoleInstance { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventInfo.cs deleted file mode 100644 index 20a0297d31bb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The custom event information - /// - public partial class EventsCustomEventInfo - { - /// - /// Initializes a new instance of the EventsCustomEventInfo class. - /// - public EventsCustomEventInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsCustomEventInfo class. - /// - /// The name of the custom event - public EventsCustomEventInfo(string name = default(string)) - { - Name = name; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the custom event - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventResult.cs deleted file mode 100644 index 5d8c33e7c31b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomEventResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A custom event result - /// - [Newtonsoft.Json.JsonObject("customEvent")] - public partial class EventsCustomEventResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsCustomEventResult class. - /// - public EventsCustomEventResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsCustomEventResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsCustomEventResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsCustomEventInfo customEvent = default(EventsCustomEventInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - CustomEvent = customEvent; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "customEvent")] - public EventsCustomEventInfo CustomEvent { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricInfo.cs deleted file mode 100644 index fc99acc002c0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricInfo.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The custom metric info - /// - public partial class EventsCustomMetricInfo - { - /// - /// Initializes a new instance of the EventsCustomMetricInfo class. - /// - public EventsCustomMetricInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsCustomMetricInfo class. - /// - /// The name of the custom metric - /// The value of the custom metric - /// The sum of the custom metric - /// The count of the custom metric - /// The minimum value of the custom - /// metric - /// The maximum value of the custom - /// metric - /// The standard deviation of the custom - /// metric - public EventsCustomMetricInfo(string name = default(string), double? value = default(double?), double? valueSum = default(double?), int? valueCount = default(int?), double? valueMin = default(double?), double? valueMax = default(double?), double? valueStdDev = default(double?)) - { - Name = name; - Value = value; - ValueSum = valueSum; - ValueCount = valueCount; - ValueMin = valueMin; - ValueMax = valueMax; - ValueStdDev = valueStdDev; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the custom metric - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the value of the custom metric - /// - [JsonProperty(PropertyName = "value")] - public double? Value { get; set; } - - /// - /// Gets or sets the sum of the custom metric - /// - [JsonProperty(PropertyName = "valueSum")] - public double? ValueSum { get; set; } - - /// - /// Gets or sets the count of the custom metric - /// - [JsonProperty(PropertyName = "valueCount")] - public int? ValueCount { get; set; } - - /// - /// Gets or sets the minimum value of the custom metric - /// - [JsonProperty(PropertyName = "valueMin")] - public double? ValueMin { get; set; } - - /// - /// Gets or sets the maximum value of the custom metric - /// - [JsonProperty(PropertyName = "valueMax")] - public double? ValueMax { get; set; } - - /// - /// Gets or sets the standard deviation of the custom metric - /// - [JsonProperty(PropertyName = "valueStdDev")] - public double? ValueStdDev { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricResult.cs deleted file mode 100644 index 9d7379f5e15d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsCustomMetricResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A custom metric result - /// - [Newtonsoft.Json.JsonObject("customMetric")] - public partial class EventsCustomMetricResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsCustomMetricResult class. - /// - public EventsCustomMetricResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsCustomMetricResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsCustomMetricResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsCustomMetricInfo customMetric = default(EventsCustomMetricInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - CustomMetric = customMetric; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "customMetric")] - public EventsCustomMetricInfo CustomMetric { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyInfo.cs deleted file mode 100644 index 27fe20462c70..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyInfo.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The dependency info - /// - public partial class EventsDependencyInfo - { - /// - /// Initializes a new instance of the EventsDependencyInfo class. - /// - public EventsDependencyInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsDependencyInfo class. - /// - /// The target of the dependency - /// The data of the dependency - /// Indicates if the dependency was - /// successful - /// The duration of the dependency - /// The performance bucket of the - /// dependency - /// The result code of the dependency - /// The type of the dependency - /// The name of the dependency - /// The ID of the dependency - public EventsDependencyInfo(string target = default(string), string data = default(string), string success = default(string), long? duration = default(long?), string performanceBucket = default(string), string resultCode = default(string), string type = default(string), string name = default(string), string id = default(string)) - { - Target = target; - Data = data; - Success = success; - Duration = duration; - PerformanceBucket = performanceBucket; - ResultCode = resultCode; - Type = type; - Name = name; - Id = id; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the target of the dependency - /// - [JsonProperty(PropertyName = "target")] - public string Target { get; set; } - - /// - /// Gets or sets the data of the dependency - /// - [JsonProperty(PropertyName = "data")] - public string Data { get; set; } - - /// - /// Gets or sets indicates if the dependency was successful - /// - [JsonProperty(PropertyName = "success")] - public string Success { get; set; } - - /// - /// Gets or sets the duration of the dependency - /// - [JsonProperty(PropertyName = "duration")] - public long? Duration { get; set; } - - /// - /// Gets or sets the performance bucket of the dependency - /// - [JsonProperty(PropertyName = "performanceBucket")] - public string PerformanceBucket { get; set; } - - /// - /// Gets or sets the result code of the dependency - /// - [JsonProperty(PropertyName = "resultCode")] - public string ResultCode { get; set; } - - /// - /// Gets or sets the type of the dependency - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Gets or sets the name of the dependency - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the ID of the dependency - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyResult.cs deleted file mode 100644 index d18cdef03e7a..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsDependencyResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A dependency result - /// - [Newtonsoft.Json.JsonObject("dependency")] - public partial class EventsDependencyResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsDependencyResult class. - /// - public EventsDependencyResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsDependencyResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsDependencyResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsDependencyInfo dependency = default(EventsDependencyInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - Dependency = dependency; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "dependency")] - public EventsDependencyInfo Dependency { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetail.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetail.cs deleted file mode 100644 index f86799dd812d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetail.cs +++ /dev/null @@ -1,94 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Exception details - /// - public partial class EventsExceptionDetail - { - /// - /// Initializes a new instance of the EventsExceptionDetail class. - /// - public EventsExceptionDetail() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsExceptionDetail class. - /// - /// The severity level of the exception - /// detail - /// The outer ID of the exception detail - /// The message of the exception detail - /// The type of the exception detail - /// The ID of the exception detail - /// The parsed stack - public EventsExceptionDetail(string severityLevel = default(string), string outerId = default(string), string message = default(string), string type = default(string), string id = default(string), IList parsedStack = default(IList)) - { - SeverityLevel = severityLevel; - OuterId = outerId; - Message = message; - Type = type; - Id = id; - ParsedStack = parsedStack; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the severity level of the exception detail - /// - [JsonProperty(PropertyName = "severityLevel")] - public string SeverityLevel { get; set; } - - /// - /// Gets or sets the outer ID of the exception detail - /// - [JsonProperty(PropertyName = "outerId")] - public string OuterId { get; set; } - - /// - /// Gets or sets the message of the exception detail - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the type of the exception detail - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Gets or sets the ID of the exception detail - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the parsed stack - /// - [JsonProperty(PropertyName = "parsedStack")] - public IList ParsedStack { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetailsParsedStack.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetailsParsedStack.cs deleted file mode 100644 index 4a2d29bc027c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionDetailsParsedStack.cs +++ /dev/null @@ -1,77 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A parsed stack entry - /// - public partial class EventsExceptionDetailsParsedStack - { - /// - /// Initializes a new instance of the EventsExceptionDetailsParsedStack - /// class. - /// - public EventsExceptionDetailsParsedStack() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsExceptionDetailsParsedStack - /// class. - /// - /// The assembly of the stack entry - /// The method of the stack entry - /// The level of the stack entry - /// The line of the stack entry - public EventsExceptionDetailsParsedStack(string assembly = default(string), string method = default(string), long? level = default(long?), long? line = default(long?)) - { - Assembly = assembly; - Method = method; - Level = level; - Line = line; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the assembly of the stack entry - /// - [JsonProperty(PropertyName = "assembly")] - public string Assembly { get; set; } - - /// - /// Gets or sets the method of the stack entry - /// - [JsonProperty(PropertyName = "method")] - public string Method { get; set; } - - /// - /// Gets or sets the level of the stack entry - /// - [JsonProperty(PropertyName = "level")] - public long? Level { get; set; } - - /// - /// Gets or sets the line of the stack entry - /// - [JsonProperty(PropertyName = "line")] - public long? Line { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionInfo.cs deleted file mode 100644 index 95e1131bd001..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionInfo.cs +++ /dev/null @@ -1,182 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// The exception info - /// - public partial class EventsExceptionInfo - { - /// - /// Initializes a new instance of the EventsExceptionInfo class. - /// - public EventsExceptionInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsExceptionInfo class. - /// - /// The severity level of the - /// exception - /// The problem ID of the exception - /// Indicates where the exception was handled - /// at - /// The assembly which threw the - /// exception - /// The method that threw the exception - /// The message of the exception - /// The type of the exception - /// The outer type of the exception - /// The outer method of the exception - /// The outer assmebly of the - /// exception - /// The outer message of the - /// exception - /// The inner most type of the - /// exception - /// The inner most message of the - /// exception - /// The inner most method of the - /// exception - /// The inner most assembly of the - /// exception - /// The details of the exception - public EventsExceptionInfo(int? severityLevel = default(int?), string problemId = default(string), string handledAt = default(string), string assembly = default(string), string method = default(string), string message = default(string), string type = default(string), string outerType = default(string), string outerMethod = default(string), string outerAssembly = default(string), string outerMessage = default(string), string innermostType = default(string), string innermostMessage = default(string), string innermostMethod = default(string), string innermostAssembly = default(string), IList details = default(IList)) - { - SeverityLevel = severityLevel; - ProblemId = problemId; - HandledAt = handledAt; - Assembly = assembly; - Method = method; - Message = message; - Type = type; - OuterType = outerType; - OuterMethod = outerMethod; - OuterAssembly = outerAssembly; - OuterMessage = outerMessage; - InnermostType = innermostType; - InnermostMessage = innermostMessage; - InnermostMethod = innermostMethod; - InnermostAssembly = innermostAssembly; - Details = details; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the severity level of the exception - /// - [JsonProperty(PropertyName = "severityLevel")] - public int? SeverityLevel { get; set; } - - /// - /// Gets or sets the problem ID of the exception - /// - [JsonProperty(PropertyName = "problemId")] - public string ProblemId { get; set; } - - /// - /// Gets or sets indicates where the exception was handled at - /// - [JsonProperty(PropertyName = "handledAt")] - public string HandledAt { get; set; } - - /// - /// Gets or sets the assembly which threw the exception - /// - [JsonProperty(PropertyName = "assembly")] - public string Assembly { get; set; } - - /// - /// Gets or sets the method that threw the exception - /// - [JsonProperty(PropertyName = "method")] - public string Method { get; set; } - - /// - /// Gets or sets the message of the exception - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the type of the exception - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Gets or sets the outer type of the exception - /// - [JsonProperty(PropertyName = "outerType")] - public string OuterType { get; set; } - - /// - /// Gets or sets the outer method of the exception - /// - [JsonProperty(PropertyName = "outerMethod")] - public string OuterMethod { get; set; } - - /// - /// Gets or sets the outer assmebly of the exception - /// - [JsonProperty(PropertyName = "outerAssembly")] - public string OuterAssembly { get; set; } - - /// - /// Gets or sets the outer message of the exception - /// - [JsonProperty(PropertyName = "outerMessage")] - public string OuterMessage { get; set; } - - /// - /// Gets or sets the inner most type of the exception - /// - [JsonProperty(PropertyName = "innermostType")] - public string InnermostType { get; set; } - - /// - /// Gets or sets the inner most message of the exception - /// - [JsonProperty(PropertyName = "innermostMessage")] - public string InnermostMessage { get; set; } - - /// - /// Gets or sets the inner most method of the exception - /// - [JsonProperty(PropertyName = "innermostMethod")] - public string InnermostMethod { get; set; } - - /// - /// Gets or sets the inner most assembly of the exception - /// - [JsonProperty(PropertyName = "innermostAssembly")] - public string InnermostAssembly { get; set; } - - /// - /// Gets or sets the details of the exception - /// - [JsonProperty(PropertyName = "details")] - public IList Details { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionResult.cs deleted file mode 100644 index e4d5764de21c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsExceptionResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// An exception result - /// - [Newtonsoft.Json.JsonObject("exception")] - public partial class EventsExceptionResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsExceptionResult class. - /// - public EventsExceptionResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsExceptionResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsExceptionResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsExceptionInfo exception = default(EventsExceptionInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - Exception = exception; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "exception")] - public EventsExceptionInfo Exception { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsOperationInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsOperationInfo.cs deleted file mode 100644 index 64928c4ea818..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsOperationInfo.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Operation info for an event result - /// - public partial class EventsOperationInfo - { - /// - /// Initializes a new instance of the EventsOperationInfo class. - /// - public EventsOperationInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsOperationInfo class. - /// - /// Name of the operation - /// ID of the operation - /// Parent ID of the operation - /// Synthetic source of the - /// operation - public EventsOperationInfo(string name = default(string), string id = default(string), string parentId = default(string), string syntheticSource = default(string)) - { - Name = name; - Id = id; - ParentId = parentId; - SyntheticSource = syntheticSource; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets name of the operation - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets ID of the operation - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets parent ID of the operation - /// - [JsonProperty(PropertyName = "parentId")] - public string ParentId { get; set; } - - /// - /// Gets or sets synthetic source of the operation - /// - [JsonProperty(PropertyName = "syntheticSource")] - public string SyntheticSource { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewInfo.cs deleted file mode 100644 index eadd40831e56..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewInfo.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The page view information - /// - public partial class EventsPageViewInfo - { - /// - /// Initializes a new instance of the EventsPageViewInfo class. - /// - public EventsPageViewInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsPageViewInfo class. - /// - /// The name of the page - /// The URL of the page - /// The duration of the page view - /// The performance bucket of the page - /// view - public EventsPageViewInfo(string name = default(string), string url = default(string), string duration = default(string), string performanceBucket = default(string)) - { - Name = name; - Url = url; - Duration = duration; - PerformanceBucket = performanceBucket; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the page - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the URL of the page - /// - [JsonProperty(PropertyName = "url")] - public string Url { get; set; } - - /// - /// Gets or sets the duration of the page view - /// - [JsonProperty(PropertyName = "duration")] - public string Duration { get; set; } - - /// - /// Gets or sets the performance bucket of the page view - /// - [JsonProperty(PropertyName = "performanceBucket")] - public string PerformanceBucket { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewResult.cs deleted file mode 100644 index 0ec11c2dbd6b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPageViewResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A page view result - /// - [Newtonsoft.Json.JsonObject("pageView")] - public partial class EventsPageViewResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsPageViewResult class. - /// - public EventsPageViewResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsPageViewResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsPageViewResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsPageViewInfo pageView = default(EventsPageViewInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - PageView = pageView; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "pageView")] - public EventsPageViewInfo PageView { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterInfo.cs deleted file mode 100644 index 9ed4ad144c40..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterInfo.cs +++ /dev/null @@ -1,97 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The performance counter info - /// - public partial class EventsPerformanceCounterInfo - { - /// - /// Initializes a new instance of the EventsPerformanceCounterInfo - /// class. - /// - public EventsPerformanceCounterInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsPerformanceCounterInfo - /// class. - /// - /// The value of the performance counter - /// The name of the performance counter - /// The category of the performance - /// counter - /// The counter of the performance - /// counter - /// The instance name of the performance - /// counter - /// The instance of the performance - /// counter - public EventsPerformanceCounterInfo(double? value = default(double?), string name = default(string), string category = default(string), string counter = default(string), string instanceName = default(string), string instance = default(string)) - { - Value = value; - Name = name; - Category = category; - Counter = counter; - InstanceName = instanceName; - Instance = instance; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the value of the performance counter - /// - [JsonProperty(PropertyName = "value")] - public double? Value { get; set; } - - /// - /// Gets or sets the name of the performance counter - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the category of the performance counter - /// - [JsonProperty(PropertyName = "category")] - public string Category { get; set; } - - /// - /// Gets or sets the counter of the performance counter - /// - [JsonProperty(PropertyName = "counter")] - public string Counter { get; set; } - - /// - /// Gets or sets the instance name of the performance counter - /// - [JsonProperty(PropertyName = "instanceName")] - public string InstanceName { get; set; } - - /// - /// Gets or sets the instance of the performance counter - /// - [JsonProperty(PropertyName = "instance")] - public string Instance { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterResult.cs deleted file mode 100644 index ff6c0e98fa1d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsPerformanceCounterResult.cs +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A performance counter result - /// - [Newtonsoft.Json.JsonObject("performanceCounter")] - public partial class EventsPerformanceCounterResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsPerformanceCounterResult - /// class. - /// - public EventsPerformanceCounterResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsPerformanceCounterResult - /// class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsPerformanceCounterResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsPerformanceCounterInfo performanceCounter = default(EventsPerformanceCounterInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - PerformanceCounter = performanceCounter; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "performanceCounter")] - public EventsPerformanceCounterInfo PerformanceCounter { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestInfo.cs deleted file mode 100644 index ca053cd89d3f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestInfo.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The request info - /// - public partial class EventsRequestInfo - { - /// - /// Initializes a new instance of the EventsRequestInfo class. - /// - public EventsRequestInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsRequestInfo class. - /// - /// The name of the request - /// The URL of the request - /// Indicates if the request was - /// successful - /// The duration of the request - /// The performance bucket of the - /// request - /// The result code of the request - /// The source of the request - /// The ID of the request - public EventsRequestInfo(string name = default(string), string url = default(string), string success = default(string), double? duration = default(double?), string performanceBucket = default(string), string resultCode = default(string), string source = default(string), string id = default(string)) - { - Name = name; - Url = url; - Success = success; - Duration = duration; - PerformanceBucket = performanceBucket; - ResultCode = resultCode; - Source = source; - Id = id; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the request - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the URL of the request - /// - [JsonProperty(PropertyName = "url")] - public string Url { get; set; } - - /// - /// Gets or sets indicates if the request was successful - /// - [JsonProperty(PropertyName = "success")] - public string Success { get; set; } - - /// - /// Gets or sets the duration of the request - /// - [JsonProperty(PropertyName = "duration")] - public double? Duration { get; set; } - - /// - /// Gets or sets the performance bucket of the request - /// - [JsonProperty(PropertyName = "performanceBucket")] - public string PerformanceBucket { get; set; } - - /// - /// Gets or sets the result code of the request - /// - [JsonProperty(PropertyName = "resultCode")] - public string ResultCode { get; set; } - - /// - /// Gets or sets the source of the request - /// - [JsonProperty(PropertyName = "source")] - public string Source { get; set; } - - /// - /// Gets or sets the ID of the request - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestResult.cs deleted file mode 100644 index 822223ed9e90..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsRequestResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A request result - /// - [Newtonsoft.Json.JsonObject("request")] - public partial class EventsRequestResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsRequestResult class. - /// - public EventsRequestResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsRequestResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsRequestResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsRequestInfo request = default(EventsRequestInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - Request = request; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "request")] - public EventsRequestInfo Request { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResult.cs deleted file mode 100644 index 2f7b3ae2ade9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResult.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// An event query result. - /// - public partial class EventsResult - { - /// - /// Initializes a new instance of the EventsResult class. - /// - public EventsResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsResult class. - /// - /// OData messages for this response. - public EventsResult(IList aimessages = default(IList), EventsResultData value = default(EventsResultData)) - { - Aimessages = aimessages; - Value = value; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets oData messages for this response. - /// - [JsonProperty(PropertyName = "@ai.messages")] - public IList Aimessages { get; set; } - - /// - /// - [JsonProperty(PropertyName = "value")] - public EventsResultData Value { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultData.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultData.cs deleted file mode 100644 index 8df84051c7de..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultData.cs +++ /dev/null @@ -1,142 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Events query result data. - /// - [Newtonsoft.Json.JsonObject("eventsResultData")] - public partial class EventsResultData - { - /// - /// Initializes a new instance of the EventsResultData class. - /// - public EventsResultData() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsResultData class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsResultData(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo)) - { - Id = id; - Count = count; - Timestamp = timestamp; - CustomDimensions = customDimensions; - CustomMeasurements = customMeasurements; - Operation = operation; - Session = session; - User = user; - Cloud = cloud; - Ai = ai; - Application = application; - Client = client; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the unique ID for this event. - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets count of the event - /// - [JsonProperty(PropertyName = "count")] - public long? Count { get; set; } - - /// - /// Gets or sets timestamp of the event - /// - [JsonProperty(PropertyName = "timestamp")] - public System.DateTime? Timestamp { get; set; } - - /// - /// Gets or sets custom dimensions of the event - /// - [JsonProperty(PropertyName = "customDimensions")] - public EventsResultDataCustomDimensions CustomDimensions { get; set; } - - /// - /// Gets or sets custom measurements of the event - /// - [JsonProperty(PropertyName = "customMeasurements")] - public EventsResultDataCustomMeasurements CustomMeasurements { get; set; } - - /// - /// Gets or sets operation info of the event - /// - [JsonProperty(PropertyName = "operation")] - public EventsOperationInfo Operation { get; set; } - - /// - /// Gets or sets session info of the event - /// - [JsonProperty(PropertyName = "session")] - public EventsSessionInfo Session { get; set; } - - /// - /// Gets or sets user info of the event - /// - [JsonProperty(PropertyName = "user")] - public EventsUserInfo User { get; set; } - - /// - /// Gets or sets cloud info of the event - /// - [JsonProperty(PropertyName = "cloud")] - public EventsCloudInfo Cloud { get; set; } - - /// - /// Gets or sets AI info of the event - /// - [JsonProperty(PropertyName = "ai")] - public EventsAiInfo Ai { get; set; } - - /// - /// Gets or sets application info of the event - /// - [JsonProperty(PropertyName = "application")] - public EventsApplicationInfo Application { get; set; } - - /// - /// Gets or sets client info of the event - /// - [JsonProperty(PropertyName = "client")] - public EventsClientInfo Client { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomDimensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomDimensions.cs deleted file mode 100644 index f7f0cdffafc4..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomDimensions.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Custom dimensions of the event - /// - public partial class EventsResultDataCustomDimensions - { - /// - /// Initializes a new instance of the EventsResultDataCustomDimensions - /// class. - /// - public EventsResultDataCustomDimensions() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsResultDataCustomDimensions - /// class. - /// - public EventsResultDataCustomDimensions(object additionalProperties = default(object)) - { - AdditionalProperties = additionalProperties; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "additionalProperties")] - public object AdditionalProperties { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomMeasurements.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomMeasurements.cs deleted file mode 100644 index 9367b757121b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResultDataCustomMeasurements.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Custom measurements of the event - /// - public partial class EventsResultDataCustomMeasurements - { - /// - /// Initializes a new instance of the - /// EventsResultDataCustomMeasurements class. - /// - public EventsResultDataCustomMeasurements() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// EventsResultDataCustomMeasurements class. - /// - public EventsResultDataCustomMeasurements(object additionalProperties = default(object)) - { - AdditionalProperties = additionalProperties; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "additionalProperties")] - public object AdditionalProperties { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResults.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResults.cs deleted file mode 100644 index 4c3d89f90d69..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsResults.cs +++ /dev/null @@ -1,70 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// An events query result. - /// - public partial class EventsResults - { - /// - /// Initializes a new instance of the EventsResults class. - /// - public EventsResults() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsResults class. - /// - /// OData context metadata endpoint for this - /// response - /// OData messages for this response. - /// Contents of the events query result. - public EventsResults(string odatacontext = default(string), IList aimessages = default(IList), IList value = default(IList)) - { - Odatacontext = odatacontext; - Aimessages = aimessages; - Value = value; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets oData context metadata endpoint for this response - /// - [JsonProperty(PropertyName = "@odata.context")] - public string Odatacontext { get; set; } - - /// - /// Gets or sets oData messages for this response. - /// - [JsonProperty(PropertyName = "@ai.messages")] - public IList Aimessages { get; set; } - - /// - /// Gets or sets contents of the events query result. - /// - [JsonProperty(PropertyName = "value")] - public IList Value { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsSessionInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsSessionInfo.cs deleted file mode 100644 index 2ef24da78661..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsSessionInfo.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Session info for an event result - /// - public partial class EventsSessionInfo - { - /// - /// Initializes a new instance of the EventsSessionInfo class. - /// - public EventsSessionInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsSessionInfo class. - /// - /// ID of the session - public EventsSessionInfo(string id = default(string)) - { - Id = id; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets ID of the session - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceInfo.cs deleted file mode 100644 index 4f7f3c0774f0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceInfo.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// The trace information - /// - public partial class EventsTraceInfo - { - /// - /// Initializes a new instance of the EventsTraceInfo class. - /// - public EventsTraceInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsTraceInfo class. - /// - /// The trace message - /// The trace severity level - public EventsTraceInfo(string message = default(string), int? severityLevel = default(int?)) - { - Message = message; - SeverityLevel = severityLevel; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the trace message - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } - - /// - /// Gets or sets the trace severity level - /// - [JsonProperty(PropertyName = "severityLevel")] - public int? SeverityLevel { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceResult.cs deleted file mode 100644 index 901cd594a5e9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsTraceResult.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A trace result - /// - [Newtonsoft.Json.JsonObject("trace")] - public partial class EventsTraceResult : EventsResultData - { - /// - /// Initializes a new instance of the EventsTraceResult class. - /// - public EventsTraceResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsTraceResult class. - /// - /// The unique ID for this event. - /// Count of the event - /// Timestamp of the event - /// Custom dimensions of the - /// event - /// Custom measurements of the - /// event - /// Operation info of the event - /// Session info of the event - /// User info of the event - /// Cloud info of the event - /// AI info of the event - /// Application info of the event - /// Client info of the event - public EventsTraceResult(string id = default(string), long? count = default(long?), System.DateTime? timestamp = default(System.DateTime?), EventsResultDataCustomDimensions customDimensions = default(EventsResultDataCustomDimensions), EventsResultDataCustomMeasurements customMeasurements = default(EventsResultDataCustomMeasurements), EventsOperationInfo operation = default(EventsOperationInfo), EventsSessionInfo session = default(EventsSessionInfo), EventsUserInfo user = default(EventsUserInfo), EventsCloudInfo cloud = default(EventsCloudInfo), EventsAiInfo ai = default(EventsAiInfo), EventsApplicationInfo application = default(EventsApplicationInfo), EventsClientInfo client = default(EventsClientInfo), EventsTraceInfo trace = default(EventsTraceInfo)) - : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, application, client) - { - Trace = trace; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "trace")] - public EventsTraceInfo Trace { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsUserInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsUserInfo.cs deleted file mode 100644 index 2414f185dac9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/EventsUserInfo.cs +++ /dev/null @@ -1,67 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// User info for an event result - /// - public partial class EventsUserInfo - { - /// - /// Initializes a new instance of the EventsUserInfo class. - /// - public EventsUserInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the EventsUserInfo class. - /// - /// ID of the user - /// Account ID of the user - /// Authenticated ID of the user - public EventsUserInfo(string id = default(string), string accountId = default(string), string authenticatedId = default(string)) - { - Id = id; - AccountId = accountId; - AuthenticatedId = authenticatedId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets ID of the user - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets account ID of the user - /// - [JsonProperty(PropertyName = "accountId")] - public string AccountId { get; set; } - - /// - /// Gets or sets authenticated ID of the user - /// - [JsonProperty(PropertyName = "authenticatedId")] - public string AuthenticatedId { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricId.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricId.cs deleted file mode 100644 index ff8f0db4fd0c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricId.cs +++ /dev/null @@ -1,52 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - - /// - /// Defines values for MetricId. - /// - public static class MetricId - { - public const string RequestsCount = "requests/count"; - public const string RequestsDuration = "requests/duration"; - public const string RequestsFailed = "requests/failed"; - public const string UsersCount = "users/count"; - public const string UsersAuthenticated = "users/authenticated"; - public const string PageViewsCount = "pageViews/count"; - public const string PageViewsDuration = "pageViews/duration"; - public const string ClientProcessingDuration = "client/processingDuration"; - public const string ClientReceiveDuration = "client/receiveDuration"; - public const string ClientNetworkDuration = "client/networkDuration"; - public const string ClientSendDuration = "client/sendDuration"; - public const string ClientTotalDuration = "client/totalDuration"; - public const string DependenciesCount = "dependencies/count"; - public const string DependenciesFailed = "dependencies/failed"; - public const string DependenciesDuration = "dependencies/duration"; - public const string ExceptionsCount = "exceptions/count"; - public const string ExceptionsBrowser = "exceptions/browser"; - public const string ExceptionsServer = "exceptions/server"; - public const string SessionsCount = "sessions/count"; - public const string PerformanceCountersRequestExecutionTime = "performanceCounters/requestExecutionTime"; - public const string PerformanceCountersRequestsPerSecond = "performanceCounters/requestsPerSecond"; - public const string PerformanceCountersRequestsInQueue = "performanceCounters/requestsInQueue"; - public const string PerformanceCountersMemoryAvailableBytes = "performanceCounters/memoryAvailableBytes"; - public const string PerformanceCountersExceptionsPerSecond = "performanceCounters/exceptionsPerSecond"; - public const string PerformanceCountersProcessCpuPercentage = "performanceCounters/processCpuPercentage"; - public const string PerformanceCountersProcessIOBytesPerSecond = "performanceCounters/processIOBytesPerSecond"; - public const string PerformanceCountersProcessPrivateBytes = "performanceCounters/processPrivateBytes"; - public const string PerformanceCountersProcessorCpuPercentage = "performanceCounters/processorCpuPercentage"; - public const string AvailabilityResultsAvailabilityPercentage = "availabilityResults/availabilityPercentage"; - public const string AvailabilityResultsDuration = "availabilityResults/duration"; - public const string BillingTelemetryCount = "billing/telemetryCount"; - public const string CustomEventsCount = "customEvents/count"; - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsAggregation.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsAggregation.cs deleted file mode 100644 index c667cc0575b3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsAggregation.cs +++ /dev/null @@ -1,26 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - - /// - /// Defines values for MetricsAggregation. - /// - public static class MetricsAggregation - { - public const string Min = "min"; - public const string Max = "max"; - public const string Avg = "avg"; - public const string Sum = "sum"; - public const string Count = "count"; - public const string Unique = "unique"; - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchema.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchema.cs deleted file mode 100644 index 7e069eb4ec04..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchema.cs +++ /dev/null @@ -1,87 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// A metric request - /// - public partial class MetricsPostBodySchema - { - /// - /// Initializes a new instance of the MetricsPostBodySchema class. - /// - public MetricsPostBodySchema() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsPostBodySchema class. - /// - /// 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. - /// The parameters for a single metrics - /// query - public MetricsPostBodySchema(string id, MetricsPostBodySchemaParameters parameters) - { - Id = id; - Parameters = parameters; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the parameters for a single metrics query - /// - [JsonProperty(PropertyName = "parameters")] - public MetricsPostBodySchemaParameters Parameters { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Id == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Id"); - } - if (Parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Parameters"); - } - if (Parameters != null) - { - Parameters.Validate(); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchemaParameters.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchemaParameters.cs deleted file mode 100644 index 0d1b62589f4a..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsPostBodySchemaParameters.cs +++ /dev/null @@ -1,149 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// The parameters for a single metrics query - /// - public partial class MetricsPostBodySchemaParameters - { - /// - /// Initializes a new instance of the MetricsPostBodySchemaParameters - /// class. - /// - public MetricsPostBodySchemaParameters() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsPostBodySchemaParameters - /// class. - /// - /// Possible values include: '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' - public MetricsPostBodySchemaParameters(string metricId, string timespan = default(string), IList aggregation = default(IList), System.TimeSpan? interval = default(System.TimeSpan?), IList segment = default(IList), int? top = default(int?), string orderby = default(string), string filter = default(string)) - { - MetricId = metricId; - Timespan = timespan; - Aggregation = aggregation; - Interval = interval; - Segment = segment; - Top = top; - Orderby = orderby; - Filter = filter; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets possible values include: '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' - /// - [JsonProperty(PropertyName = "metricId")] - public string MetricId { get; set; } - - /// - /// - [JsonProperty(PropertyName = "timespan")] - public string Timespan { get; set; } - - /// - /// - [JsonProperty(PropertyName = "aggregation")] - public IList Aggregation { get; set; } - - /// - /// - [JsonProperty(PropertyName = "interval")] - public System.TimeSpan? Interval { get; set; } - - /// - /// - [JsonProperty(PropertyName = "segment")] - public IList Segment { get; set; } - - /// - /// - [JsonProperty(PropertyName = "top")] - public int? Top { get; set; } - - /// - /// - [JsonProperty(PropertyName = "orderby")] - public string Orderby { get; set; } - - /// - /// - [JsonProperty(PropertyName = "filter")] - public string Filter { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (MetricId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "MetricId"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResult.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResult.cs deleted file mode 100644 index 5d2eca4c2bc6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResult.cs +++ /dev/null @@ -1,49 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// A metric result. - /// - public partial class MetricsResult - { - /// - /// Initializes a new instance of the MetricsResult class. - /// - public MetricsResult() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsResult class. - /// - public MetricsResult(MetricsResultInfo value = default(MetricsResultInfo)) - { - Value = value; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// - [JsonProperty(PropertyName = "value")] - public MetricsResultInfo Value { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultInfo.cs deleted file mode 100644 index 1c05fcdb2b77..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultInfo.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A metric result data. - /// - public partial class MetricsResultInfo - { - /// - /// Initializes a new instance of the MetricsResultInfo class. - /// - public MetricsResultInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsResultInfo class. - /// - /// Unmatched properties from the - /// message are deserialized this collection - /// Start time of the metric. - /// Start time of the metric. - /// The interval used to segment the metric - /// data. - /// Segmented metric data (if - /// segmented). - public MetricsResultInfo(IDictionary additionalProperties = default(IDictionary), System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?), System.TimeSpan? interval = default(System.TimeSpan?), IList segments = default(IList)) - { - AdditionalProperties = additionalProperties; - Start = start; - End = end; - Interval = interval; - Segments = segments; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets unmatched properties from the message are deserialized - /// this collection - /// - [JsonExtensionData] - public IDictionary AdditionalProperties { get; set; } - - /// - /// Gets or sets start time of the metric. - /// - [JsonProperty(PropertyName = "start")] - public System.DateTime? Start { get; set; } - - /// - /// Gets or sets start time of the metric. - /// - [JsonProperty(PropertyName = "end")] - public System.DateTime? End { get; set; } - - /// - /// Gets or sets the interval used to segment the metric data. - /// - [JsonProperty(PropertyName = "interval")] - public System.TimeSpan? Interval { get; set; } - - /// - /// Gets or sets segmented metric data (if segmented). - /// - [JsonProperty(PropertyName = "segments")] - public IList Segments { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultsItem.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultsItem.cs deleted file mode 100644 index 4854ca18c285..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsResultsItem.cs +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - public partial class MetricsResultsItem - { - /// - /// Initializes a new instance of the MetricsResultsItem class. - /// - public MetricsResultsItem() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsResultsItem class. - /// - /// The specified ID for this metric. - /// The HTTP status code of this metric - /// query. - /// The results of this metric query. - public MetricsResultsItem(string id, int status, MetricsResult body) - { - Id = id; - Status = status; - Body = body; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the specified ID for this metric. - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; set; } - - /// - /// Gets or sets the HTTP status code of this metric query. - /// - [JsonProperty(PropertyName = "status")] - public int Status { get; set; } - - /// - /// Gets or sets the results of this metric query. - /// - [JsonProperty(PropertyName = "body")] - public MetricsResult Body { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Id == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Id"); - } - if (Body == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Body"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegment.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegment.cs deleted file mode 100644 index 873e368e9c45..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegment.cs +++ /dev/null @@ -1,36 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - - /// - /// Defines values for MetricsSegment. - /// - public static class MetricsSegment - { - public const string ApplicationBuild = "applicationBuild"; - public const string ApplicationVersion = "applicationVersion"; - public const string AuthenticatedOrAnonymousTraffic = "authenticatedOrAnonymousTraffic"; - public const string Browser = "browser"; - public const string BrowserVersion = "browserVersion"; - public const string City = "city"; - public const string CloudRoleName = "cloudRoleName"; - public const string CloudServiceName = "cloudServiceName"; - public const string Continent = "continent"; - public const string CountryOrRegion = "countryOrRegion"; - public const string DeploymentId = "deploymentId"; - public const string DeploymentUnit = "deploymentUnit"; - public const string DeviceType = "deviceType"; - public const string Environment = "environment"; - public const string HostingLocation = "hostingLocation"; - public const string InstanceName = "instanceName"; - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegmentInfo.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegmentInfo.cs deleted file mode 100644 index ee67de58eb8f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/MetricsSegmentInfo.cs +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A metric segment - /// - public partial class MetricsSegmentInfo - { - /// - /// Initializes a new instance of the MetricsSegmentInfo class. - /// - public MetricsSegmentInfo() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the MetricsSegmentInfo class. - /// - /// Unmatched properties from the - /// message are deserialized this collection - /// Start time of the metric segment (only when an - /// interval was specified). - /// Start time of the metric segment (only when an - /// interval was specified). - /// Segmented metric data (if further - /// segmented). - public MetricsSegmentInfo(IDictionary additionalProperties = default(IDictionary), System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?), IList segments = default(IList)) - { - AdditionalProperties = additionalProperties; - Start = start; - End = end; - Segments = segments; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets unmatched properties from the message are deserialized - /// this collection - /// - [JsonExtensionData] - public IDictionary AdditionalProperties { get; set; } - - /// - /// Gets or sets start time of the metric segment (only when an - /// interval was specified). - /// - [JsonProperty(PropertyName = "start")] - public System.DateTime? Start { get; set; } - - /// - /// Gets or sets start time of the metric segment (only when an - /// interval was specified). - /// - [JsonProperty(PropertyName = "end")] - public System.DateTime? End { get; set; } - - /// - /// Gets or sets segmented metric data (if further segmented). - /// - [JsonProperty(PropertyName = "segments")] - public IList Segments { get; set; } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryBody.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryBody.cs deleted file mode 100644 index 10fe2636ceee..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryBody.cs +++ /dev/null @@ -1,91 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// The Analytics query. Learn more about the [Analytics query - /// syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) - /// - public partial class QueryBody - { - /// - /// Initializes a new instance of the QueryBody class. - /// - public QueryBody() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the QueryBody class. - /// - /// The query to execute. - /// 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. - /// A list of Application IDs for - /// cross-application queries. - public QueryBody(string query, string timespan = default(string), IList applications = default(IList)) - { - Query = query; - Timespan = timespan; - Applications = applications; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the query to execute. - /// - [JsonProperty(PropertyName = "query")] - public string Query { get; set; } - - /// - /// Gets or sets 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. - /// - [JsonProperty(PropertyName = "timespan")] - public string Timespan { get; set; } - - /// - /// Gets or sets a list of Application IDs for cross-application - /// queries. - /// - [JsonProperty(PropertyName = "applications")] - public IList Applications { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Query == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Query"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryResults.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryResults.cs deleted file mode 100644 index 6499270222b3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/QueryResults.cs +++ /dev/null @@ -1,80 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A query response. - /// - /// - /// Contains the tables, columns & rows resulting from a query. - /// - public partial class QueryResults - { - /// - /// Initializes a new instance of the QueryResults class. - /// - public QueryResults() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the QueryResults class. - /// - /// The list of tables, columns and rows. - public QueryResults(IList tables) - { - Tables = tables; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the list of tables, columns and rows. - /// - [JsonProperty(PropertyName = "tables")] - public IList
Tables { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Tables == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Tables"); - } - if (Tables != null) - { - foreach (var element in Tables) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Table.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Table.cs deleted file mode 100644 index b6f5f206255b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/Models/Table.cs +++ /dev/null @@ -1,94 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A query response table. - /// - /// - /// Contains the columns and rows for one table in a query response. - /// - public partial class Table - { - /// - /// Initializes a new instance of the Table class. - /// - public Table() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the Table class. - /// - /// The name of the table. - /// The list of columns in this table. - /// The resulting rows from this query. - public Table(string name, IList columns, IList> rows) - { - Name = name; - Columns = columns; - Rows = rows; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the table. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the list of columns in this table. - /// - [JsonProperty(PropertyName = "columns")] - public IList Columns { get; set; } - - /// - /// Gets or sets the resulting rows from this query. - /// - [JsonProperty(PropertyName = "rows")] - public IList> Rows { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - if (Columns == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Columns"); - } - if (Rows == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Rows"); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperations.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperations.cs deleted file mode 100644 index be4285fadbe6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperations.cs +++ /dev/null @@ -1,237 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Microsoft.Rest; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// QueryOperations operations. - /// - public partial class QueryOperations : IServiceOperations, IQueryOperations - { - /// - /// Initializes a new instance of the QueryOperations class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - public QueryOperations(ApplicationInsightsDataClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the ApplicationInsightsDataClient - /// - public ApplicationInsightsDataClient Client { get; private set; } - - /// - /// Execute an Analytics query - /// - /// - /// 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. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The query to execute. - /// - /// - /// 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. - /// - /// - /// A list of Application IDs for cross-application queries. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ExecuteWithHttpMessagesAsync(string appId, string query, string timespan = default(string), IList applications = default(IList), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (appId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "appId"); - } - if (query == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "query"); - } - QueryBody body = new QueryBody(); - if (query != null || timespan != null || applications != null) - { - body.Query = query; - body.Timespan = timespan; - body.Applications = applications; - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("appId", appId); - tracingParameters.Add("body", body); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Execute", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apps/{appId}/query").ToString(); - _url = _url.Replace("{appId}", System.Uri.EscapeDataString(appId)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(body != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new HttpOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperationsExtensions.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperationsExtensions.cs deleted file mode 100644 index b056b6b2d48c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/QueryOperationsExtensions.cs +++ /dev/null @@ -1,93 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for QueryOperations. - /// - public static partial class QueryOperationsExtensions - { - /// - /// Execute an Analytics query - /// - /// - /// 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. - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The query to execute. - /// - /// - /// 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. - /// - /// - /// A list of Application IDs for cross-application queries. - /// - public static QueryResults Execute(this IQueryOperations operations, string appId, string query, string timespan = default(string), IList applications = default(IList)) - { - return operations.ExecuteAsync(appId, query, timespan, applications).GetAwaiter().GetResult(); - } - - /// - /// Execute an Analytics query - /// - /// - /// 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. - /// - /// - /// The operations group for this extension method. - /// - /// - /// ID of the application. This is Application ID from the API Access settings - /// blade in the Azure portal. - /// - /// - /// The query to execute. - /// - /// - /// 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. - /// - /// - /// A list of Application IDs for cross-application queries. - /// - /// - /// The cancellation token. - /// - public static async Task ExecuteAsync(this IQueryOperations operations, string appId, string query, string timespan = default(string), IList applications = default(IList), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ExecuteWithHttpMessagesAsync(appId, query, timespan, applications, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/SdkInfo_ApplicationInsightsDataClient.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/SdkInfo_ApplicationInsightsDataClient.cs deleted file mode 100644 index 690be7cf7f1f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Generated/SdkInfo_ApplicationInsightsDataClient.cs +++ /dev/null @@ -1,29 +0,0 @@ - -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.ApplicationInsights.Query -{ - using System; - using System.Collections.Generic; - using System.Linq; - - internal static partial class SdkInfo - { - public static IEnumerable> ApiInfo_ApplicationInsightsDataClient - { - get - { - return new Tuple[] - { - new Tuple("ApplicationInsightsDataClient", "Events", "v1"), - new Tuple("ApplicationInsightsDataClient", "Metrics", "v1"), - new Tuple("ApplicationInsightsDataClient", "Query", "v1"), - }.AsEnumerable(); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Microsoft.Azure.ApplicationInsights.Query.csproj b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Microsoft.Azure.ApplicationInsights.Query.csproj deleted file mode 100644 index b8197c8ee4a0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/Microsoft.Azure.ApplicationInsights.Query.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - Microsoft Azure Application Insights Data Library" - Provides Microsoft Azure Application Insights data plane query operations operations. - 1.1.0-beta.1 - 1.0.0 - ApplicationInsights; - This is a public release of the Application Insights Data SDK. - - - $(RequiredTargetFrameworks) - Microsoft.Azure.ApplicationInsights.Query - - - - - - diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/generate.cmd b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/generate.cmd deleted file mode 100644 index a305bb96cdf1..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/src/generate.cmd +++ /dev/null @@ -1,7 +0,0 @@ -:: -:: Microsoft Azure SDK for Net - Generate library code -:: Copyright (C) Microsoft Corporation. All Rights Reserved. -:: - -@echo off -call %~dp0..\..\..\..\tools\generate.cmd applicationinsights/data-plane %* diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/Data.ApplicationInsights.Tests.csproj b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/Data.ApplicationInsights.Tests.csproj deleted file mode 100644 index 871832b942b8..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/Data.ApplicationInsights.Tests.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - Data.ApplicationInsights.Tests Class library - Data ApplicationInsights Tests - 1.0.0 - true - $(RequiredTargetFrameworks) - - - - - PreserveNewest - - - - - - - - - - - - diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/DataPlaneTestBase.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/DataPlaneTestBase.cs deleted file mode 100644 index 6c6aca8b2bda..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/DataPlaneTestBase.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.Test.HttpRecorder; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using System; - -namespace Data.ApplicationInsights.Tests -{ - public abstract class DataPlaneTestBase - { - protected const string DefaultAppId = "DEMO_APP"; - protected const string DefaultApiKey = "DEMO_KEY"; - - protected ApplicationInsightsDataClient GetClient(MockContext ctx, string appId = DefaultAppId, string apiKey = DefaultApiKey) - { - var credentials = new ApiKeyClientCredentials(apiKey); - var client = new ApplicationInsightsDataClient(credentials, HttpMockServer.CreateInstance()); - client.BaseUri = new Uri("https://api.applicationinsights.io/v1"); - - return client; - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsExtensionTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsExtensionTests.cs deleted file mode 100644 index 9e4ab2c2cdf0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsExtensionTests.cs +++ /dev/null @@ -1,289 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Data.ApplicationInsights.Tests.Events; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Newtonsoft.Json; -using Xunit; - -namespace Data.ApplicationInsights.Tests.ScenarioTests.Events -{ - public class EventsExtensionTests : EventsTestBase - { - [Theory] - [MemberData(nameof(TraceDataAsync))] - [MemberData(nameof(CustomEventsDataAsync))] - [MemberData(nameof(PageViewsDataAsync))] - [MemberData(nameof(BrowserTimingsDataAsync))] - [MemberData(nameof(RequestsDataAsync))] - [MemberData(nameof(DependenciesDataAsync))] - [MemberData(nameof(ExceptionsDataAsync))] - [MemberData(nameof(AvailabilityResultsDataAsync))] - [MemberData(nameof(PerformanceCountersDataAsync))] - [MemberData(nameof(CustomMetricsDataAsync))] - public async Task GetEventsAsync(string eventType, MultiQueryAsync multiQueryAsync, SingleQueryAsync singleQueryAsync) where T : EventsResultData - { - using (var ctx = MockContext.Start(this.GetType(), $"GetByTypeAsync.{eventType}")) - { - var timespan = "P1D"; - var top = 1; - - var client = GetClient(ctx); - var events = await multiQueryAsync(client, timespan, top); - - Assert.NotNull(events); - Assert.NotNull(events.Value); - Assert.True(events.Value.Count >= 0); - Assert.True(events.Value.Count <= top); - - foreach (var e in events.Value) - { - AssertEvent(e, eventType); - } - - Assert.True(!string.IsNullOrEmpty(events.Value[0].Id)); - - var evnt = await singleQueryAsync(client, events.Value[0].Id, timespan); - - Assert.NotNull(evnt); - Assert.NotNull(evnt.Value); - Assert.True(evnt.Value.Count == 1); - - Assert.Equal(JsonConvert.SerializeObject(evnt.Value[0]), - JsonConvert.SerializeObject(events.Value[0])); - } - } - - [Theory] - [MemberData(nameof(TraceData))] - [MemberData(nameof(CustomEventsData))] - [MemberData(nameof(PageViewsData))] - [MemberData(nameof(BrowserTimingsData))] - [MemberData(nameof(RequestsData))] - [MemberData(nameof(DependenciesData))] - [MemberData(nameof(ExceptionsData))] - [MemberData(nameof(AvailabilityResultsData))] - [MemberData(nameof(PerformanceCountersData))] - [MemberData(nameof(CustomMetricsData))] - public void GetByType(string eventType, MultiQuery multiQuery, SingleQuery singleQuery) where T : EventsResultData - { - using (var ctx = MockContext.Start(this.GetType(), $"GetByType.{eventType}")) - { - var timespan = "P1D"; - var top = 10; - - var client = GetClient(ctx); - var events = multiQuery(client, timespan, top); - - Assert.NotNull(events); - Assert.NotNull(events.Value); - Assert.True(events.Value.Count >= 0); - Assert.True(events.Value.Count <= top); - - foreach (var e in events.Value) - { - AssertEvent(e, eventType); - } - - Assert.True(!string.IsNullOrEmpty(events.Value[0].Id)); - - var evnt = singleQuery(client, events.Value[0].Id, timespan); - - Assert.NotNull(evnt); - Assert.NotNull(evnt.Value); - Assert.True(evnt.Value.Count == 1); - - Assert.Equal(JsonConvert.SerializeObject(evnt.Value[0]), - JsonConvert.SerializeObject(events.Value[0])); - } - } - - public delegate Task> MultiQueryAsync(ApplicationInsightsDataClient client, string timespan, int top) where T : EventsResultData; - public delegate Task> SingleQueryAsync(ApplicationInsightsDataClient client, string id, string timespan) where T : EventsResultData; - - public delegate EventsResults MultiQuery(ApplicationInsightsDataClient client, string timespan, int top) where T : EventsResultData; - public delegate EventsResults SingleQuery(ApplicationInsightsDataClient client, string id, string timespan) where T : EventsResultData; - - private static readonly object[] TraceParamsAsync = new object[] - { - EventType.Traces, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetTraceEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetTraceEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] CustomEventsParamsAsync = new object[] - { - EventType.CustomEvents, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetCustomEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetCustomEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] PageViewsParamsAsync = new object[] - { - EventType.PageViews, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetPageViewEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetPageViewEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] BrowserTimingsParamsAsync = new object[] - { - EventType.BrowserTimings, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetBrowserTimingEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetBrowserTimingEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] RequestsParamsAsync = new object[] - { - EventType.Requests, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetRequestEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetRequestEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] DependenciesParamsAsync = new object[] - { - EventType.Dependencies, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetDependencyEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetDependencyEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] ExceptionsParamsAsync = new object[] - { - EventType.Exceptions, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetExceptionEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetExceptionEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] AvailabilityResultsParamsAsync = new object[] - { - EventType.AvailabilityResults, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetAvailabilityResultEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetAvailabilityResultEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] PerformanceCountersParamsAsync = new object[] - { - EventType.PerformanceCounters, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetPerformanceCounterEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetPerformanceCounterEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] CustomMetricsParamsAsync = new object[] - { - EventType.CustomMetrics, - new MultiQueryAsync(async (client, timespan, top) => await client.Events.GetCustomMetricEventsAsync(DefaultAppId, timespan, top: top)), - new SingleQueryAsync(async (client, id, timespan) => await client.Events.GetCustomMetricEventAsync(DefaultAppId, id, timespan)), - }; - - private static readonly object[] TraceParams = new object[] - { - EventType.Traces, - new MultiQuery((client, timespan, top) => client.Events.GetTraceEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetTraceEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] CustomEventsParams = new object[] - { - EventType.CustomEvents, - new MultiQuery((client, timespan, top) => client.Events.GetCustomEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetCustomEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] PageViewsParams = new object[] - { - EventType.PageViews, - new MultiQuery((client, timespan, top) => client.Events.GetPageViewEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetPageViewEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] BrowserTimingsParams = new object[] - { - EventType.BrowserTimings, - new MultiQuery((client, timespan, top) => client.Events.GetBrowserTimingEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetBrowserTimingEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] RequestsParams = new object[] - { - EventType.Requests, - new MultiQuery((client, timespan, top) => client.Events.GetRequestEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetRequestEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] DependenciesParams = new object[] - { - EventType.Dependencies, - new MultiQuery((client, timespan, top) => client.Events.GetDependencyEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetDependencyEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] ExceptionsParams = new object[] - { - EventType.Exceptions, - new MultiQuery((client, timespan, top) => client.Events.GetExceptionEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetExceptionEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] AvailabilityResultsParams = new object[] - { - EventType.AvailabilityResults, - new MultiQuery((client, timespan, top) => client.Events.GetAvailabilityResultEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetAvailabilityResultEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] PerformanceCountersParams = new object[] - { - EventType.PerformanceCounters, - new MultiQuery((client, timespan, top) => client.Events.GetPerformanceCounterEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetPerformanceCounterEvent(DefaultAppId, id, timespan)), - }; - - private static readonly object[] CustomMetricsParams = new object[] - { - EventType.CustomMetrics, - new MultiQuery((client, timespan, top) => client.Events.GetCustomMetricEvents(DefaultAppId, timespan, top: top)), - new SingleQuery((client, id, timespan) => client.Events.GetCustomMetricEvent(DefaultAppId, id, timespan)), - }; - - public static IEnumerable TraceDataAsync { get { yield return TraceParamsAsync; } } - - public static IEnumerable CustomEventsDataAsync { get { yield return CustomEventsParamsAsync; } } - - public static IEnumerable PageViewsDataAsync { get { yield return PageViewsParamsAsync; } } - - public static IEnumerable BrowserTimingsDataAsync { get { yield return BrowserTimingsParamsAsync; } } - - public static IEnumerable RequestsDataAsync { get { yield return RequestsParamsAsync; } } - - public static IEnumerable DependenciesDataAsync { get { yield return DependenciesParamsAsync; } } - - public static IEnumerable ExceptionsDataAsync { get { yield return ExceptionsParamsAsync; } } - - public static IEnumerable AvailabilityResultsDataAsync { get { yield return AvailabilityResultsParamsAsync; } } - - public static IEnumerable PerformanceCountersDataAsync { get { yield return PerformanceCountersParamsAsync; } } - - public static IEnumerable CustomMetricsDataAsync { get { yield return CustomMetricsParamsAsync; } } - - public static IEnumerable TraceData { get { yield return TraceParams; } } - - public static IEnumerable CustomEventsData { get { yield return CustomEventsParams; } } - - public static IEnumerable PageViewsData { get { yield return PageViewsParams; } } - - public static IEnumerable BrowserTimingsData { get { yield return BrowserTimingsParams; } } - - public static IEnumerable RequestsData { get { yield return RequestsParams; } } - - public static IEnumerable DependenciesData { get { yield return DependenciesParams; } } - - public static IEnumerable ExceptionsData { get { yield return ExceptionsParams; } } - - public static IEnumerable AvailabilityResultsData { get { yield return AvailabilityResultsParams; } } - - public static IEnumerable PerformanceCountersData { get { yield return PerformanceCountersParams; } } - - public static IEnumerable CustomMetricsData { get { yield return CustomMetricsParams; } } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTestBase.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTestBase.cs deleted file mode 100644 index 46cf57e20801..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTestBase.cs +++ /dev/null @@ -1,256 +0,0 @@ -using System.Collections.Generic; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Newtonsoft.Json; -using Xunit; - -namespace Data.ApplicationInsights.Tests.Events -{ - public class EventsTestBase : DataPlaneTestBase - { - protected string GetEventType(EventsResultData evnt) - { - if (evnt is EventsTraceResult) return EventType.Traces; - else if (evnt is EventsCustomEventResult) return EventType.CustomEvents; - else if (evnt is EventsPageViewResult) return EventType.PageViews; - else if (evnt is EventsBrowserTimingResult) return EventType.BrowserTimings; - else if (evnt is EventsRequestResult) return EventType.Requests; - else if (evnt is EventsDependencyResult) return EventType.Dependencies; - else if (evnt is EventsExceptionResult) return EventType.Exceptions; - else if (evnt is EventsAvailabilityResultResult) return EventType.AvailabilityResults; - else if (evnt is EventsPerformanceCounterResult) return EventType.PerformanceCounters; - else if (evnt is EventsCustomMetricResult) return EventType.CustomMetrics; - - return null; - } - - protected void AssertEvent(EventsResultData evnt, string expectedType) - { - Assert.NotNull(evnt); - Assert.True(!string.IsNullOrEmpty(evnt.Id)); - - if (expectedType != EventType.PerformanceCounters && expectedType != EventType.CustomMetrics) - { - Assert.True(evnt.Count > 0); - } - - Assert.NotNull(evnt.Timestamp); - // CustomDimensions & CustomMeasurements can be null - if (evnt.CustomDimensions != null && evnt.CustomDimensions.TryGetValue("ProcessId", out var customDimensionsValue)) { - Assert.False(string.IsNullOrWhiteSpace(customDimensionsValue)); - } - if (evnt.CustomMeasurements != null && evnt.CustomMeasurements.TryGetValue("FirstChanceExceptions", out var customMeasurementsValue)) { - Assert.False(string.IsNullOrWhiteSpace(customMeasurementsValue)); - } - - // Operation - if (expectedType != EventType.CustomEvents && expectedType != EventType.PageViews && - expectedType != EventType.BrowserTimings && expectedType != EventType.AvailabilityResults && - expectedType != EventType.Exceptions && expectedType != EventType.CustomMetrics && - expectedType != EventType.PerformanceCounters) - { - Assert.NotNull(evnt.Operation); - Assert.False(string.IsNullOrWhiteSpace(evnt.Operation.Id)); - Assert.False(string.IsNullOrWhiteSpace(evnt.Operation.ParentId)); - // Name & SyntheticSource can be null - } - - // Session - Assert.NotNull(evnt.Session); - // Id can be null - - // User - Assert.NotNull(evnt.User); - // Id, AccountId & AuthenticatedId can be null - - // Cloud - Assert.NotNull(evnt.Cloud); - // RoleName & RoleInstance can be null - - // AI - Assert.NotNull(evnt.Ai); - Assert.False(string.IsNullOrWhiteSpace(evnt.Ai.IKey)); - Assert.False(string.IsNullOrWhiteSpace(evnt.Ai.AppName)); - Assert.False(string.IsNullOrWhiteSpace(evnt.Ai.AppId)); - // SdkVersion can be null - - // Application - Assert.NotNull(evnt.Application); - // Version can be null - - // Client - Assert.NotNull(evnt.Client); - Assert.False(string.IsNullOrWhiteSpace(evnt.Client.Type)); - Assert.False(string.IsNullOrWhiteSpace(evnt.Client.Ip)); - // All other client fields can be empty - - switch (expectedType) - { - case EventType.Traces: - VerifyTrace(evnt); - break; - case EventType.CustomEvents: - VerifyCustomEvent(evnt); - break; - case EventType.PageViews: - VerifyPageView(evnt); - break; - case EventType.BrowserTimings: - VerifyBrowserTiming(evnt); - break; - case EventType.Requests: - VerifyRequest(evnt); - break; - case EventType.Dependencies: - VerifyDependency(evnt); - break; - case EventType.Exceptions: - VerifyException(evnt); - break; - case EventType.AvailabilityResults: - VerifyAvailabilityResult(evnt); - break; - case EventType.PerformanceCounters: - VerifyPerformanceCounter(evnt); - break; - case EventType.CustomMetrics: - VerifyCustomMetric(evnt); - break; - default: - Assert.True(false, $"Don't have verification method for EventType {evnt.GetType()}"); - break; - } - } - - protected void VerifyTrace(EventsResultData evnt) - { - Assert.True(evnt is EventsTraceResult); - var trace = evnt as EventsTraceResult; - Assert.NotNull(trace.Trace); - Assert.False(string.IsNullOrWhiteSpace(trace.Trace.Message)); - Assert.True(trace.Trace.SeverityLevel >= 0 && trace.Trace.SeverityLevel <= 5); - } - - protected void VerifyCustomEvent(EventsResultData evnt) - { - Assert.True(evnt is EventsCustomEventResult); - var customEvent = evnt as EventsCustomEventResult; - Assert.NotNull(customEvent.CustomEvent); - Assert.False(string.IsNullOrWhiteSpace(customEvent.CustomEvent.Name)); - } - - protected void VerifyPageView(EventsResultData evnt) - { - Assert.True(evnt is EventsPageViewResult); - var pageView = evnt as EventsPageViewResult; - Assert.NotNull(pageView.PageView); - Assert.False(string.IsNullOrWhiteSpace(pageView.PageView.Name)); - // All other page view fields can be null - } - - protected void VerifyBrowserTiming(EventsResultData evnt) - { - Assert.True(evnt is EventsBrowserTimingResult); - var browserTiming = evnt as EventsBrowserTimingResult; - - Assert.NotNull(browserTiming.BrowserTiming); - Assert.False(string.IsNullOrWhiteSpace(browserTiming.BrowserTiming.Name)); - Assert.False(string.IsNullOrWhiteSpace(browserTiming.BrowserTiming.Url)); - Assert.True(browserTiming.BrowserTiming.TotalDuration >= 0); - Assert.False(string.IsNullOrWhiteSpace(browserTiming.BrowserTiming.PerformanceBucket)); - Assert.True(browserTiming.BrowserTiming.NetworkDuration >= 0); - Assert.True(browserTiming.BrowserTiming.SendDuration >= 0); - Assert.True(browserTiming.BrowserTiming.ReceiveDuration >= 0); - Assert.True(browserTiming.BrowserTiming.ProcessingDuration >= 0); - } - - protected void VerifyRequest(EventsResultData evnt) - { - Assert.True(evnt is EventsRequestResult); - var request = evnt as EventsRequestResult; - Assert.NotNull(request.Request); - Assert.False(string.IsNullOrWhiteSpace(request.Request.Name)); - Assert.False(string.IsNullOrWhiteSpace(request.Request.Url)); - Assert.False(string.IsNullOrWhiteSpace(request.Request.Success)); - Assert.True(request.Request.Duration >= 0); - Assert.False(string.IsNullOrWhiteSpace(request.Request.PerformanceBucket)); - Assert.False(string.IsNullOrWhiteSpace(request.Request.ResultCode)); - Assert.False(string.IsNullOrWhiteSpace(request.Request.Id)); - // Source can be null - } - - protected void VerifyDependency(EventsResultData evnt) - { - Assert.True(evnt is EventsDependencyResult); - var dependency = evnt as EventsDependencyResult; - Assert.NotNull(dependency.Dependency); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Target)); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Data)); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Success)); - Assert.True(dependency.Dependency.Duration >= 0); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.PerformanceBucket)); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Type)); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Name)); - Assert.False(string.IsNullOrWhiteSpace(dependency.Dependency.Id)); - // ResultCode can be null - } - - protected void VerifyException(EventsResultData evnt) - { - Assert.True(evnt is EventsExceptionResult); - var exception = evnt as EventsExceptionResult; - Assert.NotNull(exception.Exception); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.ProblemId)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Assembly)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Type)); - Assert.NotNull(exception.Exception.Details); - Assert.True(exception.Exception.Details.Count >= 0); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].Id)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].OuterId)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].Type)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].Message)); - Assert.NotNull(exception.Exception.Details[0].ParsedStack); - Assert.True(exception.Exception.Details[0].ParsedStack.Count >= 0); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].ParsedStack[0].Assembly)); - Assert.False(string.IsNullOrWhiteSpace(exception.Exception.Details[0].ParsedStack[0].Method)); - Assert.True(exception.Exception.Details[0].ParsedStack[0].Level >= 0); - Assert.True(exception.Exception.Details[0].ParsedStack[0].Line >= 0); - // SeverityLevel, HandledAt, Message, Outer* & Inner* can be null - } - - protected void VerifyAvailabilityResult(EventsResultData evnt) - { - Assert.True(evnt is EventsAvailabilityResultResult); - var availabilityResult = evnt as EventsAvailabilityResultResult; - Assert.NotNull(availabilityResult.AvailabilityResult); - Assert.False(string.IsNullOrWhiteSpace(availabilityResult.AvailabilityResult.Name)); - Assert.False(string.IsNullOrWhiteSpace(availabilityResult.AvailabilityResult.Success)); - Assert.True(availabilityResult.AvailabilityResult.Duration >= 0); - Assert.False(string.IsNullOrWhiteSpace(availabilityResult.AvailabilityResult.Message)); - Assert.False(string.IsNullOrWhiteSpace(availabilityResult.AvailabilityResult.Location)); - Assert.False(string.IsNullOrWhiteSpace(availabilityResult.AvailabilityResult.Id)); - // PerformanceBucket & Size can be null - } - - protected void VerifyPerformanceCounter(EventsResultData evnt) - { - Assert.True(evnt is EventsPerformanceCounterResult); - var customEvent = evnt as EventsPerformanceCounterResult; - Assert.NotNull(customEvent.PerformanceCounter); - // Value can be any int value - Assert.False(string.IsNullOrWhiteSpace(customEvent.PerformanceCounter.Name)); - Assert.False(string.IsNullOrWhiteSpace(customEvent.PerformanceCounter.Category)); - Assert.False(string.IsNullOrWhiteSpace(customEvent.PerformanceCounter.Counter)); - Assert.NotNull(customEvent.PerformanceCounter.Instance); - // InstanceName can be null - } - - protected void VerifyCustomMetric(EventsResultData evnt) - { - Assert.True(evnt is EventsCustomMetricResult); - var customEvent = evnt as EventsCustomMetricResult; - Assert.NotNull(customEvent.CustomMetric); - Assert.False(string.IsNullOrWhiteSpace(customEvent.CustomMetric.Name)); - // The other values can be any int value - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTests.cs deleted file mode 100644 index b82649fe7211..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/EventsTests.cs +++ /dev/null @@ -1,74 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using System; -using System.Threading.Tasks; -using Xunit; - -namespace Data.ApplicationInsights.Tests.Events -{ - public class EventsTests : EventsTestBase - { - private const int TopCount = 10; - private readonly string Timespan = "P1D"; - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetAllEvents() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var client = GetClient(ctx); - var events = await client.Events.GetByTypeAsync(DefaultAppId, EventType.All, timespan: Timespan, top: TopCount); - - Assert.NotNull(events); - Assert.NotNull(events.Value); - Assert.True(events.Value.Count <= TopCount); - - foreach (var evnt in events.Value) - { - var eventType = GetEventType(evnt); - if (eventType != null) continue; // This means there is a new type that we don't support here yet - AssertEvent(evnt, eventType); - } - } - } - - [Theory(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - [InlineData(EventType.Traces)] - [InlineData(EventType.CustomEvents)] - [InlineData(EventType.PageViews)] - [InlineData(EventType.BrowserTimings)] - [InlineData(EventType.Requests)] - [InlineData(EventType.Dependencies)] - [InlineData(EventType.Exceptions)] - [InlineData(EventType.AvailabilityResults)] - [InlineData(EventType.PerformanceCounters)] - [InlineData(EventType.CustomMetrics)] - public async Task GetEventsByType(string eventType) - { - using (var ctx = MockContext.Start(this.GetType(), $"GetByType.{eventType}")) - { - var client = GetClient(ctx); - var traces = await client.Events.GetByTypeAsync(DefaultAppId, eventType, timespan: Timespan, top: TopCount); - - Assert.NotNull(traces); - Assert.NotNull(traces.Value); - Assert.True(traces.Value.Count <= TopCount); - - var evnt = traces.Value[0]; - - AssertEvent(evnt, eventType); - - traces = await client.Events.GetAsync(DefaultAppId, eventType, evnt.Id); - - Assert.NotNull(traces); - Assert.NotNull(traces.Value); - Assert.Equal(1, traces.Value.Count); - - evnt = traces.Value[0]; - - AssertEvent(evnt, eventType); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/TraceEventsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/TraceEventsTests.cs deleted file mode 100644 index 598369330d19..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Events/TraceEventsTests.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Newtonsoft.Json; -using Xunit; -using System; - -namespace Data.ApplicationInsights.Tests.Events -{ - public class TraceEventsTests : EventsTestBase - { - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetTraceEvents() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var timespan = "PT12H"; - var top = 10; - - var client = GetClient(ctx); - var events = await client.Events.GetTraceEventsAsync(DefaultAppId, timespan, top: top); - - Assert.NotNull(events); - Assert.NotNull(events.Value); - Assert.True(events.Value.Count > 0); - Assert.True(events.Value.Count <= top); - - foreach (var e in events.Value) - { - AssertEvent(e, EventType.Traces); - } - - Assert.True(!string.IsNullOrEmpty(events.Value[0].Id)); - - var evnt = await client.Events.GetTraceEventAsync(DefaultAppId, events.Value[0].Id, timespan); - - Assert.NotNull(evnt); - Assert.NotNull(evnt.Value); - Assert.True(evnt.Value.Count == 1); - - Assert.Equal(JsonConvert.SerializeObject(evnt.Value[0]), - JsonConvert.SerializeObject(events.Value[0])); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledMetricsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledMetricsTests.cs deleted file mode 100644 index a037a83b72e9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledMetricsTests.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Xunit; -using System; - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class IntervaledMetricsTests : MetricsTestBase - { - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetIntervaledMetrics() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { MetricsAggregation.Avg }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - AssertMetrics(inter, true, false, false, false, false); - } - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetIntervaledMetrics_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - AssertMetrics(inter, true, true, true, true, true); - } - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledSegmentedMetricsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledSegmentedMetricsTests.cs deleted file mode 100644 index ecbf0109c0b9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/IntervaledSegmentedMetricsTests.cs +++ /dev/null @@ -1,179 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Xunit; - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class IntervaledSegmentedMetricsTests : MetricsTestBase - { - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetIntervaledSegmentedMetrics() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { MetricsAggregation.Avg }; - var segments = new[] { "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledSegmentedMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation, segments); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - Assert.True(inter.Segments.Count > 0); - - foreach (var segment in inter.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment.GetType()); - var seg = segment as MetricsSegmentedData; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - AssertMetrics(seg, true, false, false, false, false); - } - } - } - } - - [Fact(Skip = "true")] // This API call is failing with a 500 for some reason - public async Task GetIntervaledSegmentedMetrics_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - var segments = new[] { "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledSegmentedMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation, segments); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - Assert.True(inter.Segments.Count > 0); - - foreach (var segment in inter.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment.GetType()); - var seg = segment as MetricsSegmentedData; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - AssertMetrics(seg, true, true, true, true, true); - } - } - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetIntervaledMultiSegmentedMetrics() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { MetricsAggregation.Avg }; - var segments = new[] { "request/name", "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledSegmentedMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation, segments); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - Assert.True(inter.Segments.Count > 0); - - foreach (var segment in inter.Segments) - { - Assert.Equal(typeof(MetricsNestedSegment), segment.GetType()); - var seg = segment as MetricsNestedSegment; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - - foreach (var segment2 in seg.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment2.GetType()); - var seg2 = segment2 as MetricsSegmentedData; - Assert.NotNull(seg2); - Assert.Equal(segments[1], seg2.SegmentId); - Assert.NotNull(seg2.SegmentValue); - AssertMetrics(seg2, true, false, false, false, false); - } - } - } - } - } - - [Fact(Skip = "true")] // This API call is failing with a 500 for some reason - public async Task GetIntervaledMultiSegmentedMetrics_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var interval = new TimeSpan(1, 0, 0); - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - var segments = new[] { "request/name", "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetIntervaledSegmentedMetricAsync(DefaultAppId, metricId, timespan, interval, aggregation, segments); - - Assert.Equal(interval, metric.Interval); - Assert.Equal(13, metric.Intervals.Count); // Actually 13 because of time rounding, I suppose - - foreach (var inter in metric.Intervals) - { - Assert.True(inter.Segments.Count > 0); - - foreach (var segment in inter.Segments) - { - Assert.Equal(typeof(MetricsNestedSegment), segment.GetType()); - var seg = segment as MetricsNestedSegment; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - - foreach (var segment2 in seg.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment2.GetType()); - var seg2 = segment2 as MetricsSegmentedData; - Assert.NotNull(seg2); - Assert.Equal(segments[1], seg2.SegmentId); - Assert.NotNull(seg2.SegmentValue); - AssertMetrics(seg2, true, true, true, true, true); - } - } - } - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricTests.cs deleted file mode 100644 index da3826a8f225..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricTests.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Xunit; -using System.Runtime.Serialization; -using System; - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class MetricTests : MetricsTestBase - { - [Theory(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - [MemberData(nameof(AggregatedMetric))] - [MemberData(nameof(AggregatedIntervalMetric))] - [MemberData(nameof(AggregatedSegmentMetric))] - [MemberData(nameof(AggregatedIntervalSegmentMetric))] - [MemberData(nameof(AggregatedIntervalMultiSegmentMetric))] - public async Task GetMetrics(MetricsPostBodySchema metric, bool hasInterval, bool isSegmented) - { - using (var ctx = MockContext.Start(this.GetType(), $"GetMetrics.{metric.Id}")) - { - var metricRequest = new List - { - metric - }; - - var client = GetClient(ctx); - var metrics = await client.Metrics.GetMultipleAsync(DefaultAppId, metricRequest); - - Assert.NotNull(metrics); - Assert.Equal(1, metrics.Count); - - VerifyMetric(metric, metrics[0], hasInterval, isSegmented); - } - } - - private void VerifyMetric(MetricsPostBodySchema expected, MetricsResultsItem actual, bool hasInterval = false, bool isSegmented = false) - { - Assert.Equal(expected.Id, actual.Id); - Assert.Equal(200, actual.Status); - - string metricId = null; - Dictionary metricValues = null; - - var segmentInfo = new List>(); - - metricId = actual.Body.Value.MetricId; - metricValues = actual.Body.Value.MetricValues; - - MetricsSegmentInfo info = actual.Body.Value.Segments != null ? actual.Body.Value.Segments[0] : null; - while (info != null) - { - metricId = info.MetricId; - metricValues = info.MetricValues; - - if (info.SegmentId != null) - { - segmentInfo.Add(new KeyValuePair(info.SegmentId, info.SegmentValue)); - } - - info = info.Segments != null ? info.Segments[0] : null; - } - - // Check that the interval field is set appropriately - if (hasInterval) - { - Assert.NotNull(actual.Body.Value.Interval); - } - else - { - Assert.Null(actual.Body.Value.Interval); - } - - // Check that the segmentation fields are set appropriately - if (!isSegmented) - { - Assert.Empty(segmentInfo); - } - else - { - for (var i = 0; i < expected.Parameters.Segment.Count; i++) - { - var segmentName = expected.Parameters.Segment[i]; - Assert.Equal(segmentName, segmentInfo[i].Key); - Assert.NotNull(segmentInfo[i].Value); - } - } - - // Check that the metric fields are set appropriately - Assert.Equal(expected.Parameters.MetricId, metricId); - Assert.Equal(expected.Parameters.Aggregation.Count, metricValues.Count); - foreach (var aggregation in expected.Parameters.Aggregation) - { - Assert.True(metricValues.ContainsKey(aggregation)); - Assert.NotEqual(float.MinValue, metricValues[aggregation]); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricsTestBase.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricsTestBase.cs deleted file mode 100644 index f42e82957410..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/MetricsTestBase.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using System.Collections.Generic; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Xunit; - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class MetricsTestBase : DataPlaneTestBase - { - static object[] AggregatedMetricData = new object[] { - new MetricsPostBodySchema { - Id = nameof(AggregatedMetric), - Parameters = new MetricsPostBodySchemaParameters - { - MetricId = "requests/duration", - Aggregation = new List { MetricsAggregation.Avg }, - Timespan = "PT12H" - } - }, - false, - false - }; - - static object[] AggregatedIntervalMetricData = new object[] { - new MetricsPostBodySchema - { - Id = nameof(AggregatedIntervalMetric), - Parameters = new MetricsPostBodySchemaParameters - { - MetricId = "requests/duration", - Aggregation = new List { MetricsAggregation.Avg }, - Timespan = "PT12H", - Interval = new TimeSpan(3, 0, 0) - } - }, - true, - false - }; - - static object[] AggregatedSegmentMetricData = new object[] { - new MetricsPostBodySchema - { - Id = nameof(AggregatedSegmentMetric), - Parameters = new MetricsPostBodySchemaParameters - { - MetricId = "requests/duration", - Aggregation = new List { MetricsAggregation.Avg }, - Timespan = "PT12H", - Segment = new[] { "request/name" } - } - }, - false, - true - }; - - static object[] AggregatedIntervalSegmentMetricData = new object[] { - new MetricsPostBodySchema - { - Id = nameof(AggregatedIntervalSegmentMetric), - Parameters = new MetricsPostBodySchemaParameters - { - MetricId = "requests/duration", - Aggregation = new List { MetricsAggregation.Avg }, - Timespan = "PT12H", - Interval = new TimeSpan(3, 0, 0), - Segment = new[] { "request/name" } - } - }, - true, - true - }; - - static object[] AggregatedIntervalMultiSegmentMetricData = new object[] { - new MetricsPostBodySchema - { - Id = nameof(AggregatedIntervalMultiSegmentMetric), - Parameters = new MetricsPostBodySchemaParameters - { - MetricId = "requests/duration", - Aggregation = new List { MetricsAggregation.Avg }, - Timespan = "PT12H", - Interval = new TimeSpan(3, 0, 0), - Segment = new[] { "request/name", "request/success" } - } - }, - true, - true - }; - - public static IEnumerable AggregatedMetric - { - get - { - yield return AggregatedMetricData; - } - } - - public static IEnumerable AggregatedIntervalMetric - { - get - { - yield return AggregatedIntervalMetricData; - } - } - - public static IEnumerable AggregatedSegmentMetric - { - get - { - yield return AggregatedSegmentMetricData; - } - } - - public static IEnumerable AggregatedIntervalSegmentMetric - { - get - { - yield return AggregatedIntervalSegmentMetricData; - } - } - - public static IEnumerable AggregatedIntervalMultiSegmentMetric - { - get - { - yield return AggregatedIntervalMultiSegmentMetricData; - } - } - - protected void AssertMetrics(IMetricData metric, bool hasAverage, bool hasCount, bool hasMax, bool hasMin, bool hasSum) - { - Assert.Equal(hasAverage, metric.Average.HasValue); - Assert.Equal(hasCount, metric.Count.HasValue); - Assert.Equal(hasMax, metric.Max.HasValue); - Assert.Equal(hasMin, metric.Min.HasValue); - Assert.Equal(hasSum, metric.Sum.HasValue); - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SegmentedMetricsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SegmentedMetricsTests.cs deleted file mode 100644 index 4726f8c1d988..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SegmentedMetricsTests.cs +++ /dev/null @@ -1,152 +0,0 @@ -using System; -using System.Threading.Tasks; -using System.Collections.Generic; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Xunit; - - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class SegmentedMetricsTests : MetricsTestBase - { - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetSegmentedMetrics() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { MetricsAggregation.Avg }; - var segments = new[] { "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetSegmentedMetricAsync(DefaultAppId, metricId, timespan, aggregation, segments); - - Assert.True(metric.Segments.Count > 0); - - foreach (var segment in metric.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment.GetType()); - var seg = segment as MetricsSegmentedData; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - AssertMetrics(seg, true, false, false, false, false); - } - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetSegmentedMetrics_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - var segments = new[] { "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetSegmentedMetricAsync(DefaultAppId, metricId, timespan, aggregation, segments); - - Assert.True(metric.Segments.Count > 0); - - foreach (var segment in metric.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment.GetType()); - var seg = segment as MetricsSegmentedData; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - AssertMetrics(seg, true, true, true, true, true); - } - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetMultiSegmentedMetrics() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { MetricsAggregation.Avg }; - var segments = new[] { "request/name", "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetSegmentedMetricAsync(DefaultAppId, metricId, timespan, aggregation, segments); - - Assert.True(metric.Segments.Count > 0); - - foreach (var segment in metric.Segments) - { - Assert.Equal(typeof(MetricsNestedSegment), segment.GetType()); - var seg = segment as MetricsNestedSegment; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - - foreach (var segment2 in seg.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment2.GetType()); - var seg2 = segment2 as MetricsSegmentedData; - Assert.NotNull(seg2); - Assert.Equal(segments[1], seg2.SegmentId); - Assert.NotNull(seg2.SegmentValue); - AssertMetrics(seg2, true, false, false, false, false); - } - } - } - } - - [Fact(Skip = "true")] // This API call is failing with a 500 for some reason - public async Task GetMultiSegmentedMetrics_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - var segments = new[] { "request/name", "request/resultCode" }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetSegmentedMetricAsync(DefaultAppId, metricId, timespan, aggregation, segments); - - Assert.True(metric.Segments.Count > 0); - - foreach (var segment in metric.Segments) - { - Assert.Equal(typeof(MetricsNestedSegment), segment.GetType()); - var seg = segment as MetricsNestedSegment; - Assert.NotNull(seg); - Assert.Equal(segments[0], seg.SegmentId); - Assert.NotNull(seg.SegmentValue); - - foreach (var segment2 in seg.Segments) - { - Assert.Equal(typeof(MetricsSegmentedData), segment2.GetType()); - var seg2 = segment2 as MetricsSegmentedData; - Assert.NotNull(seg2); - Assert.Equal(segments[1], seg2.SegmentId); - Assert.NotNull(seg2.SegmentValue); - AssertMetrics(seg2, true, true, true, true, true); - } - } - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SummaryMetricsTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SummaryMetricsTests.cs deleted file mode 100644 index f57326b64120..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/Metrics/SummaryMetricsTests.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using Xunit; - -namespace Data.ApplicationInsights.Tests.Metrics -{ - public class SummaryMetricsTests : MetricsTestBase - { - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetSummaryMetric() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { MetricsAggregation.Avg }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetMetricSummaryAsync(DefaultAppId, metricId, timespan, aggregation); - - AssertMetrics(metric, true, false, false, false, false); - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetSummaryMetric_AllAggregations() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var metricId = "requests/duration"; - var timespan = "PT12H"; - var aggregation = new List { - MetricsAggregation.Avg, - MetricsAggregation.Count, - MetricsAggregation.Min, - MetricsAggregation.Max, - MetricsAggregation.Sum - }; - - var client = GetClient(ctx); - var metric = await client.Metrics.GetMetricSummaryAsync(DefaultAppId, metricId, timespan, aggregation); - - AssertMetrics(metric, true, true, true, true, true); - } - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/QueryTests.cs b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/QueryTests.cs deleted file mode 100644 index 53e90346e735..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/ScenarioTests/QueryTests.cs +++ /dev/null @@ -1,114 +0,0 @@ -using Microsoft.Azure.ApplicationInsights.Query; -using Microsoft.Azure.ApplicationInsights.Query.Models; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Xunit; - -namespace Data.ApplicationInsights.Tests -{ - public class QueryTests : DataPlaneTestBase - { - delegate Task> ExecuteQuery(ApplicationInsightsDataClient client); - - private const int TakeCount = 25; - private readonly string SimpleQuery = $"union * | take {TakeCount}"; - private readonly string PastHourTimespan = "PT1H"; - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task CanExecuteSimplePostQuery_DemoWorkspace() - { - using (var ctx = MockContext.Start(this.GetType())) - { - await ExecuteAndVerify(async (client) => await client.Query.ExecuteWithHttpMessagesAsync(DefaultAppId, SimpleQuery), ctx: ctx); - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task CanExecutePostQueryWithTimespan_DemoWorkspace() - { - using (var ctx = MockContext.Start(this.GetType())) - { - await ExecuteAndVerify(async (client) => await client.Query.ExecuteWithHttpMessagesAsync(DefaultAppId, SimpleQuery, PastHourTimespan), ctx: ctx); - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetsExceptionWithSyntaxError() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var client = GetClient(ctx: ctx); - var badQuery = "union * | foobar"; - - try - { - await client.Query.ExecuteWithHttpMessagesAsync(DefaultAppId, badQuery, PastHourTimespan); - Assert.True(false, "An exception should have been thrown."); - } - catch (ErrorResponseException e) - { - Assert.Equal(System.Net.HttpStatusCode.BadRequest, e.Response.StatusCode); - Assert.Equal("BadArgumentError", e.Body.Error.Code); - Assert.Equal("SyntaxError", e.Body.Error.Innererror.Code); - } - catch (Exception e) - { - Assert.True(false, $"Expected an {nameof(ErrorResponseException)} but got a {e.GetType().Name}: {e.Message}"); - } - } - } - - [Fact(Skip = "https://github.com/Azure/azure-sdk-for-net/issues/6135")] - public async Task GetsExceptionWithShortWait() - { - using (var ctx = MockContext.Start(this.GetType())) - { - var client = GetClient(ctx); - client.Preferences.Wait = 1; - - var longQuery = "union * | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp"; - - try - { - var result = await client.Query.ExecuteWithHttpMessagesAsync(DefaultAppId, longQuery, customHeaders: new Dictionary> { { "Cache-Control", new List { "no-cache" } } }); - Assert.True(false, "An exception should have been thrown."); - } - catch (ErrorResponseException e) - { - Assert.Equal(System.Net.HttpStatusCode.GatewayTimeout, e.Response.StatusCode); - Assert.Equal("GatewayTimeout", e.Body.Error.Code); - Assert.Equal("GatewayTimeout", e.Body.Error.Innererror.Code); - } - catch (Exception e) - { - Assert.True(false, $"Expected an {nameof(ErrorResponseException)} but got a {e.GetType().Name}: {e.Message}"); - } - } - } - - private async Task ExecuteAndVerify(ExecuteQuery runQuery, MockContext ctx, string appId = DefaultAppId, string apiKey = DefaultApiKey) - { - var client = GetClient(ctx, appId, apiKey); - client.Preferences.IncludeStatistics = true; - client.Preferences.IncludeRender = true; - - var response = await runQuery.Invoke(client); - - Assert.Equal(System.Net.HttpStatusCode.OK, response.Response.StatusCode); - Assert.Equal("OK", response.Response.ReasonPhrase); - Assert.True(response.Body.Tables.Count > 0, "Table count isn't greater than 0"); - Assert.False(String.IsNullOrWhiteSpace(response.Body.Tables[0].Name), "Table name was null/empty"); - Assert.True(response.Body.Tables[0].Columns.Count > 1, "Column count isn't greater than 1"); - Assert.True(response.Body.Tables[0].Rows.Count > 1, "Row count isn't greater than 1"); - - var resultArray = response.Body.Tables[0].Rows; - Assert.NotNull(resultArray); - Assert.Equal(TakeCount, resultArray.Count); - - Assert.NotNull(response.Body.Statistics); - Assert.NotNull(response.Body.Render); - } - } -} diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.availabilityResults.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.availabilityResults.json deleted file mode 100644 index 1779973f7c36..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.availabilityResults.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "f3f9f08f-9e49-4462-8770-72ca178c2203" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9c3cda1e-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "16550" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"b5c2a670-c041-11e8-8625-5d063560d418\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:55.346Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"app service customer details-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service customer details-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Customer Details\",\r\n \"success\": \"0\",\r\n \"duration\": 1215,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 500 - InternalServerError') occured at 09/24/2018 21:34:56 (UTC) for Uri 'http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469', step #1 with the error ''500 - InternalServerError' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ab13d194-c041-11e8-9ca9-4fd3b61eeba3\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:30.974Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"vm reports-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_vm reports-fabrikamprod_emea-gb-db3-azr\",\r\n \"WebtestLocationId\": \"emea-gb-db3-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\",\r\n \"parentId\": \"df5758d583054c50a62205d30e9dfdef\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"VM Reports\",\r\n \"success\": \"1\",\r\n \"duration\": 750,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"North Europe\",\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Dublin\",\r\n \"stateOrProvince\": \"Leinster\",\r\n \"countryOrRegion\": \"Ireland\"\r\n }\r\n },\r\n {\r\n \"id\": \"a93b409f-c041-11e8-9911-d13af5e2447e\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:28.956Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"app service home page-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service home page-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Home Page\",\r\n \"success\": \"1\",\r\n \"duration\": 1172,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"Central US\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"a42426e3-c041-11e8-ba6b-a7158b082255\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:28.06Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"vm reports-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_vm reports-fabrikamprod_us-ca-sjc-azr\",\r\n \"WebtestLocationId\": \"us-ca-sjc-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"6c097756c8f34d8496605c62cf55abe9\",\r\n \"parentId\": \"6c097756c8f34d8496605c62cf55abe9\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"VM Reports\",\r\n \"success\": \"1\",\r\n \"duration\": 398,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"West US\",\r\n \"id\": \"6c097756c8f34d8496605c62cf55abe9\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9fd0f968-c041-11e8-8b28-8d52918f78f5\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:25.063Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"fabrikam click tickets and employees-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_fabrikam click tickets and employees-fabrikamprod_us-tx-sn1-azr\",\r\n \"WebtestLocationId\": \"us-tx-sn1-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"Fabrikam Click Tickets and Employees\",\r\n \"success\": \"0\",\r\n \"duration\": 2522,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"4 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:34:25 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/10', step #6 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:34:26 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/7', step #13 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:34:26 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/2', step #20 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:34:27 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Details/1', step #36 with the error '500 - InternalServerError'.\",\r\n \"location\": \"South Central US\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"95802304-c041-11e8-811a-1149af8f9881\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:00.739Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"dashtest nrt alert-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_dashtest nrt alert-fabrikamprod_us-il-ch1-azr\",\r\n \"WebtestLocationId\": \"us-il-ch1-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"2a13bbca4e6c44e8af4dae6f624a42c2\",\r\n \"parentId\": \"2a13bbca4e6c44e8af4dae6f624a42c2\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"DashTest NRT alert\",\r\n \"success\": \"0\",\r\n \"duration\": 0,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Exception (subtype 'WebException') occured at 09/24/2018 21:34:00 (UTC) for Uri 'http://fabrikamprod.azurewebsites.net', step #1 with the error 'The remote name could not be resolved: 'fabrikamprod.azurewebsites.net'', exception text 'Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException: The following error occurred which may indicate you need to configure a proxy server in your Web test: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' ---> System.Net.WebException: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result) --- End of inner exception stack trace ---', stack trace ' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)'.\",\r\n \"location\": \"North Central US\",\r\n \"id\": \"2a13bbca4e6c44e8af4dae6f624a42c2\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"948a511f-c041-11e8-9bbb-b5840cf1beb9\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:33:56.625Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"dashtest nrt alert-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_dashtest nrt alert-fabrikamprod_apac-sg-sin-azr\",\r\n \"WebtestLocationId\": \"apac-sg-sin-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"e74d3ca7f2f34485b73042d359e1a26e\",\r\n \"parentId\": \"e74d3ca7f2f34485b73042d359e1a26e\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"DashTest NRT alert\",\r\n \"success\": \"0\",\r\n \"duration\": 0,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Exception (subtype 'WebException') occured at 09/24/2018 21:33:56 (UTC) for Uri 'http://fabrikamprod.azurewebsites.net', step #1 with the error 'The remote name could not be resolved: 'fabrikamprod.azurewebsites.net'', exception text 'Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException: The following error occurred which may indicate you need to configure a proxy server in your Web test: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' ---> System.Net.WebException: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result) --- End of inner exception stack trace ---', stack trace ' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)'.\",\r\n \"location\": \"Southeast Asia\",\r\n \"id\": \"e74d3ca7f2f34485b73042d359e1a26e\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Singapore\",\r\n \"stateOrProvince\": \"Central Singapore Community Development Council\",\r\n \"countryOrRegion\": \"Singapore\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f9a2050-c041-11e8-b217-d7eb2f26aee2\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:33:52.737Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"dashtest nrt alert-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_dashtest nrt alert-fabrikamprod_emea-ch-zrh-edge\",\r\n \"WebtestLocationId\": \"emea-ch-zrh-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"bdc850c1720440568017217d8e2f01cb\",\r\n \"parentId\": \"bdc850c1720440568017217d8e2f01cb\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"DashTest NRT alert\",\r\n \"success\": \"0\",\r\n \"duration\": 0,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Exception (subtype 'WebException') occured at 09/24/2018 21:33:52 (UTC) for Uri 'http://fabrikamprod.azurewebsites.net', step #1 with the error 'The remote name could not be resolved: 'fabrikamprod.azurewebsites.net'', exception text 'Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException: The following error occurred which may indicate you need to configure a proxy server in your Web test: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' ---> System.Net.WebException: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result) --- End of inner exception stack trace ---', stack trace ' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)'.\",\r\n \"location\": \"France South\",\r\n \"id\": \"bdc850c1720440568017217d8e2f01cb\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Marseille\",\r\n \"stateOrProvince\": \"Bouches-du-Rhône\",\r\n \"countryOrRegion\": \"France\"\r\n }\r\n },\r\n {\r\n \"id\": \"8d9f3a8d-c041-11e8-bdc9-f7e9bab57bbe\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:33:51.973Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"app service customer details-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service customer details-fabrikamprod_us-va-ash-azr\",\r\n \"WebtestLocationId\": \"us-va-ash-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"5bb20927da734f9a8424cce89d65daf7\",\r\n \"parentId\": \"5bb20927da734f9a8424cce89d65daf7\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Customer Details\",\r\n \"success\": \"0\",\r\n \"duration\": 595,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 500 - InternalServerError') occured at 09/24/2018 21:33:52 (UTC) for Uri 'http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469', step #1 with the error ''500 - InternalServerError' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"East US\",\r\n \"id\": \"5bb20927da734f9a8424cce89d65daf7\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Boydton\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8a82b88b-c041-11e8-ba20-79c770db6c0e\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:33:44.048Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"app service home page-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service home page-fabrikamprod_emea-se-sto-edge\",\r\n \"WebtestLocationId\": \"emea-se-sto-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"8ed399bb67294bc9a82c168532efa7bf\",\r\n \"parentId\": \"8ed399bb67294bc9a82c168532efa7bf\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Home Page\",\r\n \"success\": \"1\",\r\n \"duration\": 1689,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"UK West\",\r\n \"id\": \"8ed399bb67294bc9a82c168532efa7bf\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Cardiff\",\r\n \"stateOrProvince\": \"Cardiff\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults/b5c2a670-c041-11e8-8625-5d063560d418?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHMvYjVjMmE2NzAtYzA0MS0xMWU4LTg2MjUtNWQwNjM1NjBkNDE4P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "42f0e83a-f2f7-4760-979d-30b188b9bce5" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.8cd1d6bb-c00d-11e8-b19c-70b3d5800001" - ], - "Age": [ - "7" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1655" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/availabilityResults/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"b5c2a670-c041-11e8-8625-5d063560d418\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:55.346Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"app service customer details-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service customer details-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Customer Details\",\r\n \"success\": \"0\",\r\n \"duration\": 1215,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 500 - InternalServerError') occured at 09/24/2018 21:34:56 (UTC) for Uri 'http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469', step #1 with the error ''500 - InternalServerError' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.browserTimings.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.browserTimings.json deleted file mode 100644 index abaf9609f0a4..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.browserTimings.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzP3RpbWVzcGFuPVAxRCYkdG9wPTEw", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "a5f7755c-0850-48ab-87bc-1506489588d2" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:15 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.13fffd40-c020-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "7070" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"5fa31661-bff0-11e8-893a-df98f5a20bc6\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:55.008Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"h/viM\",\r\n \"parentId\": \"h/viM\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 806,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 141,\r\n \"receiveDuration\": 15,\r\n \"processingDuration\": 643\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"5e9528de-bff0-11e8-96dd-1b10334fed87\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:53.219Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"8kMaM\",\r\n \"parentId\": \"8kMaM\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 786,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 2,\r\n \"sendDuration\": 112,\r\n \"receiveDuration\": 4,\r\n \"processingDuration\": 666\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"55e1fc96-bff0-11e8-8d6e-abafe26a7291\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:38.444Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd\",\r\n \"id\": \"6fAn3\",\r\n \"parentId\": \"6fAn3\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd\",\r\n \"totalDuration\": 2018,\r\n \"performanceBucket\": \"1sec-3sec\",\r\n \"networkDuration\": 160,\r\n \"sendDuration\": 424,\r\n \"receiveDuration\": 119,\r\n \"processingDuration\": 1315\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"46c19a11-bfbc-11e8-923c-732823f7090e\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:39:55.93Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"I6vaw\",\r\n \"parentId\": \"I6vaw\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"R+gCW\"\r\n },\r\n \"user\": {\r\n \"id\": \"dnVdS\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 7385,\r\n \"performanceBucket\": \"7sec-15sec\",\r\n \"networkDuration\": 210,\r\n \"sendDuration\": 1946,\r\n \"receiveDuration\": 6,\r\n \"processingDuration\": 5223\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"27ca3400-bfbc-11e8-942c-6740fd3333ef\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:39:05.204Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"KvlRW\",\r\n \"parentId\": \"KvlRW\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"TD84H\"\r\n },\r\n \"user\": {\r\n \"id\": \"KnexQ\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"https://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 1572,\r\n \"performanceBucket\": \"1sec-3sec\",\r\n \"networkDuration\": 97,\r\n \"sendDuration\": 13,\r\n \"receiveDuration\": 62,\r\n \"processingDuration\": 1393\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"6dd28141-bfb8-11e8-a86d-51e58f3d5949\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:12:23.717Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"93Dio\",\r\n \"parentId\": \"93Dio\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"TD84H\"\r\n },\r\n \"user\": {\r\n \"id\": \"KnexQ\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"https://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 6043,\r\n \"performanceBucket\": \"3sec-7sec\",\r\n \"networkDuration\": 875,\r\n \"sendDuration\": 947,\r\n \"receiveDuration\": 5,\r\n \"processingDuration\": 4216\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings/607189f1-bff0-11e8-b5a7-b76344f18d93?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzLzYwNzE4OWYxLWJmZjAtMTFlOC1iNWE3LWI3NjM0NGYxOGQ5Mz90aW1lc3Bhbj1QMUQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "bc8b19af-1d7e-4191-ab23-0f47b93ddb98" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:16 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1142" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/browserTimings/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customEvents.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customEvents.json deleted file mode 100644 index 1900eb4d8c52..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customEvents.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1a9ede31-2539-4c00-bfe3-c74a1657d57b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:14 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "8512" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff222d81-c040-11e8-854e-55d4913e5a6f\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"dJxRx\",\r\n \"parentId\": \"dJxRx\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"DMoO7\"\r\n },\r\n \"user\": {\r\n \"id\": \"alI00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Assign Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Bothell\",\r\n \"stateOrProvince\": \"Washington\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1de7b0-c040-11e8-a2d6-01e896f3eb0a\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"iCGDJ\",\r\n \"parentId\": \"iCGDJ\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"ERhlX\"\r\n },\r\n \"user\": {\r\n \"id\": \"aqA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 8.1\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Bothell\",\r\n \"stateOrProvince\": \"Washington\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1e5ce1-c040-11e8-9c4d-a935b3ecedcc\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"GDDa7\",\r\n \"parentId\": \"GDDa7\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"7j5Zb\"\r\n },\r\n \"user\": {\r\n \"id\": \"f0I00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2031a0-c040-11e8-bdb2-0d36b291dc7b\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"52Xf8\",\r\n \"parentId\": \"52Xf8\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"uTtFY\"\r\n },\r\n \"user\": {\r\n \"id\": \"fSD00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2ded40-c040-11e8-9b17-3fceaf5159b4\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"Pq0wh\",\r\n \"parentId\": \"Pq0wh\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"PxoCq\"\r\n },\r\n \"user\": {\r\n \"id\": \"fSH00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff29f5a1-c040-11e8-a863-939e38d7e004\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"bljl/\",\r\n \"parentId\": \"bljl/\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"KkPh/\"\r\n },\r\n \"user\": {\r\n \"id\": \"e4C00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 7\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff58f4f0-c040-11e8-a3c2-c171a2bcc086\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"BQBVh\",\r\n \"parentId\": \"BQBVh\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"ZK3wY\"\r\n },\r\n \"user\": {\r\n \"id\": \"giE00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1ef920-c040-11e8-8531-dfd6349b29fa\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"Otw6s\",\r\n \"parentId\": \"Otw6s\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"UTsw7\"\r\n },\r\n \"user\": {\r\n \"id\": \"dbB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Assign Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff240230-c040-11e8-a9ea-eff0115676ed\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"FVe94\",\r\n \"parentId\": \"FVe94\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"3u5Vs\"\r\n },\r\n \"user\": {\r\n \"id\": \"dZK00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Save Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cy8zMDI4MzlmMS1jMDQxLTExZTgtYTEzNy1iNzg3YjE1MDZmMTk/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "9537930b-01ab-443d-8046-c11cf1caa080" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:14 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c0854760-bff6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1488" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customEvents/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customMetrics.json deleted file mode 100644 index 52dd5493a811..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.customMetrics.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3M/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "ceb84035-7aa4-4794-b214-68d59ed32be8" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:19 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.92e0529c-c03e-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "11163" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"98d44c14-c040-11e8-b194-bfc9586370da\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:27:08.9Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"c1e3b076-c03e-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:14:00.291Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8056aef4-c03e-11e8-932e-cd5dae094438\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:12:08.895Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"a95f3586-c03c-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:59:00.227Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"67f413eb-c03c-11e8-b194-bfc9586370da\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:57:08.888Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"97ca8bf6-c03a-11e8-9269-538aa81dd28e\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:44:00.183Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4f6f4adb-c03a-11e8-8936-8bc26a313bde\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:42:08.87Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"7f3fa866-c038-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:29:00.124Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"36f1388b-c038-11e8-8936-8bc26a313bde\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:27:08.85Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics/db15a976-c040-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3MvZGIxNWE5NzYtYzA0MC0xMWU4LWJiYzMtMDExMDQxYmJlNzg1P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "7a2a1779-1835-492d-b03c-43420a3963b0" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:19 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c0854760-bff6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1370" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customMetrics/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.dependencies.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.dependencies.json deleted file mode 100644 index d78a2cee5bbf..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.dependencies.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "2376e269-f919-490a-ab07-da2385c39204" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:17 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.89f6aa26-bfc0-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "16859" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b8-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.702Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 70,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b7-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.64Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages?numofmessages=1\",\r\n \"success\": \"True\",\r\n \"duration\": 60,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"GET fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_7.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b6-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.499Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages\",\r\n \"success\": \"True\",\r\n \"duration\": 145,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"201\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"POST fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_6.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b5-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.437Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber\",\r\n \"success\": \"True\",\r\n \"duration\": 58,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"204\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"PUT fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_5.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b4-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.374Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=list&delimiter=%2F\",\r\n \"success\": \"True\",\r\n \"duration\": 61,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"GET fabrikamaccount\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_4.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b3-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.234Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\",\r\n \"Blob\": \"fabrikam.txt\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber/fabrikam.txt\",\r\n \"success\": \"True\",\r\n \"duration\": 144,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"201\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_3.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b2-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.077Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=acl\",\r\n \"success\": \"True\",\r\n \"duration\": 144,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_2.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ada132b1-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.015Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container\",\r\n \"success\": \"False\",\r\n \"duration\": 59,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"409\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_1.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2bfbd2-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:27.233Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.38.be60d18_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\",\r\n \"success\": \"True\",\r\n \"duration\": 15,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.38.be60d18_2.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9da42e32-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:26.987Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.32.be60d12_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\",\r\n \"success\": \"True\",\r\n \"duration\": 16,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.32.be60d12_2.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies/ada132b8-c041-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcy9hZGExMzJiOC1jMDQxLTExZTgtYmJjMy0wMTEwNDFiYmU3ODU/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "8ee6b6d3-3c4c-4654-9b90-b843863ac72e" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:17 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.23308d31-c024-11e8-b19c-70b3d5800001" - ], - "Age": [ - "7" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "3528" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/dependencies/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b8-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.702Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 70,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.exceptions.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.exceptions.json deleted file mode 100644 index 40ddcc7b8a9c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.exceptions.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "79e5fe20-cd23-4d67-b49f-36a637acf8de" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:17 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.b61bf8d6-bf2d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "84969" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"bed16001-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:35:23.923Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"63858094\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"0217ac095c3c44c28cce3c8801603bd8\",\r\n \"parentId\": \"|0217ac095c3c44c28cce3c8801603bd8.19.be60d3a_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"0217ac095c3c44c28cce3c8801603bd8\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_0217ac095c3c44c28cce3c8801603bd8\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"b3cf88d2-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:35:05.123Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.Data.SqlClient.SqlException at FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"message\": \"\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"outerType\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"outerMethod\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"outerAssembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"innermostType\": \"System.Data.SqlClient.SqlException\",\r\n \"innermostMessage\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\ServiceLogEntryRepository.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"level\": 1,\r\n \"line\": 72,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.Web\\\\Controllers\\\\ServiceTicketsController.cs\",\r\n \"method\": \"FabrikamFiber.Web.Controllers.ServiceTicketsController.Create\",\r\n \"level\": 2,\r\n \"line\": 130,\r\n \"assembly\": \"FabrikamFiber.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"lambda_method\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c.b__9_0\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`2.CallEndDelegate\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.b__11_0\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass11_1.b__2\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"27475536\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"27475536\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Core.UpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"58593045\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlConnection.OnError\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.TryRun\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.TryConsumeMetaData\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.get_MetaData\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.FinishExecuteReader\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReaderTds\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.ExecuteReader\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"58593045\",\r\n \"message\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"21476718\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"POST ServiceTickets/Create\",\r\n \"id\": \"1dbc5da346234836915ea4a65a52156f\",\r\n \"parentId\": \"|1dbc5da346234836915ea4a65a52156f.6.be60d23_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"1dbc5da346234836915ea4a65a52156f\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_1dbc5da346234836915ea4a65a52156f\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"b2172a70-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:56.289Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.FormatException at FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"message\": \"\",\r\n \"type\": \"System.FormatException\",\r\n \"outerType\": \"System.FormatException\",\r\n \"outerMethod\": \"System.Number.StringToNumber\",\r\n \"outerAssembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"Input string was not in a correct format.\",\r\n \"innermostType\": \"System.FormatException\",\r\n \"innermostMessage\": \"Input string was not in a correct format.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Number.StringToNumber\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Number.ParseInt32\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Int32.Parse\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\AddressValidator.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"level\": 3,\r\n \"line\": 13,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Models\\\\Address.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Models.Address.FullAddress\",\r\n \"level\": 4,\r\n \"line\": 25,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"ASP._Page_Views_Customers_Details_cshtml.Execute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"App_Web_pdpudhmd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.RunPage\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.RazorView.RenderView\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.BuildManagerCompiledView.Render\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResult\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 24,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 25,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 26,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__151_2\",\r\n \"level\": 27,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 28,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 29,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 30,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute\",\r\n \"level\": 31,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 32,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 33,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 34,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 35,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest\",\r\n \"level\": 36,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 37,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass285_0.b__0\",\r\n \"level\": 38,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 39,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker+<>c__DisplayClass4_0.b__0\",\r\n \"level\": 40,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep\",\r\n \"level\": 41,\r\n \"line\": 0,\r\n \"assembly\": \"Microsoft.AspNet.TelemetryCorrelation, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass284_0.b__0\",\r\n \"level\": 42,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 43,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStepImpl\",\r\n \"level\": 44,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 45,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Input string was not in a correct format.\",\r\n \"type\": \"System.FormatException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"20298834\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Customers/Details\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"|97a05290a2f54f8ea14727d69845b680.0.84dd66e8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_97a05290a2f54f8ea14727d69845b680\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9dff4684-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:27.661Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.FormatException at FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"message\": \"\",\r\n \"type\": \"System.FormatException\",\r\n \"outerType\": \"System.FormatException\",\r\n \"outerMethod\": \"System.Number.StringToNumber\",\r\n \"outerAssembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"Input string was not in a correct format.\",\r\n \"innermostType\": \"System.FormatException\",\r\n \"innermostMessage\": \"Input string was not in a correct format.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Number.StringToNumber\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Number.ParseInt32\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Int32.Parse\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\AddressValidator.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"level\": 3,\r\n \"line\": 13,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Models\\\\Address.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Models.Address.FullAddress\",\r\n \"level\": 4,\r\n \"line\": 25,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"ASP._Page_Views_Customers_Details_cshtml.Execute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"App_Web_pdpudhmd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.RunPage\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.RazorView.RenderView\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.BuildManagerCompiledView.Render\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResult\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 24,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 25,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 26,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__151_2\",\r\n \"level\": 27,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 28,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 29,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 30,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute\",\r\n \"level\": 31,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 32,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 33,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 34,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 35,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest\",\r\n \"level\": 36,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 37,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass285_0.b__0\",\r\n \"level\": 38,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 39,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker+<>c__DisplayClass4_0.b__0\",\r\n \"level\": 40,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep\",\r\n \"level\": 41,\r\n \"line\": 0,\r\n \"assembly\": \"Microsoft.AspNet.TelemetryCorrelation, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass284_0.b__0\",\r\n \"level\": 42,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 43,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStepImpl\",\r\n \"level\": 44,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 45,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Input string was not in a correct format.\",\r\n \"type\": \"System.FormatException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"45199008\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Customers/Details\",\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"parentId\": \"|4957eb27cc2b4ea187cd1f83339e2020.0.84dd66e6_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-au-syd-edge_4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"9ddfb091-c041-11e8-bd5f-9f112225a55a\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:27.157Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\Employees\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"40173061\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.35.be60d15_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9cbf4c75-c041-11e8-bd5f-9f112225a55a\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:26.285Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"64829123\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.19.be60d05_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9c520bb1-c041-11e8-b531-f12218fc06e4\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:25.798Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"50514492\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.12.be60cfe_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9bc55c11-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:25.289Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"32629526\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.5.be60cf7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8db35eb4-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:33:52.593Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.FormatException at FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"message\": \"\",\r\n \"type\": \"System.FormatException\",\r\n \"outerType\": \"System.FormatException\",\r\n \"outerMethod\": \"System.Number.StringToNumber\",\r\n \"outerAssembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"Input string was not in a correct format.\",\r\n \"innermostType\": \"System.FormatException\",\r\n \"innermostMessage\": \"Input string was not in a correct format.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Number.StringToNumber\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Number.ParseInt32\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Int32.Parse\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\AddressValidator.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"level\": 3,\r\n \"line\": 13,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Models\\\\Address.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Models.Address.FullAddress\",\r\n \"level\": 4,\r\n \"line\": 25,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"ASP._Page_Views_Customers_Details_cshtml.Execute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"App_Web_pdpudhmd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.RunPage\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.RazorView.RenderView\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.BuildManagerCompiledView.Render\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResult\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 24,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 25,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 26,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__151_2\",\r\n \"level\": 27,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 28,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 29,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 30,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute\",\r\n \"level\": 31,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 32,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 33,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 34,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 35,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest\",\r\n \"level\": 36,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 37,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass285_0.b__0\",\r\n \"level\": 38,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 39,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker+<>c__DisplayClass4_0.b__0\",\r\n \"level\": 40,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep\",\r\n \"level\": 41,\r\n \"line\": 0,\r\n \"assembly\": \"Microsoft.AspNet.TelemetryCorrelation, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass284_0.b__0\",\r\n \"level\": 42,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 43,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStepImpl\",\r\n \"level\": 44,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 45,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Input string was not in a correct format.\",\r\n \"type\": \"System.FormatException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"36736499\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Customers/Details\",\r\n \"id\": \"5bb20927da734f9a8424cce89d65daf7\",\r\n \"parentId\": \"|5bb20927da734f9a8424cce89d65daf7.0.84dd66e3_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"5bb20927da734f9a8424cce89d65daf7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_5bb20927da734f9a8424cce89d65daf7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Boydton\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af433-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:33:34.498Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.Data.SqlClient.SqlException at FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"message\": \"\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"outerType\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"outerMethod\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"outerAssembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"innermostType\": \"System.Data.SqlClient.SqlException\",\r\n \"innermostMessage\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\ServiceLogEntryRepository.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"level\": 1,\r\n \"line\": 72,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.Web\\\\Controllers\\\\ServiceTicketsController.cs\",\r\n \"method\": \"FabrikamFiber.Web.Controllers.ServiceTicketsController.Create\",\r\n \"level\": 2,\r\n \"line\": 130,\r\n \"assembly\": \"FabrikamFiber.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"lambda_method\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c.b__9_0\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`2.CallEndDelegate\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.b__11_0\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass11_1.b__2\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"50475232\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"50475232\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Core.UpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"58515964\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlConnection.OnError\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.TryRun\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.TryConsumeMetaData\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.get_MetaData\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.FinishExecuteReader\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReaderTds\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.ExecuteReader\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"58515964\",\r\n \"message\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"47075641\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"POST ServiceTickets/Create\",\r\n \"id\": \"61e83906251647f5a367a854f0986ee5\",\r\n \"parentId\": \"|61e83906251647f5a367a854f0986ee5.6.be60cef_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"61e83906251647f5a367a854f0986ee5\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_61e83906251647f5a367a854f0986ee5\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions/bed16001-c041-11e8-932e-cd5dae094438?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnMvYmVkMTYwMDEtYzA0MS0xMWU4LTkzMmUtY2Q1ZGFlMDk0NDM4P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1cb9828b-382d-4774-be77-4d2b8a0722f2" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.89f6aa26-bfc0-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "6070" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/exceptions/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"bed16001-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:35:23.923Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"63858094\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"0217ac095c3c44c28cce3c8801603bd8\",\r\n \"parentId\": \"|0217ac095c3c44c28cce3c8801603bd8.19.be60d3a_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"0217ac095c3c44c28cce3c8801603bd8\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_0217ac095c3c44c28cce3c8801603bd8\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.pageViews.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.pageViews.json deleted file mode 100644 index 3620f76661b9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.pageViews.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "7014c032-b1a9-4475-999e-d294af723e67" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:15 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.790b8ed6-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "8232" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff2f9af0-c040-11e8-9ee6-5320f818f397\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uQCft\",\r\n \"parentId\": \"uQCft\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"HbgDk\"\r\n },\r\n \"user\": {\r\n \"id\": \"ewJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Ubuntu\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff293250-c040-11e8-a3d2-2794445376db\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"gJT/K\",\r\n \"parentId\": \"gJT/K\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"qmbeY\"\r\n },\r\n \"user\": {\r\n \"id\": \"e6E00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"macOS 10.12\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff298070-c040-11e8-b298-15f14a58a11c\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"lhii5\",\r\n \"parentId\": \"lhii5\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"AuTwP\"\r\n },\r\n \"user\": {\r\n \"id\": \"d6E00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.2.6\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2a43c1-c040-11e8-9939-fd204ba19491\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uINwQ\",\r\n \"parentId\": \"uINwQ\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"o6joy\"\r\n },\r\n \"user\": {\r\n \"id\": \"glA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2e1450-c040-11e8-9c39-6b3b19546ce7\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"CiVVV\",\r\n \"parentId\": \"CiVVV\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"isO95\"\r\n },\r\n \"user\": {\r\n \"id\": \"fjB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.2.6\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 7\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff20f4f1-c040-11e8-bc9b-af0f5f1e51dd\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"1QLLp\",\r\n \"parentId\": \"1QLLp\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"k9jvG\"\r\n },\r\n \"user\": {\r\n \"id\": \"ePI00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.1\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff23b410-c040-11e8-ab88-8d9bdba00fed\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"X6X7P\",\r\n \"parentId\": \"X6X7P\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"2kQi0\"\r\n },\r\n \"user\": {\r\n \"id\": \"eVB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff37d850-c040-11e8-a051-dfca667ac862\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"DTHqF\",\r\n \"parentId\": \"DTHqF\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"zJXqV\"\r\n },\r\n \"user\": {\r\n \"id\": \"fWA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff219130-c040-11e8-9a0f-ef0951e91762\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"5Bk66\",\r\n \"parentId\": \"5Bk66\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"sxXwC\"\r\n },\r\n \"user\": {\r\n \"id\": \"f9G00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff22c9b0-c040-11e8-a5fc-4169f980067c\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"OuKqs\",\r\n \"parentId\": \"OuKqs\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"qSZKX\"\r\n },\r\n \"user\": {\r\n \"id\": \"fiJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews/ff2f9af0-c040-11e8-9ee6-5320f818f397?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cy9mZjJmOWFmMC1jMDQwLTExZTgtOWVlNi01MzIwZjgxOGYzOTc/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "964e661e-fe39-4efc-8d3a-aa536f479f02" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:15 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "918" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/pageViews/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff2f9af0-c040-11e8-9ee6-5320f818f397\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uQCft\",\r\n \"parentId\": \"uQCft\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"HbgDk\"\r\n },\r\n \"user\": {\r\n \"id\": \"ewJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Ubuntu\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.performanceCounters.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.performanceCounters.json deleted file mode 100644 index 446d738f61bb..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.performanceCounters.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1520c1f9-3a79-4495-bbf3-b66b99f9b714" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.89f6aa26-bfc0-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "8611" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"8f5af43d-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 10686.796875,\r\n \"name\": \"IO Data Bytes/sec\",\r\n \"category\": \"Process\",\r\n \"counter\": \"IO Data Bytes/sec\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af43a-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"# of Exceps Thrown / sec\",\r\n \"category\": \".NET CLR Exceptions\",\r\n \"counter\": \"# of Exceps Thrown / sec\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af43b-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 102,\r\n \"name\": \"Request Execution Time\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Request Execution Time\",\r\n \"instance\": \"_LM_W3SVC_1_ROOT_FabrikamProd\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af438-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 1.55105459690094,\r\n \"name\": \"% Processor Time Normalized\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time Normalized\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af435-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 2523619328,\r\n \"name\": \"Available Bytes\",\r\n \"category\": \"Memory\",\r\n \"counter\": \"Available Bytes\",\r\n \"instance\": \"\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af43c-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 243486720,\r\n \"name\": \"Private Bytes\",\r\n \"category\": \"Process\",\r\n \"counter\": \"Private Bytes\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af439-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests/Sec\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests/Sec\",\r\n \"instance\": \"_LM_W3SVC_1_ROOT_FabrikamProd\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af437-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 1.55259394645691,\r\n \"name\": \"% Processor Time\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af436-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 7.52320289611816,\r\n \"name\": \"% Processor Time\",\r\n \"category\": \"Processor\",\r\n \"counter\": \"% Processor Time\",\r\n \"instance\": \"_Total\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8f5af43e-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests In Application Queue\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests In Application Queue\",\r\n \"instance\": \"_LM_W3SVC_1_ROOT_FabrikamProd\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters/8f5af43d-c041-11e8-932e-cd5dae094438?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnMvOGY1YWY0M2QtYzA0MS0xMWU4LTkzMmUtY2Q1ZGFlMDk0NDM4P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1c5d2e99-3a19-4f75-a899-8a88ba24356a" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1debaf6b-bfde-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "975" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/performanceCounters/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"8f5af43d-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 10686.796875,\r\n \"name\": \"IO Data Bytes/sec\",\r\n \"category\": \"Process\",\r\n \"counter\": \"IO Data Bytes/sec\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.requests.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.requests.json deleted file mode 100644 index 675a668a3c44..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.requests.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzP3RpbWVzcGFuPVAxRCYkdG9wPTEw", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "b9cd9ce1-e76a-4f9d-82d6-b986280bbba0" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:16 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c0854760-bff6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "12831" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b9-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:29.015Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Home/Index\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"success\": \"True\",\r\n \"duration\": 788.778,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9f669eb0-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:28.32Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Reports/Index\",\r\n \"id\": \"6c097756c8f34d8496605c62cf55abe9\",\r\n \"parentId\": \"|6c097756c8f34d8496605c62cf55abe9.0\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6c097756c8f34d8496605c62cf55abe9\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_6c097756c8f34d8496605c62cf55abe9\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Reports/Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"success\": \"True\",\r\n \"duration\": 3.941,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|6c097756c8f34d8496605c62cf55abe9.0.be60d1b_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e7a9100-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.327Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.39\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.6969,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.39.be60d19_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2bfbd3-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.232Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.38\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Employees\",\r\n \"success\": \"True\",\r\n \"duration\": 18.8793,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.38.be60d18_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e29b1e9-c041-11e8-a202-bb78ca9a3410\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.207Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.37\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.58,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.37.be60d17_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9df75740-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.182Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.36\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 1.0127,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.36.be60d16_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9ddfb090-c041-11e8-bdc7-23826b528d11\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.111Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.34\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.5747,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.34.be60d14_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9dc54ac0-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:27.087Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.33\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.7702,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.33.be60d13_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9da42e33-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:26.985Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.32\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Employees\",\r\n \"success\": \"True\",\r\n \"duration\": 19.3206,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.32.be60d12_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9d936550-c041-11e8-ad52-cdd1590dd6c7\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:26.937Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.30\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.6875,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d122f660a66746cf97a6c0fd8e1c9444.30.be60d10_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests/ada132b9-c041-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzL2FkYTEzMmI5LWMwNDEtMTFlOC1iYmMzLTAxMTA0MWJiZTc4NT90aW1lc3Bhbj1QMUQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "8e985b7c-3489-4a22-aaca-b3339e250178" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:16 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.4760ece2-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1375" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/requests/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b9-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:29.015Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Home/Index\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"success\": \"True\",\r\n \"duration\": 788.778,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.traces.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.traces.json deleted file mode 100644 index 294257eba2bc..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByType.traces.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "5a97cee6-2fd2-4ce2-88a2-ac4eb93306c7" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:13 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.4760ece2-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "10116" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132ba-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:55.195Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"|97a05290a2f54f8ea14727d69845b680.0.84dd66e8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_97a05290a2f54f8ea14727d69845b680\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9f669eb1-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:31.402Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Reports\",\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\",\r\n \"parentId\": \"|df5758d583054c50a62205d30e9dfdef.0.be60d1c_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-gb-db3-azr_df5758d583054c50a62205d30e9dfdef\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Dublin\",\r\n \"stateOrProvince\": \"Leinster\",\r\n \"countryOrRegion\": \"Ireland\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e7a9101-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.352Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.40.be60d1a_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2bfbd4-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.327Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.39.be60d19_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9d10c7e2-c041-11e8-9269-538aa81dd28e\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.255Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"parentId\": \"|4957eb27cc2b4ea187cd1f83339e2020.0.84dd66e6_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-au-syd-edge_4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2c22e0-c041-11e8-a202-bb78ca9a3410\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.232Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Employees\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.38.be60d18_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9df9c840-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.207Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.37.be60d17_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9ddfb091-c041-11e8-bdc7-23826b528d11\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.137Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Employees/Details/1\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.35.be60d15_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9dc54ac1-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.111Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.34.be60d14_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9da42e34-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.087Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.33.be60d13_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces/ada132ba-c041-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcy9hZGExMzJiYS1jMDQxLTExZTgtYmJjMy0wMTEwNDFiYmU3ODU/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "0928fea2-b4b5-4863-bd1d-bd65825943c0" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:13 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1debaf6b-bfde-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1150" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/traces/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132ba-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:55.195Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"|97a05290a2f54f8ea14727d69845b680.0.84dd66e8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_97a05290a2f54f8ea14727d69845b680\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.availabilityResults.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.availabilityResults.json deleted file mode 100644 index 9aea6523de9c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.availabilityResults.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHM/dGltZXNwYW49UDFEJiR0b3A9MQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "e8eacad1-8750-4849-9a3a-9f5a06f69979" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:11 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c31b8ea8-c036-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1635" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"b5c2a670-c041-11e8-8625-5d063560d418\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:55.346Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"app service customer details-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service customer details-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Customer Details\",\r\n \"success\": \"0\",\r\n \"duration\": 1215,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 500 - InternalServerError') occured at 09/24/2018 21:34:56 (UTC) for Uri 'http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469', step #1 with the error ''500 - InternalServerError' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults/b5c2a670-c041-11e8-8625-5d063560d418?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHMvYjVjMmE2NzAtYzA0MS0xMWU4LTg2MjUtNWQwNjM1NjBkNDE4P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "ef5ba87b-2113-4148-aaa3-dea92a5eeab0" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:11 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.3109e61a-bf93-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1655" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/availabilityResults/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"b5c2a670-c041-11e8-8625-5d063560d418\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:34:55.346Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"app service customer details-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service customer details-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Customer Details\",\r\n \"success\": \"0\",\r\n \"duration\": 1215,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 500 - InternalServerError') occured at 09/24/2018 21:34:56 (UTC) for Uri 'http://fabrikamfiberapp.azurewebsites.net/Customers/Details/8469', step #1 with the error ''500 - InternalServerError' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.browserTimings.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.browserTimings.json deleted file mode 100644 index d60a7051b57a..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.browserTimings.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzP3RpbWVzcGFuPVAxRCYkdG9wPTE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "bce7883e-4dca-438b-bf14-07df6c03d346" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:08 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.43ad40fc-bfdf-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1127" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings/607189f1-bff0-11e8-b5a7-b76344f18d93?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzLzYwNzE4OWYxLWJmZjAtMTFlOC1iNWE3LWI3NjM0NGYxOGQ5Mz90aW1lc3Bhbj1QMUQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "2a5a8293-9774-4d6d-b0c1-1fbd3b1a8402" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:08 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.3109e61a-bf93-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1142" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/browserTimings/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customEvents.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customEvents.json deleted file mode 100644 index c36b8f8e788f..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customEvents.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cz90aW1lc3Bhbj1QMUQmJHRvcD0x", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "60ab954b-bae8-4eb0-ad83-5729bb5bc0cb" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:06 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.43ad40fc-bfdf-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1475" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cy8zMDI4MzlmMS1jMDQxLTExZTgtYTEzNy1iNzg3YjE1MDZmMTk/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "32ea3058-a380-4170-a07d-0f841e0f6f0a" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:07 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1ba68d48-bfd1-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1488" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customEvents/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customMetrics.json deleted file mode 100644 index 3d8dd318d503..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.customMetrics.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3M/dGltZXNwYW49UDFEJiR0b3A9MQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "df3e912c-4ae4-4192-a28e-089bcc58c4c0" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:12 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9c3cda1e-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1356" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics/db15a976-c040-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3MvZGIxNWE5NzYtYzA0MC0xMWU4LWJiYzMtMDExMDQxYmJlNzg1P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "c240048d-29e1-458c-809c-acc7cdffa024" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:13 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.b61bf8d6-bf2d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1370" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customMetrics/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.dependencies.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.dependencies.json deleted file mode 100644 index 6d84ae26968c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.dependencies.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcz90aW1lc3Bhbj1QMUQmJHRvcD0x", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "6c1e1207-eddb-42c3-b0db-d831918eef31" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:10 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "3515" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b8-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.702Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 70,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies/ada132b8-c041-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcy9hZGExMzJiOC1jMDQxLTExZTgtYmJjMy0wMTEwNDFiYmU3ODU/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "2bf417a4-722f-460e-bc23-c4e6a1e6c44b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:10 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.23308d31-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "3528" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/dependencies/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b8-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:34:29.702Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 70,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.exceptions.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.exceptions.json deleted file mode 100644 index 1eb5780463ce..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.exceptions.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnM/dGltZXNwYW49UDFEJiR0b3A9MQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "0cf83b2e-c341-4f9e-ba27-4b161b55e8e7" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:10 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "6057" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"9c520bb1-c041-11e8-b531-f12218fc06e4\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:25.798Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"50514492\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.12.be60cfe_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions/9c520bb1-c041-11e8-b531-f12218fc06e4?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnMvOWM1MjBiYjEtYzA0MS0xMWU4LWI1MzEtZjEyMjE4ZmMwNmU0P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "6438d1fb-acbb-4000-ade2-a398ad5f3588" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:10 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c8d3978f-c01b-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "6068" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/exceptions/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"9c520bb1-c041-11e8-b531-f12218fc06e4\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:34:25.798Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"50514492\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.12.be60cfe_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.pageViews.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.pageViews.json deleted file mode 100644 index 7e8152484783..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.pageViews.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cz90aW1lc3Bhbj1QMUQmJHRvcD0x", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "e4da9c10-00eb-43cd-a03f-e9221fbf076b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:07 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.23308d31-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "911" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff225480-c040-11e8-93f9-efeb6277a940\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"FOXQW\",\r\n \"parentId\": \"FOXQW\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"7Nu5Y\"\r\n },\r\n \"user\": {\r\n \"id\": \"gqC00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews/ff225480-c040-11e8-93f9-efeb6277a940?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cy9mZjIyNTQ4MC1jMDQwLTExZTgtOTNmOS1lZmViNjI3N2E5NDA/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "ef04a089-0f5f-4a56-a33e-334cb582fcc1" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:07 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.43ad40fc-bfdf-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "921" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/pageViews/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff225480-c040-11e8-93f9-efeb6277a940\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"FOXQW\",\r\n \"parentId\": \"FOXQW\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"7Nu5Y\"\r\n },\r\n \"user\": {\r\n \"id\": \"gqC00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.performanceCounters.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.performanceCounters.json deleted file mode 100644 index 284a1894ea2b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.performanceCounters.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnM/dGltZXNwYW49UDFEJiR0b3A9MQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "b4b5c09f-be7f-4437-bc41-f7b1464a847b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:11 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.7276cbf9-bfd4-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1006" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"8f5af43e-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests In Application Queue\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests In Application Queue\",\r\n \"instance\": \"_LM_W3SVC_1_ROOT_FabrikamProd\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters/8f5af43e-c041-11e8-932e-cd5dae094438?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnMvOGY1YWY0M2UtYzA0MS0xMWU4LTkzMmUtY2Q1ZGFlMDk0NDM4P3RpbWVzcGFuPVAxRA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1e986ef5-7b20-47a5-831f-9dc709f845ba" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:12 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.790b8ed6-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1026" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/performanceCounters/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"8f5af43e-c041-11e8-932e-cd5dae094438\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:33:50.267Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests In Application Queue\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests In Application Queue\",\r\n \"instance\": \"_LM_W3SVC_1_ROOT_FabrikamProd\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.requests.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.requests.json deleted file mode 100644 index 115b3966e487..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.requests.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzP3RpbWVzcGFuPVAxRCYkdG9wPTE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "f0c661d8-b4f8-46d4-9e3c-552c681cd3e9" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:09 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.03dd05d6-bf77-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1366" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b9-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:29.015Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Home/Index\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"success\": \"True\",\r\n \"duration\": 788.778,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests/ada132b9-c041-11e8-bbc3-011041bbe785?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzL2FkYTEzMmI5LWMwNDEtMTFlOC1iYmMzLTAxMTA0MWJiZTc4NT90aW1lc3Bhbj1QMUQ=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "a6df3bc4-0285-4022-b9c7-2c932716e49b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:09 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.31a1c7f5-c02c-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1375" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/requests/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132b9-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:34:29.015Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"parentId\": \"|6000ffc23f944f38ba77de6ab3f04e91.0\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6000ffc23f944f38ba77de6ab3f04e91\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_6000ffc23f944f38ba77de6ab3f04e91\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Home/Index\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"success\": \"True\",\r\n \"duration\": 788.778,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|6000ffc23f944f38ba77de6ab3f04e91.0.84dd66e7_\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.traces.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.traces.json deleted file mode 100644 index 7b625df655ad..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsExtensionTests/GetByTypeAsync.traces.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces?timespan=P1D&$top=1", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcz90aW1lc3Bhbj1QMUQmJHRvcD0x", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "768ffad4-d084-4e27-b45d-8aef8dc2aea3" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:35:45 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1124" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"9406a1f0-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:12.305Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /\",\r\n \"id\": \"6f5434824f084db280580b22cc4b49e8\",\r\n \"parentId\": \"|6f5434824f084db280580b22cc4b49e8.0.84dd66e5_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6f5434824f084db280580b22cc4b49e8\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_6f5434824f084db280580b22cc4b49e8\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces/9406a1f0-c041-11e8-b8ac-91f7dd2bcfca?timespan=P1D", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcy85NDA2YTFmMC1jMDQxLTExZTgtYjhhYy05MWY3ZGQyYmNmY2E/dGltZXNwYW49UDFE", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "84b18d00-e404-416e-a3ba-f13806a23a4a" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:35:53 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c8d3978f-c01b-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1131" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/traces/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"9406a1f0-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:12.305Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /\",\r\n \"id\": \"6f5434824f084db280580b22cc4b49e8\",\r\n \"parentId\": \"|6f5434824f084db280580b22cc4b49e8.0.84dd66e5_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"6f5434824f084db280580b22cc4b49e8\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_6f5434824f084db280580b22cc4b49e8\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetAllEvents.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetAllEvents.json deleted file mode 100644 index 9711e3a155dd..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetAllEvents.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/%24all?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzLyUyNGFsbD90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "4db800d5-bb27-4661-a1cc-8e1b384690bb" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:39 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9c3cda1e-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "9468" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#Collection(Edm.EntityType)\",\r\n \"value\": [\r\n {\r\n \"id\": \"5a649abe-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 765,\r\n \"name\": \"Request Execution Time\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Request Execution Time\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649abb-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 1971032064,\r\n \"name\": \"Available Bytes\",\r\n \"category\": \"Memory\",\r\n \"counter\": \"Available Bytes\",\r\n \"instance\": \"\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649abc-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 3,\r\n \"name\": \"Requests/Sec\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests/Sec\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649ac1-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests In Application Queue\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests In Application Queue\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649ab9-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0.972106389890489,\r\n \"name\": \"% Processor Time\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649abf-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 398491648,\r\n \"name\": \"Private Bytes\",\r\n \"category\": \"Process\",\r\n \"counter\": \"Private Bytes\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649abd-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 23,\r\n \"name\": \"# of Exceps Thrown / sec\",\r\n \"category\": \".NET CLR Exceptions\",\r\n \"counter\": \"# of Exceps Thrown / sec\",\r\n \"instance\": \"??APP_CLR_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649aba-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0.486053194945245,\r\n \"name\": \"% Processor Time Normalized\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time Normalized\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"5a649ac0-c041-11e8-a137-b787b1506f19\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:32:23.07Z\",\r\n \"performanceCounter\": {\r\n \"value\": 22118675,\r\n \"name\": \"IO Data Bytes/sec\",\r\n \"category\": \"Process\",\r\n \"counter\": \"IO Data Bytes/sec\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4d74d631-c041-11e8-937d-f9c616e33c26\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:12.434Z\",\r\n \"trace\": {\r\n \"severityLevel\": 0,\r\n \"message\": \"New Request Received\"\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.25.be60ca0_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.availabilityResults.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.availabilityResults.json deleted file mode 100644 index ef9edb10fcc6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.availabilityResults.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "8126fc94-dbab-4f25-8dc8-728c2a2f2147" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:32:45 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "16671" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"3ca825fe-c041-11e8-9bf2-f7793a66d6e4\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:31:38.782Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"app service home page-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service home page-fabrikamprod_emea-ch-zrh-edge\",\r\n \"WebtestLocationId\": \"emea-ch-zrh-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"parentId\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Home Page\",\r\n \"success\": \"1\",\r\n \"duration\": 1902,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"France South\",\r\n \"id\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Marseille\",\r\n \"stateOrProvince\": \"Bouches-du-Rhône\",\r\n \"countryOrRegion\": \"France\"\r\n }\r\n },\r\n {\r\n \"id\": \"2bcb96d6-c041-11e8-aafd-b722b953cf19\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:31:06.633Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"fabrikam click tickets and employees-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_fabrikam click tickets and employees-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"Fabrikam Click Tickets and Employees\",\r\n \"success\": \"0\",\r\n \"duration\": 1052,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"4 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:31:07 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/10', step #6 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:31:07 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/7', step #13 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:31:07 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/2', step #20 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:31:07 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Details/1', step #36 with the error '500 - InternalServerError'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"2c47a4e1-c041-11e8-a77f-41d39a926f6b\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:59.92Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"app service home page-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service home page-fabrikamprod_emea-au-syd-edge\",\r\n \"WebtestLocationId\": \"emea-au-syd-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"63a42d35c6664b49b0065652c60b20d2\",\r\n \"parentId\": \"63a42d35c6664b49b0065652c60b20d2\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Home Page\",\r\n \"success\": \"1\",\r\n \"duration\": 1653,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"Australia East\",\r\n \"id\": \"63a42d35c6664b49b0065652c60b20d2\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"191a95b8-c041-11e8-b949-05bd8fabc33d\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:41.275Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"dashtest nrt alert-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_dashtest nrt alert-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"6cfbdec539e349bdaa5e75dc075d3dea\",\r\n \"parentId\": \"6cfbdec539e349bdaa5e75dc075d3dea\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"DashTest NRT alert\",\r\n \"success\": \"0\",\r\n \"duration\": 0,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Exception (subtype 'WebException') occured at 09/24/2018 21:30:41 (UTC) for Uri 'http://fabrikamprod.azurewebsites.net', step #1 with the error 'The remote name could not be resolved: 'fabrikamprod.azurewebsites.net'', exception text 'Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException: The following error occurred which may indicate you need to configure a proxy server in your Web test: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' ---> System.Net.WebException: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result) --- End of inner exception stack trace ---', stack trace ' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"6cfbdec539e349bdaa5e75dc075d3dea\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"26e550ff-c041-11e8-b994-c37ca354e4b1\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:38.027Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"vm employees creation-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_vm employees creation-fabrikamprod_us-ca-sjc-azr\",\r\n \"WebtestLocationId\": \"us-ca-sjc-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"290d56c3a2da4ba4b4e819e3d5816e7d\",\r\n \"parentId\": \"290d56c3a2da4ba4b4e819e3d5816e7d\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"VM Employees Creation\",\r\n \"success\": \"0\",\r\n \"duration\": 117,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 404 - NotFound') occured at 09/24/2018 21:30:38 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create', step #1 with the error ''404 - NotFound' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"West US\",\r\n \"id\": \"290d56c3a2da4ba4b4e819e3d5816e7d\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"16bfdce3-c041-11e8-baa7-b1b8d1ba2c9b\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:31.742Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"dashtest nrt alert-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_dashtest nrt alert-fabrikamprod_emea-fr-pra-edge\",\r\n \"WebtestLocationId\": \"emea-fr-pra-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"935128a304d94e76a07a9205fc0a20d6\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"DashTest NRT alert\",\r\n \"success\": \"0\",\r\n \"duration\": 0,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Exception (subtype 'WebException') occured at 09/24/2018 21:30:31 (UTC) for Uri 'http://fabrikamprod.azurewebsites.net', step #1 with the error 'The remote name could not be resolved: 'fabrikamprod.azurewebsites.net'', exception text 'Microsoft.VisualStudio.TestTools.WebTesting.ConnectionFailedWebTestException: The following error occurred which may indicate you need to configure a proxy server in your Web test: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' ---> System.Net.WebException: The remote name could not be resolved: 'fabrikamprod.azurewebsites.net' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result) --- End of inner exception stack trace ---', stack trace ' at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)'.\",\r\n \"location\": \"France Central\",\r\n \"id\": \"935128a304d94e76a07a9205fc0a20d6\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Paris\",\r\n \"stateOrProvince\": \"Paris\",\r\n \"countryOrRegion\": \"France\"\r\n }\r\n },\r\n {\r\n \"id\": \"1b82951f-c041-11e8-98fe-61858dd36641\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:25.583Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"vm employees creation-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_vm employees creation-fabrikamprod_us-fl-mia-edge\",\r\n \"WebtestLocationId\": \"us-fl-mia-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"parentId\": \"4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"VM Employees Creation\",\r\n \"success\": \"0\",\r\n \"duration\": 65,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype 'Unexpected 404 - NotFound') occured at 09/24/2018 21:30:25 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Create', step #1 with the error ''404 - NotFound' does not match the expected status '200 - OK'.'.\",\r\n \"location\": \"Central US\",\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"14b4cb00-c041-11e8-9033-57f6c09be8e8\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:21.093Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"fabrikam click tickets and employees-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_fabrikam click tickets and employees-fabrikamprod_us-ca-sjc-azr\",\r\n \"WebtestLocationId\": \"us-ca-sjc-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"79f12a805eaa410c8f352f6466456cee\",\r\n \"parentId\": \"79f12a805eaa410c8f352f6466456cee\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"Fabrikam Click Tickets and Employees\",\r\n \"success\": \"0\",\r\n \"duration\": 4655,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"4 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:30:21 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/10', step #6 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:30:23 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/7', step #13 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:30:23 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Details/2', step #20 with the error '500 - InternalServerError'.%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:30:25 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Details/1', step #36 with the error '500 - InternalServerError'.\",\r\n \"location\": \"West US\",\r\n \"id\": \"79f12a805eaa410c8f352f6466456cee\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"0e5fd9f2-c041-11e8-aa12-67b92d4d3475\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:05.493Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"vm reports-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_vm reports-fabrikamprod_apac-hk-hkn-azr\",\r\n \"WebtestLocationId\": \"apac-hk-hkn-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"f8a508bd16714b1f8716b75eaa5f6952\",\r\n \"parentId\": \"f8a508bd16714b1f8716b75eaa5f6952\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"VM Reports\",\r\n \"success\": \"1\",\r\n \"duration\": 1112,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"East Asia\",\r\n \"id\": \"f8a508bd16714b1f8716b75eaa5f6952\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Hong Kong\",\r\n \"stateOrProvince\": \"Central and Western District\",\r\n \"countryOrRegion\": \"Hong Kong\"\r\n }\r\n },\r\n {\r\n \"id\": \"0f4d9526-c041-11e8-a8bf-5fab2595eb49\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:30:03.545Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"true\",\r\n \"WebtestArmResourceName\": \"fabrikam create new ticket-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_fabrikam create new ticket-fabrikamprod_us-ca-sjc-azr\",\r\n \"WebtestLocationId\": \"us-ca-sjc-azr\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"62d3c75540af4df9bc301c1c0f05c28f\",\r\n \"parentId\": \"62d3c75540af4df9bc301c1c0f05c28f\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"Fabrikam Create New Ticket\",\r\n \"success\": \"0\",\r\n \"duration\": 1402,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"1 primary requests, 0 dependant requests and 0 conditional rules failed%G%S%M%Http Error (subtype '500 - InternalServerError') occured at 09/24/2018 21:30:04 (UTC) for Uri 'http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Create', step #7 with the error '500 - InternalServerError'.\",\r\n \"location\": \"West US\",\r\n \"id\": \"62d3c75540af4df9bc301c1c0f05c28f\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/availabilityResults/3ca825fe-c041-11e8-9bf2-f7793a66d6e4", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2F2YWlsYWJpbGl0eVJlc3VsdHMvM2NhODI1ZmUtYzA0MS0xMWU4LTliZjItZjc3OTNhNjZkNmU0", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "e1862996-d4e3-4444-9ecc-ef91058bde94" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:00 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1debaf6b-bfde-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1301" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/availabilityResults/$metadata#availabilityResults\",\r\n \"value\": [\r\n {\r\n \"id\": \"3ca825fe-c041-11e8-9bf2-f7793a66d6e4\",\r\n \"count\": 1,\r\n \"type\": \"availabilityResult\",\r\n \"timestamp\": \"2018-09-24T21:31:38.782Z\",\r\n \"customDimensions\": {\r\n \"FullTestResultAvailable\": \"false\",\r\n \"WebtestArmResourceName\": \"app service home page-fabrikamprod\",\r\n \"SyntheticMonitorId\": \"default_app service home page-fabrikamprod_emea-ch-zrh-edge\",\r\n \"WebtestLocationId\": \"emea-ch-zrh-edge\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"parentId\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"\"\r\n },\r\n \"availabilityResult\": {\r\n \"name\": \"App Service Home Page\",\r\n \"success\": \"1\",\r\n \"duration\": 1902,\r\n \"performanceBucket\": \"\",\r\n \"message\": \"Passed\",\r\n \"location\": \"France South\",\r\n \"id\": \"38e0ce615aa24fb990ecb19fe6db817d\",\r\n \"size\": null\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Marseille\",\r\n \"stateOrProvince\": \"Bouches-du-Rhône\",\r\n \"countryOrRegion\": \"France\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.browserTimings.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.browserTimings.json deleted file mode 100644 index fb7754fe15dd..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.browserTimings.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzP3RpbWVzcGFuPVAxRCYkdG9wPTEw", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "2433efff-8e6f-4e69-823d-bf2b287ba869" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "7070" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"5fa31661-bff0-11e8-893a-df98f5a20bc6\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:55.008Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"h/viM\",\r\n \"parentId\": \"h/viM\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 806,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 141,\r\n \"receiveDuration\": 15,\r\n \"processingDuration\": 643\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"5e9528de-bff0-11e8-96dd-1b10334fed87\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:53.219Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"8kMaM\",\r\n \"parentId\": \"8kMaM\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 786,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 2,\r\n \"sendDuration\": 112,\r\n \"receiveDuration\": 4,\r\n \"processingDuration\": 666\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"55e1fc96-bff0-11e8-8d6e-abafe26a7291\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:38.444Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd\",\r\n \"id\": \"6fAn3\",\r\n \"parentId\": \"6fAn3\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd\",\r\n \"totalDuration\": 2018,\r\n \"performanceBucket\": \"1sec-3sec\",\r\n \"networkDuration\": 160,\r\n \"sendDuration\": 424,\r\n \"receiveDuration\": 119,\r\n \"processingDuration\": 1315\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n },\r\n {\r\n \"id\": \"46c19a11-bfbc-11e8-923c-732823f7090e\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:39:55.93Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"I6vaw\",\r\n \"parentId\": \"I6vaw\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"R+gCW\"\r\n },\r\n \"user\": {\r\n \"id\": \"dnVdS\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"http://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 7385,\r\n \"performanceBucket\": \"7sec-15sec\",\r\n \"networkDuration\": 210,\r\n \"sendDuration\": 1946,\r\n \"receiveDuration\": 6,\r\n \"processingDuration\": 5223\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"27ca3400-bfbc-11e8-942c-6740fd3333ef\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:39:05.204Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"KvlRW\",\r\n \"parentId\": \"KvlRW\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"TD84H\"\r\n },\r\n \"user\": {\r\n \"id\": \"KnexQ\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"https://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 1572,\r\n \"performanceBucket\": \"1sec-3sec\",\r\n \"networkDuration\": 97,\r\n \"sendDuration\": 13,\r\n \"receiveDuration\": 62,\r\n \"processingDuration\": 1393\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"6dd28141-bfb8-11e8-a86d-51e58f3d5949\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T05:12:23.717Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"93Dio\",\r\n \"parentId\": \"93Dio\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"TD84H\"\r\n },\r\n \"user\": {\r\n \"id\": \"KnexQ\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"https://fabrikamfiberapp.azurewebsites.net/\",\r\n \"totalDuration\": 6043,\r\n \"performanceBucket\": \"3sec-7sec\",\r\n \"networkDuration\": 875,\r\n \"sendDuration\": 947,\r\n \"receiveDuration\": 5,\r\n \"processingDuration\": 4216\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/browserTimings/607189f1-bff0-11e8-b5a7-b76344f18d93", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2Jyb3dzZXJUaW1pbmdzLzYwNzE4OWYxLWJmZjAtMTFlOC1iNWE3LWI3NjM0NGYxOGQ5Mw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "699b6cbd-1ac3-48e4-8d5d-ae0eb99e373b" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:23 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.23308d31-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1142" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/browserTimings/$metadata#browserTimings\",\r\n \"value\": [\r\n {\r\n \"id\": \"607189f1-bff0-11e8-b5a7-b76344f18d93\",\r\n \"count\": 1,\r\n \"type\": \"browserTiming\",\r\n \"timestamp\": \"2018-09-24T11:52:56.468Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/FabrikamProd/Reports\",\r\n \"id\": \"MA7cD\",\r\n \"parentId\": \"MA7cD\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"Zfxvk\"\r\n },\r\n \"user\": {\r\n \"id\": \"/oZ02\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.20\"\r\n },\r\n \"browserTiming\": {\r\n \"name\": \"Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Reports\",\r\n \"totalDuration\": 585,\r\n \"performanceBucket\": \"500ms-1sec\",\r\n \"networkDuration\": 5,\r\n \"sendDuration\": 167,\r\n \"receiveDuration\": 8,\r\n \"processingDuration\": 403\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"Other\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"Chrome 69.0\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"City of Westminster\",\r\n \"stateOrProvince\": \"City of Westminster\",\r\n \"countryOrRegion\": \"United Kingdom\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customEvents.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customEvents.json deleted file mode 100644 index 778132f8c3b5..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customEvents.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "001ee258-543b-459b-852f-19f0bda0850a" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:31 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.b61bf8d6-bf2d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "8512" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff222d81-c040-11e8-854e-55d4913e5a6f\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"dJxRx\",\r\n \"parentId\": \"dJxRx\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"DMoO7\"\r\n },\r\n \"user\": {\r\n \"id\": \"alI00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Assign Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Bothell\",\r\n \"stateOrProvince\": \"Washington\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1de7b0-c040-11e8-a2d6-01e896f3eb0a\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"iCGDJ\",\r\n \"parentId\": \"iCGDJ\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"ERhlX\"\r\n },\r\n \"user\": {\r\n \"id\": \"aqA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 8.1\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Bothell\",\r\n \"stateOrProvince\": \"Washington\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1e5ce1-c040-11e8-9c4d-a935b3ecedcc\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"GDDa7\",\r\n \"parentId\": \"GDDa7\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"7j5Zb\"\r\n },\r\n \"user\": {\r\n \"id\": \"f0I00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2031a0-c040-11e8-bdb2-0d36b291dc7b\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"52Xf8\",\r\n \"parentId\": \"52Xf8\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"uTtFY\"\r\n },\r\n \"user\": {\r\n \"id\": \"fSD00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2ded40-c040-11e8-9b17-3fceaf5159b4\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"Pq0wh\",\r\n \"parentId\": \"Pq0wh\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"PxoCq\"\r\n },\r\n \"user\": {\r\n \"id\": \"fSH00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff29f5a1-c040-11e8-a863-939e38d7e004\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"bljl/\",\r\n \"parentId\": \"bljl/\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"KkPh/\"\r\n },\r\n \"user\": {\r\n \"id\": \"e4C00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 7\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff58f4f0-c040-11e8-a3c2-c171a2bcc086\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"BQBVh\",\r\n \"parentId\": \"BQBVh\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"ZK3wY\"\r\n },\r\n \"user\": {\r\n \"id\": \"giE00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Create New Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff1ef920-c040-11e8-8531-dfd6349b29fa\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"Otw6s\",\r\n \"parentId\": \"Otw6s\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"UTsw7\"\r\n },\r\n \"user\": {\r\n \"id\": \"dbB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Assign Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff240230-c040-11e8-a9ea-eff0115676ed\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": \"\",\r\n \"customMeasurements\": \"\",\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"FVe94\",\r\n \"parentId\": \"FVe94\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"3u5Vs\"\r\n },\r\n \"user\": {\r\n \"id\": \"dZK00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"Clicked Save Ticket Button\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbUV2ZW50cy8zMDI4MzlmMS1jMDQxLTExZTgtYTEzNy1iNzg3YjE1MDZmMTk=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "8f12675a-d2b7-4973-8afa-7cd39979c5fb" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:38 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9bf23077-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1488" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customEvents/$metadata#customEvents\",\r\n \"value\": [\r\n {\r\n \"id\": \"302839f1-c041-11e8-a137-b787b1506f19\",\r\n \"count\": 1,\r\n \"type\": \"customEvent\",\r\n \"timestamp\": \"2018-09-24T21:30:54.552Z\",\r\n \"customDimensions\": {\r\n \"ProcessId\": \"2496\",\r\n \"SnapshotCollectorConfiguration\": \"{\\\"FailedRequestLimit\\\":3,\\\"IsEnabled\\\":true,\\\"IsEnabledWhenProfiling\\\":true,\\\"IsLowPrioritySnapshotUploader\\\":true,\\\"MaximumCollectionPlanSize\\\":50,\\\"MaximumSnapshotsRequired\\\":3,\\\"ProblemCounterResetInterval\\\":\\\"P1D\\\",\\\"ProvideAnonymousTelemetry\\\":true,\\\"ReconnectInterval\\\":\\\"PT15M\\\",\\\"SnapshotInLowPriorityThread\\\":true,\\\"SnapshotsPerDayLimit\\\":30,\\\"SnapshotsPerTenMinutesLimit\\\":1,\\\"ThresholdForSnapshotting\\\":1}\",\r\n \"HeartbeatInterval\": \"00:30:00\",\r\n \"EventName\": \"Heartbeat\"\r\n },\r\n \"customMeasurements\": {\r\n \"FirstChanceExceptions\": 846,\r\n \"TrackExceptionCalls\": 42\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"\",\r\n \"parentId\": \"\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"14f18d71-fdf0-4ad4-a5ea-789d943a13c6\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sc:1.3.0.0\"\r\n },\r\n \"customEvent\": {\r\n \"name\": \"AppInsightsSnapshotCollectorLogs\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customMetrics.json deleted file mode 100644 index b8cfedb119a0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.customMetrics.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3M/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "cfd28284-f951-42e3-972a-358b72ef088f" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:19 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.13fffd40-c020-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "11163" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"98d44c14-c040-11e8-b194-bfc9586370da\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:27:08.9Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"c1e3b076-c03e-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:14:00.291Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"8056aef4-c03e-11e8-932e-cd5dae094438\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:12:08.895Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"a95f3586-c03c-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:59:00.227Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"67f413eb-c03c-11e8-b194-bfc9586370da\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:57:08.888Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"97ca8bf6-c03a-11e8-9269-538aa81dd28e\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:44:00.183Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4f6f4adb-c03a-11e8-8936-8bc26a313bde\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:42:08.87Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"7f3fa866-c038-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:29:00.124Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"36f1388b-c038-11e8-8936-8bc26a313bde\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T20:27:08.85Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.2117.0\",\r\n \"processSessionId\": \"518c0543-6757-4516-b61c-0ce7e4bc1342\",\r\n \"osType\": \"Win32NT\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/customMetrics/db15a976-c040-11e8-bbc3-011041bbe785", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2N1c3RvbU1ldHJpY3MvZGIxNWE5NzYtYzA0MC0xMWU4LWJiYzMtMDExMDQxYmJlNzg1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "ea9df370-377a-4c4e-bebd-7ad3075fb0a2" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.143676dd-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1370" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/customMetrics/$metadata#customMetrics\",\r\n \"value\": [\r\n {\r\n \"id\": \"db15a976-c040-11e8-bbc3-011041bbe785\",\r\n \"type\": \"customMetric\",\r\n \"timestamp\": \"2018-09-24T21:29:00.336Z\",\r\n \"customMetric\": {\r\n \"value\": 0,\r\n \"name\": \"HeartbeatState\",\r\n \"valueSum\": 0,\r\n \"valueCount\": 1,\r\n \"valueMin\": 0,\r\n \"valueMax\": 0,\r\n \"valueStdDev\": 0\r\n },\r\n \"customDimensions\": {\r\n \"processSessionId\": \"b80407c6-d825-49d6-b0dc-590e4b92d07b\",\r\n \"appSrv_wsStamp\": \"waws-prod-bay-073\",\r\n \"baseSdkTargetFramework\": \"net46\",\r\n \"runtimeFramework\": \"4.7.3130.0\",\r\n \"osType\": \"Win32NT\",\r\n \"appSrv_wsOwner\": \"72993b69-db12-44fc-9a66-9c2005c30513+Fabrikam-WestUSwebspace\",\r\n \"appSrv_SiteName\": \"FabrikamFiberApp\",\r\n \"appSrv_wsHost\": \"fabrikamfiberapp.azurewebsites.net\"\r\n },\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"HeartbeatState\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"hbnet:2.7.0-13435\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.dependencies.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.dependencies.json deleted file mode 100644 index d2c75a50ef8c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.dependencies.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "36562335-7e14-4f1a-a803-d19c232589d8" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:08 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.4760ece2-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "16306" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"4beb28f8-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:11.073Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 16,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f7-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:11.049Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages?numofmessages=1\",\r\n \"success\": \"True\",\r\n \"duration\": 21,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"GET fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_7.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f6-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.978Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages\",\r\n \"success\": \"True\",\r\n \"duration\": 70,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"201\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"POST fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_6.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f5-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.956Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.queue.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber\",\r\n \"success\": \"True\",\r\n \"duration\": 21,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"204\",\r\n \"type\": \"Azure queue\",\r\n \"name\": \"PUT fabrikamaccount/fabrikamfiber\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_5.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f4-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.948Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=list&delimiter=%2F\",\r\n \"success\": \"True\",\r\n \"duration\": 7,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"GET fabrikamaccount\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_4.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f3-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.921Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\",\r\n \"Blob\": \"fabrikam.txt\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber/fabrikam.txt\",\r\n \"success\": \"True\",\r\n \"duration\": 26,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"201\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_3.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f2-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.904Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=acl\",\r\n \"success\": \"True\",\r\n \"duration\": 16,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_2.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f1-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:10.899Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\",\r\n \"Container\": \"fabrikamfiber\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"fabrikamaccount.blob.core.windows.net\",\r\n \"data\": \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container\",\r\n \"success\": \"False\",\r\n \"duration\": 4,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"409\",\r\n \"type\": \"Azure blob\",\r\n \"name\": \"PUT fabrikamaccount\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_1.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"45f0db21-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:00.91Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Create\",\r\n \"id\": \"931d5342f34744ef972a59503f02d214\",\r\n \"parentId\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"931d5342f34744ef972a59503f02d214\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_931d5342f34744ef972a59503f02d214\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip]\\r\\n FROM [dbo].[Customers] AS [Extent1]\",\r\n \"success\": \"True\",\r\n \"duration\": 32,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_4.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"45f0db20-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:00.892Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Create\",\r\n \"id\": \"931d5342f34744ef972a59503f02d214\",\r\n \"parentId\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"931d5342f34744ef972a59503f02d214\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_931d5342f34744ef972a59503f02d214\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT TOP (1) \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\\r\\n WHERE N'NORTHAMERICA\\\\drobbins' = [Extent1].[Identity]\",\r\n \"success\": \"True\",\r\n \"duration\": 15,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_2.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/dependencies/4beb28f8-c041-11e8-8936-8bc26a313bde", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2RlcGVuZGVuY2llcy80YmViMjhmOC1jMDQxLTExZTgtODkzNi04YmMyNmEzMTNiZGU=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "19d5763f-959d-4b04-bcb4-65d607a38490" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:11 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9bf23077-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "3462" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/dependencies/$metadata#dependencies\",\r\n \"value\": [\r\n {\r\n \"id\": \"4beb28f8-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"dependency\",\r\n \"timestamp\": \"2018-09-24T21:32:11.073Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Dependencies', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"rddp:2.7.0-10498\"\r\n },\r\n \"dependency\": {\r\n \"target\": \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"data\": \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"success\": \"True\",\r\n \"duration\": 16,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"\",\r\n \"type\": \"SQL\",\r\n \"name\": \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_9.\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.exceptions.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.exceptions.json deleted file mode 100644 index 08edd664af95..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.exceptions.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "b9fb3244-2db3-41bb-8a59-5bb3e7916c5a" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:32:02 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.d328bd53-c002-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "78327" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"0cec9a80-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:30:25.467Z\",\r\n \"exception\": {\r\n \"severityLevel\": null,\r\n \"problemId\": \"System.Web.HttpException at System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\",\r\n \"method\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"message\": \"\",\r\n \"type\": \"System.Web.HttpException\",\r\n \"outerType\": \"System.Web.HttpException\",\r\n \"outerMethod\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"outerAssembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\",\r\n \"outerMessage\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"innermostType\": \"System.Web.HttpException\",\r\n \"innermostMessage\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"type\": \"System.Web.HttpException\",\r\n \"id\": \"33324146\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Create\",\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"parentId\": \"|4385f6b0b7c1408788be1cbe7ab52951.0.be60c41_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"0b01e181-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:30:22.081Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"id\": \"63245697\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"79f12a805eaa410c8f352f6466456cee\",\r\n \"parentId\": \"|79f12a805eaa410c8f352f6466456cee.5.be60c25_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"79f12a805eaa410c8f352f6466456cee\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_79f12a805eaa410c8f352f6466456cee\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"00fe4072-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:30:05.076Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.Data.SqlClient.SqlException at FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"message\": \"\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"outerType\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"outerMethod\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"outerAssembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"innermostType\": \"System.Data.SqlClient.SqlException\",\r\n \"innermostMessage\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\ServiceLogEntryRepository.cs\",\r\n \"level\": 1,\r\n \"line\": 72,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"FabrikamFiber.Web.Controllers.ServiceTicketsController.Create\",\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.Web\\\\Controllers\\\\ServiceTicketsController.cs\",\r\n \"level\": 2,\r\n \"line\": 130,\r\n \"assembly\": \"FabrikamFiber.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"lambda_method\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c.b__9_0\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`2.CallEndDelegate\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.b__11_0\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass11_1.b__2\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"id\": \"26092736\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"26092736\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.Data.Entity.Core.UpdateException\",\r\n \"id\": \"18491853\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlConnection.OnError\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.TryRun\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.TryConsumeMetaData\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.get_MetaData\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.FinishExecuteReader\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReaderTds\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.ExecuteReader\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"18491853\",\r\n \"message\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"id\": \"66501706\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"POST ServiceTickets/Create\",\r\n \"id\": \"62d3c75540af4df9bc301c1c0f05c28f\",\r\n \"parentId\": \"|62d3c75540af4df9bc301c1c0f05c28f.6.be60c1c_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"62d3c75540af4df9bc301c1c0f05c28f\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-ca-sjc-azr_62d3c75540af4df9bc301c1c0f05c28f\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"eb385e64-c040-11e8-9269-538aa81dd28e\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:29:27.195Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.FormatException at FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"message\": \"\",\r\n \"type\": \"System.FormatException\",\r\n \"outerType\": \"System.FormatException\",\r\n \"outerMethod\": \"System.Number.StringToNumber\",\r\n \"outerAssembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"Input string was not in a correct format.\",\r\n \"innermostType\": \"System.FormatException\",\r\n \"innermostMessage\": \"Input string was not in a correct format.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Number.StringToNumber\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Number.ParseInt32\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Int32.Parse\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\AddressValidator.cs\",\r\n \"level\": 3,\r\n \"line\": 13,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"FabrikamFiber.DAL.Models.Address.FullAddress\",\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Models\\\\Address.cs\",\r\n \"level\": 4,\r\n \"line\": 25,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"ASP._Page_Views_Customers_Details_cshtml.Execute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"App_Web_pdpudhmd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.RunPage\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.RazorView.RenderView\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.BuildManagerCompiledView.Render\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResult\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 24,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 25,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 26,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__151_2\",\r\n \"level\": 27,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 28,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 29,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 30,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute\",\r\n \"level\": 31,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 32,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 33,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 34,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 35,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest\",\r\n \"level\": 36,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 37,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass285_0.b__0\",\r\n \"level\": 38,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 39,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker+<>c__DisplayClass4_0.b__0\",\r\n \"level\": 40,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep\",\r\n \"level\": 41,\r\n \"line\": 0,\r\n \"assembly\": \"Microsoft.AspNet.TelemetryCorrelation, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass284_0.b__0\",\r\n \"level\": 42,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 43,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStepImpl\",\r\n \"level\": 44,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 45,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Input string was not in a correct format.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.FormatException\",\r\n \"id\": \"1141915\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Customers/Details\",\r\n \"id\": \"22e359de8a484dd4829e14775902e3dc\",\r\n \"parentId\": \"|22e359de8a484dd4829e14775902e3dc.0.84dd66d5_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"22e359de8a484dd4829e14775902e3dc\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-au-syd-edge_22e359de8a484dd4829e14775902e3dc\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"eb309631-c040-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:29:27.137Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"ASP._Page_Views_Employees_Details_cshtml.Execute\",\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\Employees\\\\Details.cshtml\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_hvu2l3is, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"id\": \"40277457\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Details\",\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\",\r\n \"parentId\": \"|da4591283cd5468193b55563c701fbb2.35.be60c0e_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_da4591283cd5468193b55563c701fbb2\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"ea075871-c040-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:29:26.226Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"42399369\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\",\r\n \"parentId\": \"|da4591283cd5468193b55563c701fbb2.19.be60bfe_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_da4591283cd5468193b55563c701fbb2\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"e9813882-c040-11e8-a202-bb78ca9a3410\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:29:25.816Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"id\": \"54411077\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\",\r\n \"parentId\": \"|da4591283cd5468193b55563c701fbb2.12.be60bf7_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_da4591283cd5468193b55563c701fbb2\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"e90cf2e1-c040-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:29:25.329Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.NullReferenceException at ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"message\": \"\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"outerType\": \"System.NullReferenceException\",\r\n \"outerMethod\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"outerAssembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"outerMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostType\": \"System.NullReferenceException\",\r\n \"innermostMessage\": \"Object reference not set to an instance of an object.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"ASP._Page_Views_ServiceTickets_Details_cshtml.Execute\",\r\n \"fileName\": \"c:\\\\inetpub\\\\wwwroot\\\\FabrikamProd\\\\Views\\\\ServiceTickets\\\\Details.cshtml\",\r\n \"level\": 0,\r\n \"line\": 13,\r\n \"assembly\": \"App_Web_jz3u2j3t, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Object reference not set to an instance of an object.\",\r\n \"severityLevel\": \"Critical\",\r\n \"type\": \"System.NullReferenceException\",\r\n \"id\": \"51543874\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Details\",\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\",\r\n \"parentId\": \"|da4591283cd5468193b55563c701fbb2.5.be60bf0_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"da4591283cd5468193b55563c701fbb2\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_da4591283cd5468193b55563c701fbb2\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"db15a974-c040-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:28:52.596Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.FormatException at FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"message\": \"\",\r\n \"type\": \"System.FormatException\",\r\n \"outerType\": \"System.FormatException\",\r\n \"outerMethod\": \"System.Number.StringToNumber\",\r\n \"outerAssembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"Input string was not in a correct format.\",\r\n \"innermostType\": \"System.FormatException\",\r\n \"innermostMessage\": \"Input string was not in a correct format.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Number.StringToNumber\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Number.ParseInt32\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Int32.Parse\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\AddressValidator.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.AddressValidator.ValidZipCode\",\r\n \"level\": 3,\r\n \"line\": 13,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Models\\\\Address.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Models.Address.FullAddress\",\r\n \"level\": 4,\r\n \"line\": 25,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"ASP._Page_Views_Customers_Details_cshtml.Execute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"App_Web_pdpudhmd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.WebViewPage.ExecutePageHierarchy\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.RunPage\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.StartPage.ExecutePageHierarchy\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.WebPages.WebPageBase.ExecutePageHierarchy\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.RazorView.RenderView\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.BuildManagerCompiledView.Render\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ViewResultBase.ExecuteResult\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResult\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 24,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 25,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 26,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__151_2\",\r\n \"level\": 27,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 28,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 29,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 30,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute\",\r\n \"level\": 31,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 32,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 33,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResultBase`1.End\",\r\n \"level\": 34,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 35,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest\",\r\n \"level\": 36,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 37,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass285_0.b__0\",\r\n \"level\": 38,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 39,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker+<>c__DisplayClass4_0.b__0\",\r\n \"level\": 40,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep\",\r\n \"level\": 41,\r\n \"line\": 0,\r\n \"assembly\": \"Microsoft.AspNet.TelemetryCorrelation, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+<>c__DisplayClass284_0.b__0\",\r\n \"level\": 42,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+StepInvoker.Invoke\",\r\n \"level\": 43,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStepImpl\",\r\n \"level\": 44,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 45,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"Input string was not in a correct format.\",\r\n \"type\": \"System.FormatException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"9761315\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Customers/Details\",\r\n \"id\": \"c15698e0b49f4d2bbdc3d9fb659a3d17\",\r\n \"parentId\": \"|c15698e0b49f4d2bbdc3d9fb659a3d17.0.84dd66d2_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"c15698e0b49f4d2bbdc3d9fb659a3d17\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_c15698e0b49f4d2bbdc3d9fb659a3d17\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Boydton\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"dc731692-c040-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:28:34.36Z\",\r\n \"exception\": {\r\n \"severityLevel\": 4,\r\n \"problemId\": \"System.Data.SqlClient.SqlException at FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"message\": \"\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"outerType\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"outerMethod\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"outerAssembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"outerMessage\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"innermostType\": \"System.Data.SqlClient.SqlException\",\r\n \"innermostMessage\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.DAL\\\\Data\\\\ServiceLogEntryRepository.cs\",\r\n \"method\": \"FabrikamFiber.DAL.Data.ServiceLogEntryRepository.Save\",\r\n \"level\": 1,\r\n \"line\": 72,\r\n \"assembly\": \"FabrikamFiber.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"fileName\": \"C:\\\\Users\\\\rahulba\\\\Source\\\\Repos\\\\FabrikamFiber\\\\FabrikamFiber.CallCenter\\\\FabrikamFiber.Web\\\\Controllers\\\\ServiceTicketsController.cs\",\r\n \"method\": \"FabrikamFiber.Web.Controllers.ServiceTicketsController.Create\",\r\n \"level\": 2,\r\n \"line\": 130,\r\n \"assembly\": \"FabrikamFiber.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"lambda_method\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"Anonymously Hosted DynamicMethods Assembly, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c.b__9_0\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncResult`2.CallEndDelegate\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters.b__11_0\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+AsyncInvocationWithFilters+<>c__DisplayClass11_1.b__2\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_6.b__3\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker+<>c__DisplayClass3_1.b__5\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 14,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 15,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 16,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 17,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 18,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 19,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 20,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 21,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 22,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 23,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Infrastructure.DbUpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"33017646\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Internal.InternalContext.SaveChanges\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"33017646\",\r\n \"message\": \"An error occurred while updating the entries. See the inner exception for details.\",\r\n \"type\": \"System.Data.Entity.Core.UpdateException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"40006499\"\r\n },\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlConnection.OnError\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.TdsParser.TryRun\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.TryConsumeMetaData\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlDataReader.get_MetaData\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.FinishExecuteReader\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReaderTds\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.RunExecuteReader\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.SqlClient.SqlCommand.ExecuteReader\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader\",\r\n \"level\": 11,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute\",\r\n \"level\": 12,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"method\": \"System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update\",\r\n \"level\": 13,\r\n \"line\": 0,\r\n \"assembly\": \"EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n ],\r\n \"outerId\": \"40006499\",\r\n \"message\": \"The INSERT statement conflicted with the CHECK constraint \\\"chk_read_only_1\\\". The conflict occurred in database \\\"FabrikamlSQL\\\", table \\\"dbo.ServiceTickets\\\".\\r\\nThe statement has been terminated.\",\r\n \"type\": \"System.Data.SqlClient.SqlException\",\r\n \"severityLevel\": \"Critical\",\r\n \"id\": \"24440521\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"POST ServiceTickets/Create\",\r\n \"id\": \"f115ba71374c47529b5422279e059cb0\",\r\n \"parentId\": \"|f115ba71374c47529b5422279e059cb0.6.be60be8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"f115ba71374c47529b5422279e059cb0\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_f115ba71374c47529b5422279e059cb0\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/exceptions/0cec9a80-c041-11e8-83bc-adc0fc6e03ef", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL2V4Y2VwdGlvbnMvMGNlYzlhODAtYzA0MS0xMWU4LTgzYmMtYWRjMGZjNmUwM2Vm", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "943ad642-690d-4328-b061-6c0e23e13c91" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:32:45 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "4178" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/exceptions/$metadata#exceptions\",\r\n \"value\": [\r\n {\r\n \"id\": \"0cec9a80-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"exception\",\r\n \"timestamp\": \"2018-09-24T21:30:25.467Z\",\r\n \"exception\": {\r\n \"severityLevel\": null,\r\n \"problemId\": \"System.Web.HttpException at System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"handledAt\": \"\",\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\",\r\n \"method\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"message\": \"\",\r\n \"type\": \"System.Web.HttpException\",\r\n \"outerType\": \"System.Web.HttpException\",\r\n \"outerMethod\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"outerAssembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\",\r\n \"outerMessage\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"innermostType\": \"System.Web.HttpException\",\r\n \"innermostMessage\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"innermostMethod\": \"\",\r\n \"innermostAssembly\": \"\",\r\n \"details\": [\r\n {\r\n \"parsedStack\": [\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.HandleUnknownAction\",\r\n \"level\": 0,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller+<>c.b__152_1\",\r\n \"level\": 1,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 2,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecuteCore\",\r\n \"level\": 3,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 4,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Controller.EndExecute\",\r\n \"level\": 5,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler+<>c.b__20_1\",\r\n \"level\": 6,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.Async.AsyncResultWrapper+WrappedAsyncVoid`1.CallEndDelegate\",\r\n \"level\": 7,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.Mvc.MvcHandler.EndProcessRequest\",\r\n \"level\": 8,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web.Mvc, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute\",\r\n \"level\": 9,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n },\r\n {\r\n \"method\": \"System.Web.HttpApplication.ExecuteStep\",\r\n \"level\": 10,\r\n \"line\": 0,\r\n \"assembly\": \"System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"\r\n }\r\n ],\r\n \"outerId\": \"0\",\r\n \"message\": \"A public action method 'Create' was not found on controller 'FabrikamFiber.Web.Controllers.EmployeesController'.\",\r\n \"type\": \"System.Web.HttpException\",\r\n \"id\": \"33324146\"\r\n }\r\n ]\r\n },\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Create\",\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"parentId\": \"|4385f6b0b7c1408788be1cbe7ab52951.0.be60c41_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4385f6b0b7c1408788be1cbe7ab52951\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_4385f6b0b7c1408788be1cbe7ab52951\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.pageViews.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.pageViews.json deleted file mode 100644 index 3637f0cd956b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.pageViews.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "6d886c93-101c-42c6-b544-d77586eae7db" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:24 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.790b8ed6-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "8232" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff2f9af0-c040-11e8-9ee6-5320f818f397\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uQCft\",\r\n \"parentId\": \"uQCft\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"HbgDk\"\r\n },\r\n \"user\": {\r\n \"id\": \"ewJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Ubuntu\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff293250-c040-11e8-a3d2-2794445376db\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"gJT/K\",\r\n \"parentId\": \"gJT/K\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"qmbeY\"\r\n },\r\n \"user\": {\r\n \"id\": \"e6E00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"macOS 10.12\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff298070-c040-11e8-b298-15f14a58a11c\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"lhii5\",\r\n \"parentId\": \"lhii5\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"AuTwP\"\r\n },\r\n \"user\": {\r\n \"id\": \"d6E00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.2.6\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sao Goncalo\",\r\n \"stateOrProvince\": \"Rio de Janeiro\",\r\n \"countryOrRegion\": \"Brazil\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2a43c1-c040-11e8-9939-fd204ba19491\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uINwQ\",\r\n \"parentId\": \"uINwQ\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"o6joy\"\r\n },\r\n \"user\": {\r\n \"id\": \"glA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Zapopan\",\r\n \"stateOrProvince\": \"Jalisco\",\r\n \"countryOrRegion\": \"Mexico\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff2e1450-c040-11e8-9c39-6b3b19546ce7\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"CiVVV\",\r\n \"parentId\": \"CiVVV\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"isO95\"\r\n },\r\n \"user\": {\r\n \"id\": \"fjB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.2.6\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 7\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff20f4f1-c040-11e8-bc9b-af0f5f1e51dd\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"1QLLp\",\r\n \"parentId\": \"1QLLp\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"k9jvG\"\r\n },\r\n \"user\": {\r\n \"id\": \"ePI00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.1\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff23b410-c040-11e8-ab88-8d9bdba00fed\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"X6X7P\",\r\n \"parentId\": \"X6X7P\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"2kQi0\"\r\n },\r\n \"user\": {\r\n \"id\": \"eVB00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff37d850-c040-11e8-a051-dfca667ac862\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"DTHqF\",\r\n \"parentId\": \"DTHqF\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"zJXqV\"\r\n },\r\n \"user\": {\r\n \"id\": \"fWA00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff219130-c040-11e8-9a0f-ef0951e91762\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"5Bk66\",\r\n \"parentId\": \"5Bk66\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"sxXwC\"\r\n },\r\n \"user\": {\r\n \"id\": \"f9G00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n },\r\n {\r\n \"id\": \"ff22c9b0-c040-11e8-a5fc-4169f980067c\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"OuKqs\",\r\n \"parentId\": \"OuKqs\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"qSZKX\"\r\n },\r\n \"user\": {\r\n \"id\": \"fiJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Windows 10\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Baotou\",\r\n \"stateOrProvince\": \"Inner Mongolia Autonomous Region\",\r\n \"countryOrRegion\": \"China\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/pageViews/ff2f9af0-c040-11e8-9ee6-5320f818f397", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BhZ2VWaWV3cy9mZjJmOWFmMC1jMDQwLTExZTgtOWVlNi01MzIwZjgxOGYzOTc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "99912236-af0a-4814-9416-6d37db92f124" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:30 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c8d3978f-c01b-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "918" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/pageViews/$metadata#pageViews\",\r\n \"value\": [\r\n {\r\n \"id\": \"ff2f9af0-c040-11e8-9ee6-5320f818f397\",\r\n \"count\": 1,\r\n \"type\": \"pageView\",\r\n \"timestamp\": \"2018-09-24T21:30:00.114Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"/\",\r\n \"id\": \"uQCft\",\r\n \"parentId\": \"uQCft\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"HbgDk\"\r\n },\r\n \"user\": {\r\n \"id\": \"ewJ00\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"javascript:1.0.8\"\r\n },\r\n \"pageView\": {\r\n \"name\": \"Home Page\",\r\n \"url\": \"\",\r\n \"duration\": null,\r\n \"performanceBucket\": \"\",\r\n \"id\": \"\"\r\n },\r\n \"application\": {\r\n \"version\": \"1.3.2\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"Ubuntu\",\r\n \"type\": \"Browser\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Yokohama\",\r\n \"stateOrProvince\": \"Kanagawa\",\r\n \"countryOrRegion\": \"Japan\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.performanceCounters.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.performanceCounters.json deleted file mode 100644 index fea23ca2ab1c..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.performanceCounters.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnM/dGltZXNwYW49UDFEJiR0b3A9MTA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "02697b15-9e83-4a0b-a06d-53bab8ec84d5" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:31:54 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9bf23077-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "9319" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"114482f6-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 398114816,\r\n \"name\": \"Private Bytes\",\r\n \"category\": \"Process\",\r\n \"counter\": \"Private Bytes\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f5-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 451,\r\n \"name\": \"Request Execution Time\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Request Execution Time\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f7-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"IO Data Bytes/sec\",\r\n \"category\": \"Process\",\r\n \"counter\": \"IO Data Bytes/sec\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f8-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests In Application Queue\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests In Application Queue\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f2-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 1884790784,\r\n \"name\": \"Available Bytes\",\r\n \"category\": \"Memory\",\r\n \"counter\": \"Available Bytes\",\r\n \"instance\": \"\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f1-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0.494464822122811,\r\n \"name\": \"% Processor Time Normalized\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time Normalized\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f0-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0.988929644245623,\r\n \"name\": \"% Processor Time\",\r\n \"category\": \"Process\",\r\n \"counter\": \"% Processor Time\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f4-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"# of Exceps Thrown / sec\",\r\n \"category\": \".NET CLR Exceptions\",\r\n \"counter\": \"# of Exceps Thrown / sec\",\r\n \"instance\": \"??APP_CLR_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"114482f3-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0,\r\n \"name\": \"Requests/Sec\",\r\n \"category\": \"ASP.NET Applications\",\r\n \"counter\": \"Requests/Sec\",\r\n \"instance\": \"??APP_W3SVC_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"fe7f36b6-c040-11e8-8936-8bc26a313bde\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:29:49.174Z\",\r\n \"performanceCounter\": {\r\n \"value\": 0.283304572105408,\r\n \"name\": \"# of Exceps Thrown / sec\",\r\n \"category\": \".NET CLR Exceptions\",\r\n \"counter\": \"# of Exceps Thrown / sec\",\r\n \"instance\": \"w3wp\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"Y/bdjmmVotw=\",\r\n \"parentId\": \"|Y/bdjmmVotw=.be5e89d_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"pc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/performanceCounters/114482f6-c041-11e8-b8ac-91f7dd2bcfca", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3BlcmZvcm1hbmNlQ291bnRlcnMvMTE0NDgyZjYtYzA0MS0xMWU4LWI4YWMtOTFmN2RkMmJjZmNh", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "0f3d0cb5-b83a-4493-92e3-d4777c863264" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:32:01 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9bf23077-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1051" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/performanceCounters/$metadata#performanceCounters\",\r\n \"value\": [\r\n {\r\n \"id\": \"114482f6-c041-11e8-b8ac-91f7dd2bcfca\",\r\n \"type\": \"performanceCounter\",\r\n \"timestamp\": \"2018-09-24T21:30:21.944Z\",\r\n \"performanceCounter\": {\r\n \"value\": 398114816,\r\n \"name\": \"Private Bytes\",\r\n \"category\": \"Process\",\r\n \"counter\": \"Private Bytes\",\r\n \"instance\": \"??APP_WIN32_PROC??\"\r\n },\r\n \"customDimensions\": null,\r\n \"operation\": {\r\n \"name\": \"\",\r\n \"id\": \"lMcrkKAhNIA=\",\r\n \"parentId\": \"|lMcrkKAhNIA=.84dbf9e8_\",\r\n \"syntheticSource\": \"\"\r\n },\r\n \"session\": {\r\n \"id\": \"\"\r\n },\r\n \"user\": {\r\n \"id\": \"\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"azwapc:2.7.0-10498\"\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Jose\",\r\n \"stateOrProvince\": \"California\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.requests.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.requests.json deleted file mode 100644 index 47977195d920..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.requests.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzP3RpbWVzcGFuPVAxRCYkdG9wPTEw", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "3cd1858f-f1cc-40e1-ab5c-9d2bf0c0d143" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:11 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.43ad40fc-bfdf-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "12819" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"4d74d630-c041-11e8-937d-f9c616e33c26\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:32:12.413Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.24\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.828,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.24.be60c9f_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28f9-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:32:10.896Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Home/Index\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.2\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Home/Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd\",\r\n \"success\": \"True\",\r\n \"duration\": 205.4437,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.2.be60c89_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"45f0db22-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:32:00.889Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Create\",\r\n \"id\": \"931d5342f34744ef972a59503f02d214\",\r\n \"parentId\": \"|931d5342f34744ef972a59503f02d214.3\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"931d5342f34744ef972a59503f02d214\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_931d5342f34744ef972a59503f02d214\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET ServiceTickets/Create\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/ServiceTickets/Create\",\r\n \"success\": \"True\",\r\n \"duration\": 54.1036,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"40b76c50-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:51.973Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\",\r\n \"parentId\": \"|9c2b00514b9f4139ad79bce399559a01.5\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_9c2b00514b9f4139ad79bce399559a01\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.6843,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|9c2b00514b9f4139ad79bce399559a01.5.be60c77_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Washington\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"403b5e80-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:51.659Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\",\r\n \"parentId\": \"|9c2b00514b9f4139ad79bce399559a01.2\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_9c2b00514b9f4139ad79bce399559a01\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 1.04,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|9c2b00514b9f4139ad79bce399559a01.2.be60c74_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Washington\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27f3daa0-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:07.603Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.39\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.7621,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d5f0d81983264460a8ac3e4577da66a7.39.be60c70_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27e8de21-c041-11e8-ad52-cdd1590dd6c7\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:07.572Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.38\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Employees/Index\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Employees\",\r\n \"success\": \"True\",\r\n \"duration\": 19.2979,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d5f0d81983264460a8ac3e4577da66a7.38.be60c6f_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27f62490-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:07.568Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.37\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 1.0173,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d5f0d81983264460a8ac3e4577da66a7.37.be60c6e_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27cffef1-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:07.565Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.36\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 1.0736,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|d5f0d81983264460a8ac3e4577da66a7.36.be60c6d_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27c9e472-c041-11e8-ad52-cdd1590dd6c7\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:31:07.539Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET Employees/Details\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.35\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET Employees/Details\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Employees/Details/1\",\r\n \"success\": \"False\",\r\n \"duration\": 23.9022,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"500\",\r\n \"source\": \"\",\r\n \"id\": \"|d5f0d81983264460a8ac3e4577da66a7.35.be60c6c_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/requests/4d74d630-c041-11e8-937d-f9c616e33c26", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3JlcXVlc3RzLzRkNzRkNjMwLWMwNDEtMTFlOC05MzdkLWY5YzYxNmUzM2MyNg==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "b67da476-e6d7-4273-985b-c908043b708d" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:18 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9c3cda1e-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1415" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/requests/$metadata#requests\",\r\n \"value\": [\r\n {\r\n \"id\": \"4d74d630-c041-11e8-937d-f9c616e33c26\",\r\n \"count\": 1,\r\n \"type\": \"request\",\r\n \"timestamp\": \"2018-09-24T21:32:12.413Z\",\r\n \"customDimensions\": {\r\n \"_MS.ProcessedByMetricExtractors\": \"(Name:'Requests', Ver:'1.1')\"\r\n },\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.24\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"web:2.7.0-10498\"\r\n },\r\n \"request\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"url\": \"http://aiconnect2.cloudapp.net/FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"success\": \"True\",\r\n \"duration\": 0.828,\r\n \"performanceBucket\": \"<250ms\",\r\n \"resultCode\": \"200\",\r\n \"source\": \"\",\r\n \"id\": \"|4c707c8bfc7545c790a231700e19ecb4.24.be60c9f_\"\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.traces.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.traces.json deleted file mode 100644 index 9ed9cae690e9..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/EventsTests/GetByType.traces.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces?timespan=P1D&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcz90aW1lc3Bhbj1QMUQmJHRvcD0xMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "a5c13ab8-0afc-445d-9c37-c3350807dfd2" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:00 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.89f6aa26-bfc0-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "9981" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"4d74d631-c041-11e8-937d-f9c616e33c26\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:12.434Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.25.be60ca0_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"4beb28fa-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:11.31Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.3.be60c8a_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"45f0db23-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:00.958Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"931d5342f34744ef972a59503f02d214\",\r\n \"parentId\": \"|931d5342f34744ef972a59503f02d214.4.be60c82_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"931d5342f34744ef972a59503f02d214\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_931d5342f34744ef972a59503f02d214\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"45f065f1-c041-11e8-a202-bb78ca9a3410\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:00.891Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET ServiceTickets/Create\",\r\n \"id\": \"931d5342f34744ef972a59503f02d214\",\r\n \"parentId\": \"|931d5342f34744ef972a59503f02d214.3.be60c81_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"931d5342f34744ef972a59503f02d214\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_931d5342f34744ef972a59503f02d214\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"Listing Customers\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"40b76c51-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:52.008Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"POST /FabrikamProd/ServiceTickets/Create\",\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\",\r\n \"parentId\": \"|9c2b00514b9f4139ad79bce399559a01.6.be60c78_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_9c2b00514b9f4139ad79bce399559a01\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Washington\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"403b5e81-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:51.697Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/ServiceTickets/Create\",\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\",\r\n \"parentId\": \"|9c2b00514b9f4139ad79bce399559a01.3.be60c75_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_9c2b00514b9f4139ad79bce399559a01\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Washington\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"3fe9bc1a-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:51.184Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd\",\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\",\r\n \"parentId\": \"|9c2b00514b9f4139ad79bce399559a01.0.be60c72_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"9c2b00514b9f4139ad79bce399559a01\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-va-ash-azr_9c2b00514b9f4139ad79bce399559a01\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Washington\",\r\n \"stateOrProvince\": \"Virginia\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27f3daa1-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:07.606Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.40.be60c71_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27e8de22-c041-11e8-ad52-cdd1590dd6c7\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:07.603Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.39.be60c70_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"27f62491-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:31:07.572Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Employees\",\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\",\r\n \"parentId\": \"|d5f0d81983264460a8ac3e4577da66a7.38.be60c6f_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d5f0d81983264460a8ac3e4577da66a7\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_d5f0d81983264460a8ac3e4577da66a7\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces/4d74d631-c041-11e8-937d-f9c616e33c26", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcy80ZDc0ZDYzMS1jMDQxLTExZTgtOTM3ZC1mOWM2MTZlMzNjMjY=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "b88e89dd-c20e-4884-aac6-092db334f3a3" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:08 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.92e0529c-c03e-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1116" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/traces/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"4d74d631-c041-11e8-937d-f9c616e33c26\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:32:12.434Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\",\r\n \"parentId\": \"|4c707c8bfc7545c790a231700e19ecb4.25.be60ca0_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4c707c8bfc7545c790a231700e19ecb4\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-il-ch1-azr_4c707c8bfc7545c790a231700e19ecb4\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Chicago\",\r\n \"stateOrProvince\": \"Illinois\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics.json deleted file mode 100644 index 8c7dd40c2f5d..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmludGVydmFsPVBUMUgmYWdncmVnYXRpb249YXZn", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "87631651-173e-4b23-b107-c948be48b8bf" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:22 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.143676dd-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1464" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:22.129Z\",\r\n \"end\": \"2018-09-24T21:36:22.129Z\",\r\n \"interval\": \"PT1H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:22.129Z\",\r\n \"end\": \"2018-09-24T10:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 105.6\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T10:00:00Z\",\r\n \"end\": \"2018-09-24T11:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 69.62\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T11:00:00Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 70.79\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T13:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 107.68\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T13:00:00Z\",\r\n \"end\": \"2018-09-24T14:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 89.26\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T14:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 80.35\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T16:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 74.51\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T16:00:00Z\",\r\n \"end\": \"2018-09-24T17:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 77.08\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T17:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 68.23\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T19:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 120.05\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T19:00:00Z\",\r\n \"end\": \"2018-09-24T20:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 81.61\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T20:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 72.63\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:22.129Z\",\r\n \"requests/duration\": {\r\n \"avg\": 69.79\r\n }\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics_AllAggregations.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics_AllAggregations.json deleted file mode 100644 index 45ee06bc77c3..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledMetricsTests/GetIntervaledMetrics_AllAggregations.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg%2Ccount%2Cmin%2Cmax%2Csum", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmludGVydmFsPVBUMUgmYWdncmVnYXRpb249YXZnJTJDY291bnQlMkNtaW4lMkNtYXglMkNzdW0=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "0f9bb909-b1a7-4eed-9cfa-693a76cc4220" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:22 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1debaf6b-bfde-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "2166" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:22.691Z\",\r\n \"end\": \"2018-09-24T21:36:22.691Z\",\r\n \"interval\": \"PT1H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:22.691Z\",\r\n \"end\": \"2018-09-24T10:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 105.6,\r\n \"count\": 1310,\r\n \"min\": 0.53,\r\n \"max\": 23213.2,\r\n \"sum\": 138334.98\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T10:00:00Z\",\r\n \"end\": \"2018-09-24T11:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 69.62,\r\n \"count\": 3229,\r\n \"min\": 0.47,\r\n \"max\": 1261.85,\r\n \"sum\": 224812.35\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T11:00:00Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 70.79,\r\n \"count\": 3293,\r\n \"min\": 0.54,\r\n \"max\": 2401.43,\r\n \"sum\": 233125.35\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T13:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 107.68,\r\n \"count\": 3574,\r\n \"min\": 0.47,\r\n \"max\": 24541.22,\r\n \"sum\": 384849.39\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T13:00:00Z\",\r\n \"end\": \"2018-09-24T14:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 89.26,\r\n \"count\": 3229,\r\n \"min\": 0.45,\r\n \"max\": 2419.42,\r\n \"sum\": 288221.16\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T14:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 80.35,\r\n \"count\": 3220,\r\n \"min\": 0.46,\r\n \"max\": 2109.91,\r\n \"sum\": 258736.07\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T16:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 74.51,\r\n \"count\": 3229,\r\n \"min\": 0.54,\r\n \"max\": 2166.44,\r\n \"sum\": 240594.5\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T16:00:00Z\",\r\n \"end\": \"2018-09-24T17:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 77.08,\r\n \"count\": 3238,\r\n \"min\": 0.53,\r\n \"max\": 2148.49,\r\n \"sum\": 249573.93\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T17:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 68.23,\r\n \"count\": 3231,\r\n \"min\": 0.53,\r\n \"max\": 1251.16,\r\n \"sum\": 220454.5\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T19:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 120.05,\r\n \"count\": 3249,\r\n \"min\": 0.44,\r\n \"max\": 24032.95,\r\n \"sum\": 390037.96\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T19:00:00Z\",\r\n \"end\": \"2018-09-24T20:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 81.61,\r\n \"count\": 3311,\r\n \"min\": 0.53,\r\n \"max\": 23140.65,\r\n \"sum\": 270217.59\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T20:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 72.63,\r\n \"count\": 3186,\r\n \"min\": 0.53,\r\n \"max\": 1664.51,\r\n \"sum\": 231413.96\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:22.691Z\",\r\n \"requests/duration\": {\r\n \"avg\": 69.79,\r\n \"count\": 1863,\r\n \"min\": 0.53,\r\n \"max\": 1537.7,\r\n \"sum\": 130017.24\r\n }\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledMultiSegmentedMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledMultiSegmentedMetrics.json deleted file mode 100644 index 97896193d8b6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledMultiSegmentedMetrics.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg&segment=request%2Fname%2Crequest%2FresultCode", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmludGVydmFsPVBUMUgmYWdncmVnYXRpb249YXZnJnNlZ21lbnQ9cmVxdWVzdCUyRm5hbWUlMkNyZXF1ZXN0JTJGcmVzdWx0Q29kZQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "8b21a9fa-b6d3-48fb-8387-fa5b72709176" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:19 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "17822" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:19.629Z\",\r\n \"end\": \"2018-09-24T21:36:19.629Z\",\r\n \"interval\": \"PT1H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:19.629Z\",\r\n \"end\": \"2018-09-24T10:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 950.88\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 830.09\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 118.45\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 111.11\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Edit\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 97.8\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 44.78\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.45\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.91\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.84\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.01\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.94\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T10:00:00Z\",\r\n \"end\": \"2018-09-24T11:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 759.25\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 478.09\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 116.55\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 110.14\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 48.19\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 23.18\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.79\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.78\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.23\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 13.24\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T11:00:00Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 822.54\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 471.12\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET robots.txt/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 367.67\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Employees\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 190.52\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 142.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Tickets\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 297.02\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 115.94\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 110.35\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Delete\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.96\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Delete\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.14\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 54.54\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T13:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1506.78\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 798.87\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 290.16\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 133.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 115.81\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.31\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 95.19\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 47.55\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 24.06\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.13\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 31.52\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T13:00:00Z\",\r\n \"end\": \"2018-09-24T14:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 946.59\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 531.84\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-ui-1.8.11.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 256.55\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 253.35\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 187.78\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 169.99\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 149.33\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.09\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery.uitablefilter.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 101.5\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 67.86\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T14:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 914.13\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 505.43\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 504.01\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/style.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 496.99\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 258.82\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 173.37\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 130.53\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 109.59\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 45.33\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.51\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.27\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T16:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 951.02\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 467.47\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 199.91\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 195.49\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Edit\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 164.16\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 126.07\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 106.72\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 89.45\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 49.2\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.85\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.61\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T16:00:00Z\",\r\n \"end\": \"2018-09-24T17:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 950.63\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 507.65\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 114.83\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 113.47\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 53.18\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 28.13\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.88\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.6\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.85\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.81\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 15.76\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T17:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 824.29\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 436.87\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 117.01\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 109.21\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 43.52\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.08\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.68\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.94\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.68\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.55\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 11.22\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T19:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 2236.43\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1510.44\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1131.55\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1089.68\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1042.01\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 774.21\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-ui-1.8.11.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 534.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 517.91\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 441.95\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 422.83\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T19:00:00Z\",\r\n \"end\": \"2018-09-24T20:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 845.5\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 565.56\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET robots.txt/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 347.81\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 246.3\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 198.95\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 127.78\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 115.42\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Delete\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 85.67\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 59.48\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 36.16\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.16\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T20:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 812.04\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 497.35\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 110.21\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 109.11\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 49.25\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.39\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.08\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 23.05\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.24\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.53\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 6.9\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:19.629Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 761.64\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 481.82\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 113.98\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.8\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 57.06\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.79\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.41\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.47\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.69\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.28\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 15.69\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledSegmentedMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledSegmentedMetrics.json deleted file mode 100644 index b0fd5a1311cf..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/IntervaledSegmentedMetricsTests/GetIntervaledSegmentedMetrics.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg&segment=request%2FresultCode", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmludGVydmFsPVBUMUgmYWdncmVnYXRpb249YXZnJnNlZ21lbnQ9cmVxdWVzdCUyRnJlc3VsdENvZGU=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1bc912df-17e0-4d0e-95d0-c675ac7697de" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:20 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.7276cbf9-bfd4-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "3645" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:19.94Z\",\r\n \"end\": \"2018-09-24T21:36:19.94Z\",\r\n \"interval\": \"PT1H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:19.94Z\",\r\n \"end\": \"2018-09-24T10:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 211.13\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 93.42\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 2.95\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T10:00:00Z\",\r\n \"end\": \"2018-09-24T11:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 198.54\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 53.28\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 3.08\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T11:00:00Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 210.38\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 52.96\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 9.01\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T13:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 338.26\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 78.44\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 3.38\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T13:00:00Z\",\r\n \"end\": \"2018-09-24T14:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 248.19\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 67.86\r\n },\r\n \"request/resultCode\": \"404\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 67.81\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T14:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 236.47\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 60.43\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 2.91\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T16:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 242.47\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 52.89\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 4\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T16:00:00Z\",\r\n \"end\": \"2018-09-24T17:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 239.75\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 56.3\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 3.57\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T17:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 212.8\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 49.72\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 2.95\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T19:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 271.93\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 100.57\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 59.12\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T19:00:00Z\",\r\n \"end\": \"2018-09-24T20:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 218.98\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 64.22\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 34.94\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T20:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 211.23\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 55.04\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 2.88\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:19.94Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 194.06\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 54.15\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 3.04\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMetric.json deleted file mode 100644 index fb1eca82b218..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMetric.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcw==", - "RequestMethod": "POST", - "RequestBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalMetric\",\r\n \"parameters\": {\r\n \"metricId\": \"requests/duration\",\r\n \"timespan\": \"PT12H\",\r\n \"aggregation\": [\r\n \"avg\"\r\n ],\r\n \"interval\": \"PT3H\"\r\n }\r\n }\r\n]", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "4577c1cf-db95-4364-aa8b-b73cedc03cf6" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "224" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.b61bf8d6-bf2d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "686" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalMetric\",\r\n \"status\": 200,\r\n \"body\": {\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:21.243Z\",\r\n \"end\": \"2018-09-24T21:36:21.243Z\",\r\n \"interval\": \"PT3H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:21.243Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 76.13\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 92.97\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 73.28\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"requests/duration\": {\r\n \"avg\": 91.49\r\n }\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:21.243Z\",\r\n \"requests/duration\": {\r\n \"avg\": 69.79\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n]", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMultiSegmentMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMultiSegmentMetric.json deleted file mode 100644 index de13096dfa21..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalMultiSegmentMetric.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcw==", - "RequestMethod": "POST", - "RequestBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalMultiSegmentMetric\",\r\n \"parameters\": {\r\n \"metricId\": \"requests/duration\",\r\n \"timespan\": \"PT12H\",\r\n \"aggregation\": [\r\n \"avg\"\r\n ],\r\n \"interval\": \"PT3H\",\r\n \"segment\": [\r\n \"request/name\",\r\n \"request/success\"\r\n ]\r\n }\r\n }\r\n]", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "21821a5b-d82b-42ae-acc1-7e2512df52fb" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "318" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:22 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.b61bf8d6-bf2d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "6852" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalMultiSegmentMetric\",\r\n \"status\": 200,\r\n \"body\": {\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:21.845Z\",\r\n \"end\": \"2018-09-24T21:36:21.845Z\",\r\n \"interval\": \"PT3H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:21.845Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 797.33\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 554.53\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET robots.txt/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 367.67\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Employees\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 190.52\r\n },\r\n \"request/success\": \"False\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 142.61\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Tickets\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 297.02\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 116.63\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 110.39\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Edit\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 97.8\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Delete\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.96\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Delete\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.14\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1122.5\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 614.86\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 213.72\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Content/style.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 168.01\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 162.28\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 131.63\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 116.64\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.65\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 101.37\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 96.6\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 908.64\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 470.66\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Edit\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 164.16\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 119.3\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 109.8\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Customers/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 89.45\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 71.46\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 68.37\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 48.63\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 23.55\r\n },\r\n \"request/success\": \"True\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.19\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 899.85\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 802.01\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 612.69\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 612.07\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 512.34\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 392.6\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET robots.txt/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 351.71\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-ui-1.8.11.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 193.1\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout.mapping-latest.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 188.63\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 140.39\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:21.845Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 761.64\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 481.82\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 113.98\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.8\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 57.06\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.79\r\n },\r\n \"request/success\": \"False\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.41\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.47\r\n },\r\n \"request/success\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Employees/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.69\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.28\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 15.69\r\n },\r\n \"request/success\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n]", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalSegmentMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalSegmentMetric.json deleted file mode 100644 index e7c6618a46b1..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedIntervalSegmentMetric.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcw==", - "RequestMethod": "POST", - "RequestBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalSegmentMetric\",\r\n \"parameters\": {\r\n \"metricId\": \"requests/duration\",\r\n \"timespan\": \"PT12H\",\r\n \"aggregation\": [\r\n \"avg\"\r\n ],\r\n \"interval\": \"PT3H\",\r\n \"segment\": [\r\n \"request/name\"\r\n ]\r\n }\r\n }\r\n]", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "d8c0cb04-a90c-4297-972a-ed352370855b" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "285" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.92e0529c-c03e-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "4647" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "[\r\n {\r\n \"id\": \"AggregatedIntervalSegmentMetric\",\r\n \"status\": 200,\r\n \"body\": {\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:21.645Z\",\r\n \"end\": \"2018-09-24T21:36:21.645Z\",\r\n \"interval\": \"PT3H\",\r\n \"segments\": [\r\n {\r\n \"start\": \"2018-09-24T09:36:21.645Z\",\r\n \"end\": \"2018-09-24T12:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 797.33\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 554.53\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 367.67\r\n },\r\n \"request/name\": \"GET robots.txt/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 297.02\r\n },\r\n \"request/name\": \"GET Reports/Tickets\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 178.54\r\n },\r\n \"request/name\": \"GET Reports/Employees\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 116.63\r\n },\r\n \"request/name\": \"POST ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 110.39\r\n },\r\n \"request/name\": \"GET ServiceTickets/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 97.8\r\n },\r\n \"request/name\": \"GET Employees/Edit\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.96\r\n },\r\n \"request/name\": \"GET Customers/Delete\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 84.14\r\n },\r\n \"request/name\": \"GET ServiceTickets/Delete\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T12:00:00Z\",\r\n \"end\": \"2018-09-24T15:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 1122.5\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 614.86\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 213.72\r\n },\r\n \"request/name\": \"GET /Content/themes/base/jquery.ui.all.css\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 168.01\r\n },\r\n \"request/name\": \"GET /Content/style.css\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 162.28\r\n },\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 131.63\r\n },\r\n \"request/name\": \"POST ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 116.64\r\n },\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.65\r\n },\r\n \"request/name\": \"GET ServiceTickets/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 101.37\r\n },\r\n \"request/name\": \"GET /Scripts/knockout.mapping-latest.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 96.6\r\n },\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T15:00:00Z\",\r\n \"end\": \"2018-09-24T18:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 908.64\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 470.66\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 164.16\r\n },\r\n \"request/name\": \"GET ServiceTickets/Edit\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 119.3\r\n },\r\n \"request/name\": \"POST ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 109.8\r\n },\r\n \"request/name\": \"GET ServiceTickets/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 89.45\r\n },\r\n \"request/name\": \"GET Customers/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 71.46\r\n },\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 68.37\r\n },\r\n \"request/name\": \"GET /Scripts/jQuery.tmpl.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 48.63\r\n },\r\n \"request/name\": \"GET ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 28.92\r\n },\r\n \"request/name\": \"GET robots.txt/Index\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T18:00:00Z\",\r\n \"end\": \"2018-09-24T21:00:00Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 899.85\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 802.01\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jQuery.tmpl.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 612.69\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 612.07\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 512.34\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 392.6\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout-1.2.0.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 351.71\r\n },\r\n \"request/name\": \"GET robots.txt/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 193.1\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-ui-1.8.11.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 188.63\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/knockout.mapping-latest.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 140.39\r\n },\r\n \"request/name\": \"GET /Scripts/knockout-1.2.0.js\"\r\n }\r\n ]\r\n },\r\n {\r\n \"start\": \"2018-09-24T21:00:00Z\",\r\n \"end\": \"2018-09-24T21:36:21.645Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 761.64\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 481.82\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 113.98\r\n },\r\n \"request/name\": \"POST ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 108.8\r\n },\r\n \"request/name\": \"GET ServiceTickets/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 57.06\r\n },\r\n \"request/name\": \"GET ServiceTickets/Create\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 22.47\r\n },\r\n \"request/name\": \"GET ServiceTickets/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 21.09\r\n },\r\n \"request/name\": \"GET Employees/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 20.69\r\n },\r\n \"request/name\": \"GET Employees/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 19.28\r\n },\r\n \"request/name\": \"GET ServiceTickets/GetLogEntries\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 15.69\r\n },\r\n \"request/name\": \"GET /Scripts/jquery-1.5.1.min.js\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n]", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedMetric.json deleted file mode 100644 index ed7892b9c97b..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedMetric.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcw==", - "RequestMethod": "POST", - "RequestBody": "[\r\n {\r\n \"id\": \"AggregatedMetric\",\r\n \"parameters\": {\r\n \"metricId\": \"requests/duration\",\r\n \"timespan\": \"PT12H\",\r\n \"aggregation\": [\r\n \"avg\"\r\n ]\r\n }\r\n }\r\n]", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "7dad4be4-5a0e-41a7-85f2-f4d3309c3864" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "189" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.1ba68d48-bfd1-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "161" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "[\r\n {\r\n \"id\": \"AggregatedMetric\",\r\n \"status\": 200,\r\n \"body\": {\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:21.017Z\",\r\n \"end\": \"2018-09-24T21:36:21.017Z\",\r\n \"requests/duration\": {\r\n \"avg\": 83.25\r\n }\r\n }\r\n }\r\n }\r\n]", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedSegmentMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedSegmentMetric.json deleted file mode 100644 index 66aedacce2fd..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/MetricTests/GetMetrics.AggregatedSegmentMetric.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcw==", - "RequestMethod": "POST", - "RequestBody": "[\r\n {\r\n \"id\": \"AggregatedSegmentMetric\",\r\n \"parameters\": {\r\n \"metricId\": \"requests/duration\",\r\n \"timespan\": \"PT12H\",\r\n \"aggregation\": [\r\n \"avg\"\r\n ],\r\n \"segment\": [\r\n \"request/name\"\r\n ]\r\n }\r\n }\r\n]", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "58f01adb-4daa-4d92-97f9-f5f93d41043f" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "250" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:21 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.31a1c7f5-c02c-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "982" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "[\r\n {\r\n \"id\": \"AggregatedSegmentMetric\",\r\n \"status\": 200,\r\n \"body\": {\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:21.44Z\",\r\n \"end\": \"2018-09-24T21:36:21.44Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 930.95\r\n },\r\n \"request/name\": \"GET Customers/Details\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 559.83\r\n },\r\n \"request/name\": \"GET Home/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 297.02\r\n },\r\n \"request/name\": \"GET Reports/Tickets\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 275\r\n },\r\n \"request/name\": \"GET robots.txt/Index\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 229.34\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jQuery.tmpl.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 178.54\r\n },\r\n \"request/name\": \"GET Reports/Employees\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 176.04\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 164.16\r\n },\r\n \"request/name\": \"GET ServiceTickets/Edit\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 139.61\r\n },\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 124.57\r\n },\r\n \"request/name\": \"POST ServiceTickets/Create\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n]", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecutePostQueryWithTimespan_DemoWorkspace.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecutePostQueryWithTimespan_DemoWorkspace.json deleted file mode 100644 index 88139ef15bea..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecutePostQueryWithTimespan_DemoWorkspace.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/query", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvcXVlcnk=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"query\": \"union * | take 25\",\r\n \"timespan\": \"PT1H\"\r\n}", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true,include-render=true,include-statistics=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "d0da14de-9f4a-439d-9019-4ef66c205c57" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "59" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:41 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.790b8ed6-c005-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "24709" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"tables\": [\r\n {\r\n \"name\": \"PrimaryResult\",\r\n \"columns\": [\r\n {\r\n \"name\": \"timestamp\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"message\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"severityLevel\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"itemType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"customDimensions\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"customMeasurements\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"operation_Name\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_ParentId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_SyntheticSource\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"session_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_AuthenticatedId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_AccountId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"application_Version\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Model\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_OS\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_IP\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_City\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_StateOrProvince\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_CountryOrRegion\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Browser\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"cloud_RoleName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"cloud_RoleInstance\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"appId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"appName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"iKey\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sdkVersion\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"itemId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"itemCount\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"name\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"url\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"duration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"performanceBucket\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"source\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"success\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"resultCode\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"target\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"data\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"problemId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"handledAt\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"assembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"method\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerMessage\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerAssembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerMethod\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostMessage\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostAssembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostMethod\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"details\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"location\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"size\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"value\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueCount\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"valueSum\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueMin\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueMax\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueStdDev\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"category\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"counter\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"instance\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"networkDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"sendDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"receiveDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"processingDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"totalDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"OperationName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Level\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ActivityStatus\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ActivitySubstatus\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceGroup\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"SubscriptionId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CorrelationId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Caller\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CallerIpAddress\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Category\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"HTTPRequest\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Properties\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"EventSubmissionTimestamp\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"Authorization\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"OperationId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceProvider\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Resource\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"EventDataId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"TenantId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"TimeGenerated\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"SourceSystem\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ingestionTime\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"col_0\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_1\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_2\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_3\",\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"rows\": [\r\n [\r\n \"2018-09-24T20:33:44.0449485Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /\",\r\n \"43bf5bcd27114f3db2fafcfafe404719\",\r\n \"|43bf5bcd27114f3db2fafcfafe404719.0.84dd65ea_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"43bf5bcd27114f3db2fafcfafe404719\",\r\n \"emea-se-sto-edge_43bf5bcd27114f3db2fafcfafe404719\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Cardiff\",\r\n \"Cardiff\",\r\n \"United Kingdom\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"216d9a29-c039-11e8-9269-538aa81dd28e\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:33:48.8133537Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /\",\r\n \"ftgj5FzrLYM=\",\r\n \"|ftgj5FzrLYM=.84dd65eb_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"24426509-c039-11e8-bbc3-011041bbe785\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:33:52.0947382Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /Customers/Details/8469\",\r\n \"86f8df4315d746e38085c85ff720bb74\",\r\n \"|86f8df4315d746e38085c85ff720bb74.0.84dd65ec_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"86f8df4315d746e38085c85ff720bb74\",\r\n \"us-va-ash-azr_86f8df4315d746e38085c85ff720bb74\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Boydton\",\r\n \"Virginia\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"26370919-c039-11e8-b8ac-91f7dd2bcfca\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:12.0565242Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /\",\r\n \"6c1d9fc8fd3d4ddb9b50f9c985b31a8f\",\r\n \"|6c1d9fc8fd3d4ddb9b50f9c985b31a8f.0.84dd65ed_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"6c1d9fc8fd3d4ddb9b50f9c985b31a8f\",\r\n \"us-ca-sjc-azr_6c1d9fc8fd3d4ddb9b50f9c985b31a8f\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Jose\",\r\n \"California\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"323122f0-c039-11e8-9269-538aa81dd28e\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:24.791349Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.2.be60057_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"39c54aa0-c039-11e8-8936-8bc26a313bde\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.1052559Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.3.be60058_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"39e4b989-c039-11e8-be55-0363482d7ebf\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.1330691Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.4.be60059_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"39e6b551-c039-11e8-83bc-adc0fc6e03ef\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.1630689Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/Details/10\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.5.be6005a_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a0a69f1-c039-11e8-b194-bfc9586370da\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.2100704Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.6.be6005b_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a278ee3-c039-11e8-bdc7-23826b528d11\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.2360701Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.7.be6005c_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a26f2a2-c039-11e8-83bc-adc0fc6e03ef\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.2609083Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/GetLogEntries/10\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.8.be6005d_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a485d59-c039-11e8-b531-f12218fc06e4\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.3047658Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.9.be6005e_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a60c752-c039-11e8-a202-bb78ca9a3410\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.5720601Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.10.be6005f_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a675703-c039-11e8-83bc-adc0fc6e03ef\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.6606404Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.11.be60060_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a823201-c039-11e8-be55-0363482d7ebf\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.6856421Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/Details/7\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.12.be60061_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a834371-c039-11e8-b194-bfc9586370da\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.7312806Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.13.be60062_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3a996383-c039-11e8-83bc-adc0fc6e03ef\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.7562809Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.14.be60063_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3aa5e6a1-c039-11e8-a202-bb78ca9a3410\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.780723Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/GetLogEntries/7\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.15.be60064_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3abc54d1-c039-11e8-932e-cd5dae094438\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:25.8239307Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.16.be60065_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3adde692-c039-11e8-b194-bfc9586370da\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.0411469Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.17.be60066_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3aeadee2-c039-11e8-bdc7-23826b528d11\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.0721447Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.18.be60067_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3aef24a1-c039-11e8-bd5f-9f112225a55a\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.0971469Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/Details/2\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.19.be60068_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3b1bb2e1-c039-11e8-8936-8bc26a313bde\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.1431455Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.20.be60069_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3b326f31-c039-11e8-bdc7-23826b528d11\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.1681619Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.21.be6006a_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3b285d11-c039-11e8-83bc-adc0fc6e03ef\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-24T20:34:26.1929374Z\",\r\n \"New Request Received\",\r\n 0,\r\n \"trace\",\r\n null,\r\n null,\r\n \"GET /FabrikamProd/ServiceTickets/GetLogEntries/2\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"|2b56093be0af47f3a95ec323b28d54c3.22.be6006b_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"2b56093be0af47f3a95ec323b28d54c3\",\r\n \"us-tx-sn1-azr_2b56093be0af47f3a95ec323b28d54c3\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"sd:2.6.4-28971\",\r\n \"3b490471-c039-11e8-8936-8bc26a313bde\",\r\n 1,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ]\r\n ]\r\n }\r\n ],\r\n \"render\": {\r\n \"visualization\": null,\r\n \"title\": null,\r\n \"accumulate\": false,\r\n \"isQuerySorted\": false,\r\n \"kind\": null\r\n },\r\n \"statistics\": {\r\n \"query\": {\r\n \"executionTime\": 0.1718893,\r\n \"resourceUsage\": {\r\n \"cache\": {\r\n \"memory\": {\r\n \"hits\": 104,\r\n \"misses\": 0,\r\n \"total\": 104\r\n },\r\n \"disk\": {\r\n \"hits\": 0,\r\n \"misses\": 0,\r\n \"total\": 0\r\n }\r\n },\r\n \"cpu\": {\r\n \"user\": \"00:00:00\",\r\n \"kernel\": \"00:00:00.0156250\",\r\n \"totalCpu\": \"00:00:00.0156250\"\r\n },\r\n \"memory\": {\r\n \"peakPerNode\": 218104864\r\n }\r\n },\r\n \"inputDatasetStatistics\": {\r\n \"extents\": {\r\n \"total\": 12864,\r\n \"scanned\": 55\r\n },\r\n \"rows\": {\r\n \"total\": 25556128015,\r\n \"scanned\": 4660933\r\n }\r\n },\r\n \"datasetStatistics\": [\r\n {\r\n \"tableRowCount\": 25,\r\n \"tableSize\": 15334\r\n }\r\n ]\r\n }\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecuteSimplePostQuery_DemoWorkspace.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecuteSimplePostQuery_DemoWorkspace.json deleted file mode 100644 index 905efe4673d6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/CanExecuteSimplePostQuery_DemoWorkspace.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/query", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvcXVlcnk=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"query\": \"union * | take 25\"\r\n}", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true,include-render=true,include-statistics=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "1a1a1d54-d004-45b0-8d48-7416f0114b37" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "36" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:35:42 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c31b8ea8-c036-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "45262" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"tables\": [\r\n {\r\n \"name\": \"PrimaryResult\",\r\n \"columns\": [\r\n {\r\n \"name\": \"timestamp\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"message\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"severityLevel\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"itemType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"customDimensions\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"customMeasurements\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"operation_Name\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_ParentId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"operation_SyntheticSource\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"session_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_Id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_AuthenticatedId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"user_AccountId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"application_Version\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Model\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_OS\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_IP\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_City\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_StateOrProvince\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_CountryOrRegion\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"client_Browser\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"cloud_RoleName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"cloud_RoleInstance\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"appId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"appName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"iKey\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"sdkVersion\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"itemId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"itemCount\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"name\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"id\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"url\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"duration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"performanceBucket\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"source\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"success\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"resultCode\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"target\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"data\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"problemId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"handledAt\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"assembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"method\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerMessage\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerAssembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"outerMethod\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostType\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostMessage\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostAssembly\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"innermostMethod\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"details\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"location\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"size\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"value\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueCount\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"valueSum\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueMin\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueMax\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"valueStdDev\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"category\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"counter\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"instance\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"networkDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"sendDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"receiveDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"processingDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"totalDuration\",\r\n \"type\": \"real\"\r\n },\r\n {\r\n \"name\": \"OperationName\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Level\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ActivityStatus\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ActivitySubstatus\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceGroup\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"SubscriptionId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CorrelationId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Caller\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"CallerIpAddress\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Category\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"HTTPRequest\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Properties\",\r\n \"type\": \"dynamic\"\r\n },\r\n {\r\n \"name\": \"EventSubmissionTimestamp\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"Authorization\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"OperationId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ResourceProvider\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Resource\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"EventDataId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"TenantId\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"TimeGenerated\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"SourceSystem\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"Type\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"ingestionTime\",\r\n \"type\": \"datetime\"\r\n },\r\n {\r\n \"name\": \"col_0\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_1\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_2\",\r\n \"type\": \"string\"\r\n },\r\n {\r\n \"name\": \"col_3\",\r\n \"type\": \"string\"\r\n }\r\n ],\r\n \"rows\": [\r\n [\r\n \"2018-09-23T19:11:55.6050869Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"POST ServiceTickets/Create\",\r\n \"aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"|aa7bf3e81d8e4a93bdac383b33b5118d.6.e8217e99_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"us-fl-mia-edge_aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Des Moines\",\r\n \"Iowa\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"8f9176f1-bf64-11e8-b622-cf26fd08d742\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|omBovw6VuS0=.e8217e9b_\",\r\n \"\",\r\n 15,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT TOP (1) \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\\r\\n WHERE N'NORTHAMERICA\\\\drobbins' = [Extent1].[Identity]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:11:55.6382998Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"ErrorMessage\\\":\\\"The INSERT statement conflicted with the CHECK constraint \\\\\\\"chk_read_only_1\\\\\\\". The conflict occurred in database \\\\\\\"FabrikamlSQL\\\\\\\", table \\\\\\\"dbo.ServiceTickets\\\\\\\".\\\\r\\\\nThe statement has been terminated.\\\"}\",\r\n null,\r\n \"POST ServiceTickets/Create\",\r\n \"aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"|aa7bf3e81d8e4a93bdac383b33b5118d.6.e8217e99_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"us-fl-mia-edge_aa7bf3e81d8e4a93bdac383b33b5118d\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Des Moines\",\r\n \"Iowa\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"8f9176f2-bf64-11e8-b622-cf26fd08d742\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|VIJs6Nw8r88=.e8217e9d_\",\r\n \"\",\r\n 16,\r\n \"<250ms\",\r\n \"\",\r\n \"False\",\r\n \"547\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"INSERT [dbo].[ServiceTickets]([Title], [Description], [Status], [StatusValue], [EscalationLevel], [Opened], [Closed], [CustomerID], [CreatedByID], [AssignedToID])\\r\\nVALUES (@0, @1, @2, @3, @4, @5, NULL, NULL, NULL, NULL)\\r\\nSELECT [ID]\\r\\nFROM [dbo].[ServiceTickets]\\r\\nWHERE @@ROWCOUNT > 0 AND [ID] = scope_identity()\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:06.4549167Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET ServiceTickets/Index\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.9.e8217ea5_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"90469620-bf64-11e8-8774-03891f79eb42\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.9.e8217ea5_2.\",\r\n \"\",\r\n 16,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:06.8239551Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET ServiceTickets/Details\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.12.e8217ea9_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"90c514f0-bf64-11e8-bb0c-9127b97fd14d\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.12.e8217ea9_2.\",\r\n \"\",\r\n 15,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Limit1].[ID] AS [ID], \\r\\n [Limit1].[Title] AS [Title], \\r\\n [Limit1].[Description] AS [Description], \\r\\n [Limit1].[Status] AS [Status], \\r\\n [Limit1].[StatusValue] AS [StatusValue], \\r\\n [Limit1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Limit1].[Opened] AS [Opened], \\r\\n [Limit1].[Closed] AS [Closed], \\r\\n [Limit1].[CustomerID] AS [CustomerID], \\r\\n [Limit1].[CreatedByID] AS [CreatedByID], \\r\\n [Limit1].[AssignedToID] AS [AssignedToID], \\r\\n [Limit1].[ID1] AS [ID1], \\r\\n [Limit1].[FirstName] AS [FirstName], \\r\\n [Limit1].[LastName] AS [LastName], \\r\\n [Limit1].[Address_Street] AS [Address_Street], \\r\\n [Limit1].[Address_City] AS [Address_City], \\r\\n [Limit1].[Address_State] AS [Address_State], \\r\\n [Limit1].[Address_Zip] AS [Address_Zip], \\r\\n [Limit1].[ID2] AS [ID2], \\r\\n [Limit1].[FirstName1] AS [FirstName1], \\r\\n [Limit1].[LastName1] AS [LastName1], \\r\\n [Limit1].[Address_Street1] AS [Address_Street1], \\r\\n [Limit1].[Address_City1] AS [Address_City1], \\r\\n [Limit1].[Address_State1] AS [Address_State1], \\r\\n [Limit1].[Address_Zip1] AS [Address_Zip1], \\r\\n [Limit1].[Identity] AS [Identity], \\r\\n [Limit1].[ServiceAreas] AS [ServiceAreas], \\r\\n [Limit1].[ID3] AS [ID3], \\r\\n [Limit1].[FirstName2] AS [FirstName2], \\r\\n [Limit1].[LastName2] AS [LastName2], \\r\\n [Limit1].[Address_Street2] AS [Address_Street2], \\r\\n [Limit1].[Address_City2] AS [Address_City2], \\r\\n [Limit1].[Address_State2] AS [Address_State2], \\r\\n [Limit1].[Address_Zip2] AS [Address_Zip2], \\r\\n [Limit1].[Identity1] AS [Identity1], \\r\\n [Limit1].[ServiceAreas1] AS [ServiceAreas1]\\r\\n FROM ( SELECT TOP (1) \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\\r\\n WHERE [Extent1].[ID] = @p__linq__0\\r\\n ) AS [Limit1]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:06.9318154Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET ServiceTickets/Index\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.16.e8217ead_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"91199d90-bf64-11e8-a828-e5d3da7dec74\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.16.e8217ead_2.\",\r\n \"\",\r\n 16,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:07.2171424Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET ServiceTickets/GetLogEntries\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.22.e8217eb4_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"919a6651-bf64-11e8-bafb-b753ead21d61\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.22.e8217eb4_2.\",\r\n \"\",\r\n 15,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[CreatedAt] AS [CreatedAt], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[ServiceTicketID] AS [ServiceTicketID]\\r\\n FROM [dbo].[ServiceLogEntries] AS [Extent1]\\r\\n WHERE [Extent1].[ServiceTicketID] = @p__linq__0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:07.2513563Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET ServiceTickets/Index\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.23.e8217eb5_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"91b7b251-bf64-11e8-9d35-d796d17be315\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.23.e8217eb5_2.\",\r\n \"\",\r\n 16,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:07.5242164Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Employees/Index\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.26.e8217eb8_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"91e30810-bf64-11e8-8a2f-8788710137b8\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.26.e8217eb8_2.\",\r\n \"\",\r\n 15,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:07.8470919Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Employees/Details\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.35.e8217ec1_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"188b3d30ffe84073b302b4181d27b24e\",\r\n \"us-il-ch1-azr_188b3d30ffe84073b302b4181d27b24e\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"\",\r\n \"AIConnect2\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"9284c650-bf64-11e8-8f46-7dfcef1633c8\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|188b3d30ffe84073b302b4181d27b24e.35.e8217ec1_2.\",\r\n \"\",\r\n 15,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT TOP (2) \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip], \\r\\n [Extent1].[Identity] AS [Identity], \\r\\n [Extent1].[ServiceAreas] AS [ServiceAreas]\\r\\n FROM [dbo].[Employees] AS [Extent1]\\r\\n WHERE [Extent1].[ID] = @p0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:19.7340967Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b10-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|zgq5aqEohjM=.84dd4cb0_1.\",\r\n \"\",\r\n 53,\r\n \"<250ms\",\r\n \"\",\r\n \"False\",\r\n \"409\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:19.7966095Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b11-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|zgq5aqEohjM=.84dd4cb0_2.\",\r\n \"\",\r\n 128,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=acl\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:19.9216091Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\",\\\"Blob\\\":\\\"fabrikam.txt\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b12-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|zgq5aqEohjM=.84dd4cb0_3.\",\r\n \"\",\r\n 128,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"201\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber/fabrikam.txt\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:20.0466094Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b13-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"GET fabrikamaccount\",\r\n \"|zgq5aqEohjM=.84dd4cb0_4.\",\r\n \"\",\r\n 74,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=list&delimiter=%2F\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:20.1349261Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b14-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"PUT fabrikamaccount/fabrikamfiber\",\r\n \"|zgq5aqEohjM=.84dd4cb0_5.\",\r\n \"\",\r\n 47,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"204\",\r\n \"fabrikamaccount.queue.core.windows.net\",\r\n \"Azure queue\",\r\n \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:20.175203Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b15-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"POST fabrikamaccount/fabrikamfiber\",\r\n \"|zgq5aqEohjM=.84dd4cb0_6.\",\r\n \"\",\r\n 255,\r\n \"250ms-500ms\",\r\n \"\",\r\n \"True\",\r\n \"201\",\r\n \"fabrikamaccount.queue.core.windows.net\",\r\n \"Azure queue\",\r\n \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:20.425219Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b16-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"GET fabrikamaccount/fabrikamfiber\",\r\n \"|zgq5aqEohjM=.84dd4cb0_7.\",\r\n \"\",\r\n 92,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.queue.core.windows.net\",\r\n \"Azure queue\",\r\n \"https://fabrikamaccount.queue.core.windows.net:443/fabrikamfiber/messages?numofmessages=1\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:20.5189718Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"zgq5aqEohjM=\",\r\n \"|zgq5aqEohjM=.84dd4cb0_\",\r\n \"Bot\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a3286b17-bf64-11e8-9cbe-f9dfdbdbab7e\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|zgq5aqEohjM=.84dd4cb0_9.\",\r\n \"\",\r\n 58,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[Title] AS [Title], \\r\\n [Extent1].[Description] AS [Description], \\r\\n [Extent1].[Status] AS [Status], \\r\\n [Extent1].[StatusValue] AS [StatusValue], \\r\\n [Extent1].[EscalationLevel] AS [EscalationLevel], \\r\\n [Extent1].[Opened] AS [Opened], \\r\\n [Extent1].[Closed] AS [Closed], \\r\\n [Extent1].[CustomerID] AS [CustomerID], \\r\\n [Extent1].[CreatedByID] AS [CreatedByID], \\r\\n [Extent1].[AssignedToID] AS [AssignedToID], \\r\\n [Extent2].[ID] AS [ID1], \\r\\n [Extent2].[FirstName] AS [FirstName], \\r\\n [Extent2].[LastName] AS [LastName], \\r\\n [Extent2].[Address_Street] AS [Address_Street], \\r\\n [Extent2].[Address_City] AS [Address_City], \\r\\n [Extent2].[Address_State] AS [Address_State], \\r\\n [Extent2].[Address_Zip] AS [Address_Zip], \\r\\n [Extent3].[ID] AS [ID2], \\r\\n [Extent3].[FirstName] AS [FirstName1], \\r\\n [Extent3].[LastName] AS [LastName1], \\r\\n [Extent3].[Address_Street] AS [Address_Street1], \\r\\n [Extent3].[Address_City] AS [Address_City1], \\r\\n [Extent3].[Address_State] AS [Address_State1], \\r\\n [Extent3].[Address_Zip] AS [Address_Zip1], \\r\\n [Extent3].[Identity] AS [Identity], \\r\\n [Extent3].[ServiceAreas] AS [ServiceAreas], \\r\\n [Extent4].[ID] AS [ID3], \\r\\n [Extent4].[FirstName] AS [FirstName2], \\r\\n [Extent4].[LastName] AS [LastName2], \\r\\n [Extent4].[Address_Street] AS [Address_Street2], \\r\\n [Extent4].[Address_City] AS [Address_City2], \\r\\n [Extent4].[Address_State] AS [Address_State2], \\r\\n [Extent4].[Address_Zip] AS [Address_Zip2], \\r\\n [Extent4].[Identity] AS [Identity1], \\r\\n [Extent4].[ServiceAreas] AS [ServiceAreas1]\\r\\n FROM [dbo].[ServiceTickets] AS [Extent1]\\r\\n LEFT OUTER JOIN [dbo].[Customers] AS [Extent2] ON [Extent1].[CustomerID] = [Extent2].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent3] ON [Extent1].[CreatedByID] = [Extent3].[ID]\\r\\n LEFT OUTER JOIN [dbo].[Employees] AS [Extent4] ON [Extent1].[AssignedToID] = [Extent4].[ID]\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:38.8960495Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Customers/Details\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"us-il-ch1-azr_3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a591f100-bf64-11e8-8921-1fc98b8842dc\",\r\n 1,\r\n \"SQL: tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_2.\",\r\n \"\",\r\n 58,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"\",\r\n \"tcp:fabrikamxyz.database.windows.net,1433 | FabrikamlSQL\",\r\n \"SQL\",\r\n \"SELECT TOP (2) \\r\\n [Extent1].[ID] AS [ID], \\r\\n [Extent1].[FirstName] AS [FirstName], \\r\\n [Extent1].[LastName] AS [LastName], \\r\\n [Extent1].[Address_Street] AS [Address_Street], \\r\\n [Extent1].[Address_City] AS [Address_City], \\r\\n [Extent1].[Address_State] AS [Address_State], \\r\\n [Extent1].[Address_Zip] AS [Address_Zip]\\r\\n FROM [dbo].[Customers] AS [Extent1]\\r\\n WHERE [Extent1].[ID] = @p0\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:38.9585471Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Customers/Details\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"us-il-ch1-azr_3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a591f101-bf64-11e8-8921-1fc98b8842dc\",\r\n 1,\r\n \"POST fabrikamaccount/Tables\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_3.\",\r\n \"\",\r\n 131,\r\n \"<250ms\",\r\n \"\",\r\n \"False\",\r\n \"409\",\r\n \"fabrikamaccount.table.core.windows.net\",\r\n \"Azure table\",\r\n \"https://fabrikamaccount.table.core.windows.net:443/Tables()\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:39.0991825Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Customers/Details\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"us-il-ch1-azr_3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a591f102-bf64-11e8-8921-1fc98b8842dc\",\r\n 1,\r\n \"POST fabrikamaccount/fabrikamfiber\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_4.\",\r\n \"\",\r\n 209,\r\n \"<250ms\",\r\n \"\",\r\n \"False\",\r\n \"409\",\r\n \"fabrikamaccount.table.core.windows.net\",\r\n \"Azure table\",\r\n \"https://fabrikamaccount.table.core.windows.net:443/fabrikamfiber()\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:39.3023365Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\"}\",\r\n null,\r\n \"GET Customers/Details\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"us-il-ch1-azr_3a2dc258ce8f4d68828cd62b145d47e6\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"Chicago\",\r\n \"Illinois\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"a591f103-bf64-11e8-8921-1fc98b8842dc\",\r\n 1,\r\n \"GET fabrikamaccount/fabrikamfiber\",\r\n \"|3a2dc258ce8f4d68828cd62b145d47e6.0.84dd4cb1_5.\",\r\n \"\",\r\n 53,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.table.core.windows.net\",\r\n \"Azure table\",\r\n \"https://fabrikamaccount.table.core.windows.net:443/fabrikamfiber(PartitionKey='Taylor',RowKey='Dan')\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:42.9645176Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"us-tx-sn1-azr_e4a921521cf5474095355630d06ceb62\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"ab559e70-bf64-11e8-8850-a3a6e626541f\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_1.\",\r\n \"\",\r\n 55,\r\n \"<250ms\",\r\n \"\",\r\n \"False\",\r\n \"409\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:43.0270147Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"us-tx-sn1-azr_e4a921521cf5474095355630d06ceb62\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"ab559e71-bf64-11e8-8850-a3a6e626541f\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_2.\",\r\n \"\",\r\n 129,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=acl\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:43.1520225Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\",\\\"Blob\\\":\\\"fabrikam.txt\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"us-tx-sn1-azr_e4a921521cf5474095355630d06ceb62\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"ab559e72-bf64-11e8-8850-a3a6e626541f\",\r\n 1,\r\n \"PUT fabrikamaccount\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_3.\",\r\n \"\",\r\n 129,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"201\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber/fabrikam.txt\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ],\r\n [\r\n \"2018-09-23T19:12:43.2770164Z\",\r\n \"\",\r\n null,\r\n \"dependency\",\r\n \"{\\\"_MS.ProcessedByMetricExtractors\\\":\\\"(Name:'Dependencies', Ver:'1.1')\\\",\\\"Container\\\":\\\"fabrikamfiber\\\"}\",\r\n null,\r\n \"GET Home/Index\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_\",\r\n \"Application Insights Availability Monitoring\",\r\n \"e4a921521cf5474095355630d06ceb62\",\r\n \"us-tx-sn1-azr_e4a921521cf5474095355630d06ceb62\",\r\n \"\",\r\n \"\",\r\n \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\",\r\n \"PC\",\r\n \"\",\r\n \"\",\r\n \"0.0.0.0\",\r\n \"San Antonio\",\r\n \"Texas\",\r\n \"United States\",\r\n \"\",\r\n \"fabrikamfiberapp\",\r\n \"RD00155D467AF0\",\r\n \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"fabrikamprod\",\r\n \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"rddp:2.7.0-10498\",\r\n \"ab559e73-bf64-11e8-8850-a3a6e626541f\",\r\n 1,\r\n \"GET fabrikamaccount\",\r\n \"|e4a921521cf5474095355630d06ceb62.0.84dd4cb2_4.\",\r\n \"\",\r\n 54,\r\n \"<250ms\",\r\n \"\",\r\n \"True\",\r\n \"200\",\r\n \"fabrikamaccount.blob.core.windows.net\",\r\n \"Azure blob\",\r\n \"https://fabrikamaccount.blob.core.windows.net:443/fabrikamfiber?restype=container&comp=list&delimiter=%2F\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n null,\r\n null,\r\n null,\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n null,\r\n \"\",\r\n \"\",\r\n \"\",\r\n \"\"\r\n ]\r\n ]\r\n }\r\n ],\r\n \"render\": {\r\n \"visualization\": null,\r\n \"title\": null,\r\n \"accumulate\": false,\r\n \"isQuerySorted\": false,\r\n \"kind\": null\r\n },\r\n \"statistics\": {\r\n \"query\": {\r\n \"executionTime\": 22.056641,\r\n \"resourceUsage\": {\r\n \"cache\": {\r\n \"memory\": {\r\n \"hits\": 108,\r\n \"misses\": 0,\r\n \"total\": 108\r\n },\r\n \"disk\": {\r\n \"hits\": 0,\r\n \"misses\": 0,\r\n \"total\": 0\r\n }\r\n },\r\n \"cpu\": {\r\n \"user\": \"00:00:00.0312500\",\r\n \"kernel\": \"00:00:00\",\r\n \"totalCpu\": \"00:00:00.0312500\"\r\n },\r\n \"memory\": {\r\n \"peakPerNode\": 654315296\r\n }\r\n },\r\n \"inputDatasetStatistics\": {\r\n \"extents\": {\r\n \"total\": 12881,\r\n \"scanned\": 11687\r\n },\r\n \"rows\": {\r\n \"total\": 25556140785,\r\n \"scanned\": 21642130130\r\n }\r\n },\r\n \"datasetStatistics\": [\r\n {\r\n \"tableRowCount\": 25,\r\n \"tableSize\": 35414\r\n }\r\n ]\r\n }\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithShortWait.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithShortWait.json deleted file mode 100644 index e467a5b126d0..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithShortWait.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/query", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvcXVlcnk=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"query\": \"union * | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp | order by operation_Id | order by timestamp\"\r\n}", - "RequestHeaders": { - "Cache-Control": [ - "no-cache" - ], - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true,wait=1" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "388eb597-d32c-4e8f-a562-bafba5375d74" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "206" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:35:19 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.4760ece2-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Preference-Applied": [ - "wait=1" - ], - "Content-Length": [ - "131" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"message\": \"Gateway timeout\",\r\n \"code\": \"GatewayTimeout\",\r\n \"innererror\": {\r\n \"code\": \"GatewayTimeout\",\r\n \"message\": \"Connection error\"\r\n }\r\n }\r\n}", - "StatusCode": 504 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithSyntaxError.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithSyntaxError.json deleted file mode 100644 index 555ff21cc104..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/QueryTests/GetsExceptionWithSyntaxError.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/query", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvcXVlcnk=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"query\": \"union * | foobar\",\r\n \"timespan\": \"PT1H\"\r\n}", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "d5ea28ee-43d7-481b-a072-fd74701163cd" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "58" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:35:20 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.c8d3978f-c01b-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Content-Length": [ - "312" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"error\": {\r\n \"message\": \"The request had some invalid properties\",\r\n \"code\": \"BadArgumentError\",\r\n \"innererror\": {\r\n \"code\": \"SyntaxError\",\r\n \"message\": \"A recognition error occurred in the query.\",\r\n \"innererror\": {\r\n \"code\": \"SYN0002\",\r\n \"message\": \"Query could not be parsed at 'foobar' on line [1,10]\",\r\n \"line\": 1,\r\n \"pos\": 10,\r\n \"token\": \"foobar\"\r\n }\r\n }\r\n }\r\n}", - "StatusCode": 400 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetMultiSegmentedMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetMultiSegmentedMetrics.json deleted file mode 100644 index 44facf783eb6..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetMultiSegmentedMetrics.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg&segment=request%2Fname%2Crequest%2FresultCode", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmFnZ3JlZ2F0aW9uPWF2ZyZzZWdtZW50PXJlcXVlc3QlMkZuYW1lJTJDcmVxdWVzdCUyRnJlc3VsdENvZGU=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "fe1279bc-c74e-4a29-8181-cefe81066a5f" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:40 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.3109e61a-bf93-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1410" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:33:40.237Z\",\r\n \"end\": \"2018-09-24T21:33:40.237Z\",\r\n \"segments\": [\r\n {\r\n \"request/name\": \"GET Customers/Details\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 931.06\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Home/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 559.76\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Employees\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 190.52\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 142.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET Reports/Tickets\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 297.02\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET robots.txt/Index\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 275\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jQuery.tmpl.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 229.34\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Scripts/jquery-1.5.1.min.js\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 176.04\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET ServiceTickets/Edit\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 164.16\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"GET /FabrikamProd/Content/themes/base/jquery.ui.all.css\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 139.61\r\n },\r\n \"request/resultCode\": \"200\"\r\n }\r\n ]\r\n },\r\n {\r\n \"request/name\": \"POST ServiceTickets/Create\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 124.7\r\n },\r\n \"request/resultCode\": \"500\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics.json deleted file mode 100644 index c97fb36d5747..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg&segment=request%2FresultCode", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmFnZ3JlZ2F0aW9uPWF2ZyZzZWdtZW50PXJlcXVlc3QlMkZyZXN1bHRDb2Rl", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "19ab3d05-c353-4070-a499-d040b230f5be" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:40 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.23308d31-c024-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "281" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:33:40.746Z\",\r\n \"end\": \"2018-09-24T21:33:40.746Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 237.06\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 63.6\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 16.59\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics_AllAggregations.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics_AllAggregations.json deleted file mode 100644 index b88acc3f9d61..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SegmentedMetricsTests/GetSegmentedMetrics_AllAggregations.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg%2Ccount%2Cmin%2Cmax%2Csum&segment=request%2FresultCode", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmFnZ3JlZ2F0aW9uPWF2ZyUyQ2NvdW50JTJDbWluJTJDbWF4JTJDc3VtJnNlZ21lbnQ9cmVxdWVzdCUyRnJlc3VsdENvZGU=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "5b909f74-8435-433d-926f-cd13c456294e" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:33:40 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9ee17da4-c004-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "445" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:33:39.593Z\",\r\n \"end\": \"2018-09-24T21:33:39.593Z\",\r\n \"segments\": [\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 237.06,\r\n \"count\": 4634,\r\n \"min\": 19.24,\r\n \"max\": 24541.22,\r\n \"sum\": 1098548.8\r\n },\r\n \"request/resultCode\": \"500\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 63.6,\r\n \"count\": 33786,\r\n \"min\": 0.44,\r\n \"max\": 24323.5,\r\n \"sum\": 2148938.21\r\n },\r\n \"request/resultCode\": \"200\"\r\n },\r\n {\r\n \"requests/duration\": {\r\n \"avg\": 16.59,\r\n \"count\": 721,\r\n \"min\": 1.44,\r\n \"max\": 1535.19,\r\n \"sum\": 11963.68\r\n },\r\n \"request/resultCode\": \"404\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric.json deleted file mode 100644 index e62eb1109bd1..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmFnZ3JlZ2F0aW9uPWF2Zw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "f882cfb5-faa7-4d29-8278-c58c57f686e1" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:23 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.3109e61a-bf93-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "113" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:23.38Z\",\r\n \"end\": \"2018-09-24T21:36:23.38Z\",\r\n \"requests/duration\": {\r\n \"avg\": 83.25\r\n }\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric_AllAggregations.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric_AllAggregations.json deleted file mode 100644 index d57501085772..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/SummaryMetricsTests/GetSummaryMetric_AllAggregations.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg%2Ccount%2Cmin%2Cmax%2Csum", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvbWV0cmljcy9yZXF1ZXN0cyUyRmR1cmF0aW9uP3RpbWVzcGFuPVBUMTJIJmFnZ3JlZ2F0aW9uPWF2ZyUyQ2NvdW50JTJDbWluJTJDbWF4JTJDc3Vt", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "ffd4e11a-575f-43cc-b239-2e0d8ea8ba75" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:23 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.9c3cda1e-bfa6-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "170" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ] - }, - "ResponseBody": "{\r\n \"value\": {\r\n \"start\": \"2018-09-24T09:36:22.94Z\",\r\n \"end\": \"2018-09-24T21:36:22.94Z\",\r\n \"requests/duration\": {\r\n \"avg\": 83.25,\r\n \"count\": 39162,\r\n \"min\": 0.44,\r\n \"max\": 24541.22,\r\n \"sum\": 3260388.99\r\n }\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/TraceEventsTests/GetTraceEvents.json b/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/TraceEventsTests/GetTraceEvents.json deleted file mode 100644 index 1b580da76926..000000000000 --- a/sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/tests/SessionRecords/TraceEventsTests/GetTraceEvents.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces?timespan=PT12H&$top=10", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcz90aW1lc3Bhbj1QVDEySCYkdG9wPTEw", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "d3ecf94b-06e6-4f4c-89bb-748fbf803ee3" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:20 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.8cd1d6bb-c00d-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "10116" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132ba-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:55.195Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"|97a05290a2f54f8ea14727d69845b680.0.84dd66e8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_97a05290a2f54f8ea14727d69845b680\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9f669eb1-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:31.402Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Reports\",\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\",\r\n \"parentId\": \"|df5758d583054c50a62205d30e9dfdef.0.be60d1c_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"df5758d583054c50a62205d30e9dfdef\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-gb-db3-azr_df5758d583054c50a62205d30e9dfdef\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Dublin\",\r\n \"stateOrProvince\": \"Leinster\",\r\n \"countryOrRegion\": \"Ireland\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e7a9101-c041-11e8-b194-bfc9586370da\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.352Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.40.be60d1a_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2bfbd4-c041-11e8-83bc-adc0fc6e03ef\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.327Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.39.be60d19_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9d10c7e2-c041-11e8-9269-538aa81dd28e\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.255Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"parentId\": \"|4957eb27cc2b4ea187cd1f83339e2020.0.84dd66e6_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"4957eb27cc2b4ea187cd1f83339e2020\"\r\n },\r\n \"user\": {\r\n \"id\": \"emea-au-syd-edge_4957eb27cc2b4ea187cd1f83339e2020\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Sydney\",\r\n \"stateOrProvince\": \"New South Wales\",\r\n \"countryOrRegion\": \"Australia\"\r\n }\r\n },\r\n {\r\n \"id\": \"9e2c22e0-c041-11e8-a202-bb78ca9a3410\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.232Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Employees\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.38.be60d18_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9df9c840-c041-11e8-8936-8bc26a313bde\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.207Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.37.be60d17_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9ddfb091-c041-11e8-bdc7-23826b528d11\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.137Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Employees/Details/1\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.35.be60d15_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9dc54ac1-c041-11e8-932e-cd5dae094438\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.111Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-light-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.34.be60d14_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n },\r\n {\r\n \"id\": \"9da42e34-c041-11e8-8879-791d6045d4d5\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:27.087Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /FabrikamProd/Content/fonts/segoewp-webfont.eot\",\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"parentId\": \"|d122f660a66746cf97a6c0fd8e1c9444.33.be60d13_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"d122f660a66746cf97a6c0fd8e1c9444\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-tx-sn1-azr_d122f660a66746cf97a6c0fd8e1c9444\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"\",\r\n \"roleInstance\": \"AIConnect2\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"San Antonio\",\r\n \"stateOrProvince\": \"Texas\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/v1/apps/DEMO_APP/events/traces/ada132ba-c041-11e8-bbc3-011041bbe785?timespan=PT12H", - "EncodedRequestUri": "L3YxL2FwcHMvREVNT19BUFAvZXZlbnRzL3RyYWNlcy9hZGExMzJiYS1jMDQxLTExZTgtYmJjMy0wMTEwNDFiYmU3ODU/dGltZXNwYW49UFQxMkg=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-api-key": [ - "DEMO_KEY" - ], - "User-Agent": [ - "FxVersion/4.6.00001.0", - "Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient/1.0.0.0" - ], - "prefer": [ - "response-v1=true" - ], - "x-ms-app": [ - "csharpsdk" - ], - "x-ms-client-request-id": [ - "096102cc-5a5a-4738-8a7e-2314b6448151" - ] - }, - "ResponseHeaders": { - "Connection": [ - "keep-alive" - ], - "Date": [ - "Mon, 24 Sep 2018 21:36:20 GMT" - ], - "Via": [ - "1.1 draft-ai-blue.cd1d8a63-c028-11e8-b19c-70b3d5800001" - ], - "Server": [ - "nginx" - ], - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Access-Control-Allow-Origin": [ - "*" - ], - "Access-Control-Expose-Headers": [ - "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location" - ], - "OData-Version": [ - "4.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Content-Length": [ - "1150" - ], - "Content-Type": [ - "application/json; charset=utf-8; ieee754compatible=false; odata.metadata=none; odata.streaming=false" - ] - }, - "ResponseBody": "{\r\n \"@odata.context\": \"https://api.applicationinsights.io/v1/apps/DEMO_APP/events/traces/$metadata#traces\",\r\n \"value\": [\r\n {\r\n \"id\": \"ada132ba-c041-11e8-bbc3-011041bbe785\",\r\n \"count\": 1,\r\n \"type\": \"trace\",\r\n \"timestamp\": \"2018-09-24T21:34:55.195Z\",\r\n \"customDimensions\": null,\r\n \"customMeasurements\": null,\r\n \"operation\": {\r\n \"name\": \"GET /Customers/Details/8469\",\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\",\r\n \"parentId\": \"|97a05290a2f54f8ea14727d69845b680.0.84dd66e8_\",\r\n \"syntheticSource\": \"Application Insights Availability Monitoring\"\r\n },\r\n \"session\": {\r\n \"id\": \"97a05290a2f54f8ea14727d69845b680\"\r\n },\r\n \"user\": {\r\n \"id\": \"us-fl-mia-edge_97a05290a2f54f8ea14727d69845b680\",\r\n \"accountId\": \"\",\r\n \"authenticatedId\": \"\"\r\n },\r\n \"cloud\": {\r\n \"roleName\": \"fabrikamfiberapp\",\r\n \"roleInstance\": \"RD00155D467AF0\"\r\n },\r\n \"ai\": {\r\n \"iKey\": \"5a2e4e0c-e136-4a15-9824-90ba859b0a89\",\r\n \"appName\": \"fabrikamprod\",\r\n \"appId\": \"cf58dcfd-0683-487c-bc84-048789bca8e5\",\r\n \"sdkVersion\": \"sd:2.6.4-28971\"\r\n },\r\n \"trace\": {\r\n \"message\": \"New Request Received\",\r\n \"severityLevel\": 0\r\n },\r\n \"application\": {\r\n \"version\": \"AutoGen_49c3aea0-4641-4675-93b5-55f7a62d22d3\"\r\n },\r\n \"client\": {\r\n \"model\": \"\",\r\n \"os\": \"\",\r\n \"type\": \"PC\",\r\n \"browser\": \"\",\r\n \"ip\": \"0.0.0.0\",\r\n \"city\": \"Des Moines\",\r\n \"stateOrProvince\": \"Iowa\",\r\n \"countryOrRegion\": \"United States\"\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": {} -} \ No newline at end of file diff --git a/sdk/applicationinsights/ci.yml b/sdk/applicationinsights/ci.yml index 3c9a2034ba11..a8f462befe27 100644 --- a/sdk/applicationinsights/ci.yml +++ b/sdk/applicationinsights/ci.yml @@ -8,5 +8,3 @@ extends: ServiceDirectory: applicationinsights ArtifactName: packages Artifacts: - - name: Microsoft.Azure.ApplicationInsights.Query - safeName: MicrosoftAzureApplicationInsightsQuery diff --git a/sdk/applicationinsights/service.projects b/sdk/applicationinsights/service.projects deleted file mode 100644 index 7464b3dc6394..000000000000 --- a/sdk/applicationinsights/service.projects +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -