azure-application-insights

Application Insights : Unable to verify the first certificate in node js

空扰寡人 提交于 2020-01-16 18:12:59
问题 The application insights keeps on throwing the following error every few minutes. ApplicationInsights:Sender [ 'Ingestion endpoint could not be reached 5 consecutive times. There may be resulting telemetry loss. Most recent error:', { Error: unable to verify the first certificate at TLSSocket.\u003canonymous\u003e (_tls_wrap.js:1116:38) at ZoneDelegate.invokeTask (/usr/src/app/node_modules/zone.js/dist/zone-node.js:275:35) at Zone.runTask (/usr/src/app/node_modules/zone.js/dist/zone-node.js

Application Insights : Unable to verify the first certificate in node js

倖福魔咒の 提交于 2020-01-16 18:12:31
问题 The application insights keeps on throwing the following error every few minutes. ApplicationInsights:Sender [ 'Ingestion endpoint could not be reached 5 consecutive times. There may be resulting telemetry loss. Most recent error:', { Error: unable to verify the first certificate at TLSSocket.\u003canonymous\u003e (_tls_wrap.js:1116:38) at ZoneDelegate.invokeTask (/usr/src/app/node_modules/zone.js/dist/zone-node.js:275:35) at Zone.runTask (/usr/src/app/node_modules/zone.js/dist/zone-node.js

How to measure Latency between client to bot and bot to Client (Not response time)

一世执手 提交于 2020-01-16 17:03:24
问题 I have created at bot for slack and deployed to Azure, for this bot I have a client requirement, My client wants to measure latency between slack client to Bot and vice a versa. i.e only time taken by user message to reach to Bot and time taken by response to slack user. I have been exploring Azure application insight from three days , but could not find any helpful service. I can not change my bot code , Is there any way in azure service by that I can monitor latency? 来源: https:/

Is it possible to use logs to report to Azure Application Insights at specific time intervals due to intermittent network connectivity

落爺英雄遲暮 提交于 2020-01-16 09:11:10
问题 From the documentation it is unclear how Azure Application Insights pings back to the Azure cloud service. The only documentation here that gives a clue doesn't explain exactly how this works. I think what makes it a little more difficult to plan for is that the Azure monitor service is one piece and then the actual application's telemetry service applied through code is another part to make up the whole. Here is the statement from this documentation: Does the SDK create temporary local

Application Insights - Tracking user and session across schemas

这一生的挚爱 提交于 2020-01-15 09:31:49
问题 Following https://docs.microsoft.com/en-us/azure/application-insights/app-insights-usage-send-user-context, I thought it would be easy to get cross-schema tracking of a user. However, I'm finding the absolute opposite. I created the telemetry initializer (which the document has bugs in it hardcore): public void Initialize(ITelemetry telemetry) { if (HttpContext.Current?.Session == null) return; if (HttpContext.Current.Session["UserId"] == null) { HttpContext.Current.Session["UserId"] = Guid

Application Insights not logging custom events

 ̄綄美尐妖づ 提交于 2020-01-14 08:56:30
问题 I have setup Application Insights in my ASP.NET Core application in the C# Controller and it is logging basic data like Page Views, Response Time, etc. But I want to create some custom events and log those as well, but I cannot get any oft he Custom Events to show up in the Azure portal. Currently I'm using the Free version of Application Insights. The is very straight forward var appInsights = new TelemetryClient(); appInsights.TrackEvent(eventName, properties); Where the eventName is a

Application Insights Reporting Duplicate Events for each Server Request

一个人想着一个人 提交于 2020-01-12 23:26:20
问题 I have an API App running under Azure App Service, with Application Insights installed to track server side telemetry of API calls. When viewing Application Insights in the Azure portal, I am seeing two events for every one server call. Each event has an exact duplicate with the same timestamp, response time, telemetry, etc. I have verified that only one event is in the web server logs, so I'm not accidentally calling the same function twice from the client. Here are a couple of screenshots

Can Application Insights be used off-line

自作多情 提交于 2020-01-11 13:26:53
问题 I maintain a lot of applications which reports events, errors etc to Application Insights. I also have applications running in corporate environments not open to internet. Is it possible to store telemetry data locally and then bulk upload it to application insights? It will of course not be real time information but it allows me to reuse reports and tools I already got. Looked at the persistence channel but it seems to be for temporary off-line scenarios where the same application creates

Configure Cloud Role Name for Application Insights in an Azure Function App

心不动则不痛 提交于 2020-01-06 07:15:12
问题 I would like to set the cloud_rolename of the telemetry sent from my Azure Function App (v2) that is sent to application insights. The AI configuration in my host.json looks like this: "applicationInsights": { "sampling": { "isEnabled": true, "maxTelemetryItemsPerSecond" : 1 } } I have been unable to find any documentation on where to set cloud rolename in function apps. How should I go about this? 回答1: You should be able to do this by registering a custom TelemetryInitializer . See here:

Configure Cloud Role Name for Application Insights in an Azure Function App

非 Y 不嫁゛ 提交于 2020-01-06 07:15:12
问题 I would like to set the cloud_rolename of the telemetry sent from my Azure Function App (v2) that is sent to application insights. The AI configuration in my host.json looks like this: "applicationInsights": { "sampling": { "isEnabled": true, "maxTelemetryItemsPerSecond" : 1 } } I have been unable to find any documentation on where to set cloud rolename in function apps. How should I go about this? 回答1: You should be able to do this by registering a custom TelemetryInitializer . See here: