azure-application-insights

Index out of range exception in FieldNameLookup.GetOrdinal when running SqlQuery EF

ε祈祈猫儿з 提交于 2021-01-21 08:52:50
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. Kirsten Greed wants to reward an existing answer : Reward this answer and draw attention to stackoverflow.com/questions/65753462/… We are getting eventually an IndexOutOfRange exception when running code like this: result.Data = dbOptima.Database.ExecuteStoredProcedure( task, StoredProcedureValues.PROC_GET_TASKS).ToList(); ,where ExecuteStoredProcedure does the following: public static

Index out of range exception in FieldNameLookup.GetOrdinal when running SqlQuery EF

纵饮孤独 提交于 2021-01-21 08:51:06
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. Kirsten Greed wants to reward an existing answer : Reward this answer and draw attention to stackoverflow.com/questions/65753462/… We are getting eventually an IndexOutOfRange exception when running code like this: result.Data = dbOptima.Database.ExecuteStoredProcedure( task, StoredProcedureValues.PROC_GET_TASKS).ToList(); ,where ExecuteStoredProcedure does the following: public static

Stop Application Insights

て烟熏妆下的殇ゞ 提交于 2021-01-20 08:52:39
问题 We installed Application Insights for our Web Application hosted in Azure portal. Now it sends reports, etc, the application is just started, we don't need all that data. Is there a way to completely stop/disable all data collection/reports by the Application Insights? My application is ASP.NET Core one, I have a ConnectedService.json file under "Application Insights" folder, with the following content { "ProviderId": "Microsoft.ApplicationInsights.ConnectedService.ConnectedServiceProvider",

Stop Application Insights

与世无争的帅哥 提交于 2021-01-20 08:52:37
问题 We installed Application Insights for our Web Application hosted in Azure portal. Now it sends reports, etc, the application is just started, we don't need all that data. Is there a way to completely stop/disable all data collection/reports by the Application Insights? My application is ASP.NET Core one, I have a ConnectedService.json file under "Application Insights" folder, with the following content { "ProviderId": "Microsoft.ApplicationInsights.ConnectedService.ConnectedServiceProvider",

Logging Request and response to Application Insight

人盡茶涼 提交于 2021-01-07 02:57:43
问题 I'm trying to log API request payload and response data to Azure Application Insight. Using trace I can able to log. but I want to know what is the best way to log request and response data to application insight. Because data is huge, no.of API calls will be more. I can't just trace hundreds of thousands of request and response data using tracing. I tried some of the blogs like using ITelemetryInitializer/ httpcontext.feature,get, but no luck. I want to log from c# .Net framework, Web API,

Custom properties in azure function application insights

送分小仙女□ 提交于 2021-01-03 06:56:20
问题 I am monitoring a lot of applications in Azure Application Insights. In all of them I add some custom properties to events, traces etc so I can filter/group in the portal. Is it possible to add the same custom properties to the built in application insight integration with Azure Functions? Have read the documentation but can't find anything about it. Edit: I maintain a large number of applications hosted in various environments. About 15 of these are Azure Functions. From all my applications

Custom properties in azure function application insights

风流意气都作罢 提交于 2021-01-03 06:55:28
问题 I am monitoring a lot of applications in Azure Application Insights. In all of them I add some custom properties to events, traces etc so I can filter/group in the portal. Is it possible to add the same custom properties to the built in application insight integration with Azure Functions? Have read the documentation but can't find anything about it. Edit: I maintain a large number of applications hosted in various environments. About 15 of these are Azure Functions. From all my applications

convert Application Insights query API call result to a DataTable

橙三吉。 提交于 2021-01-01 10:13:37
问题 I am using Application Insight to log CustomEvent. I would like querying it by code (c#). I found how to use the REST API, and using GET/Query to run a query and get the JSON result. When I looks at the JSON string it's look defining a table: { "tables": [ { "name": "PrimaryResult", "columns": [ { "name": "timestamp", "type": "datetime" }, { ..... "rows": [ [ "2019-01-10T16:09:44.2443658Z", "zzzz", "customEvent", "{\"Application\":\"LogClient-IntegrationTests\",\"EventType\":\"Action\"}", So

convert Application Insights query API call result to a DataTable

南笙酒味 提交于 2021-01-01 10:08:58
问题 I am using Application Insight to log CustomEvent. I would like querying it by code (c#). I found how to use the REST API, and using GET/Query to run a query and get the JSON result. When I looks at the JSON string it's look defining a table: { "tables": [ { "name": "PrimaryResult", "columns": [ { "name": "timestamp", "type": "datetime" }, { ..... "rows": [ [ "2019-01-10T16:09:44.2443658Z", "zzzz", "customEvent", "{\"Application\":\"LogClient-IntegrationTests\",\"EventType\":\"Action\"}", So

convert Application Insights query API call result to a DataTable

本秂侑毒 提交于 2021-01-01 10:08:53
问题 I am using Application Insight to log CustomEvent. I would like querying it by code (c#). I found how to use the REST API, and using GET/Query to run a query and get the JSON result. When I looks at the JSON string it's look defining a table: { "tables": [ { "name": "PrimaryResult", "columns": [ { "name": "timestamp", "type": "datetime" }, { ..... "rows": [ [ "2019-01-10T16:09:44.2443658Z", "zzzz", "customEvent", "{\"Application\":\"LogClient-IntegrationTests\",\"EventType\":\"Action\"}", So