application insights
13 TopicsBehavior when Batch Send Failed
Hi All, I am looking to send messages in batches to both Log Analytics and Event Hub services. My solution requires that the sent batches be all-or-none, meaning either all messages are sent successfully, or all messages are dropped in case of failure. Could you please clarify how Log Analytics and Event Hub handle failures during batch sends?Solved49Views0likes1CommentProblems with the Standard (preview) test within application insights
The “Standard (preview) test” within Application Insights / Availability provides an option to set success criteria based upon a content match. The “pass if found” functionality works, but the “fail if found” immediately changes the test to “pass if found” whenever “fail if found” option is chosen. Anyone else having the same problem with this functionality?1.2KViews0likes1CommentCan we get application response time from Appinsights over an email via alerts
Hi Team In Appinsights, we have alerts to notify the users. Is there any way to automatically send output of below query over an email via alerts or some other way on Periodic basis. For example. Results of below query should be send on daily basis at specific configurable time. let start=datetime("2021-01-18T08:28:00.000Z"); let end=datetime("2021-01-18T09:05:00.000Z"); requests | where timestamp > start and timestamp <=end | summarize count(), percentile(duration,90) by operation_Name675Views0likes0Commentsfetch connection count details from application insight for azure function connection
Hi Team, I created an azure function and I set a monitoring alert on this function for specific "Connection" signal name type in alert. For example if connection count is greater then 10 then I want to get notification/email using monitoring alert for my azure function. Here, I call azure function 3 times but a graph you can see below display 12 connection. I set "Aggregation Granularity (Period) = 5 min" and "Frequency of evaluation = 1 min" in azure monitoring alert. I need a query of "application insight" where I can find a details of connection count using a application insight query. I can able to fetch "request" for last 30 min but need a query, how connection count handle by application insight. (Also It would be good if you can share a details how connection count majored by alert monitoring alert and azure function). Thanks1.3KViews0likes0CommentsApp Insights: Telemetry not showing User data
Hello, I have my .Net Core app and I've added ITelemetryInitializer and got that all set up. In Application Insights for that app, under Performance => Operation Name => Samples => Suggested => Request Properties -> Show All => "Auth Id" and "Account Id" have values now, great. Now, in Application Insights => Users, I still only have 1 User. How do I get the Usage/Users functionality to read the User information that the requests under performance are collecting? I've read lots of MSFT documentation on Send User Context and troubleshooting, but no luck. It seems like if I have "anonymous user ID, authenticated user ID, or session ID" in the Request Properties, the Usage telemetry should be picking it up. Any suggestions?3.3KViews0likes0CommentsApplication Insights alerts - Trigger OK status
Hi all, We have several alerts configured for when an application is unavailable, configured on the Availability Tests (ping) and those trigger a couple of actions. Is there any way to have a trigger for when that situation, that originated the alert, no longer occurs? Use case: One of our applications goes down, an alert is triggered, that alert has an action that, for example, opens a ticket on a ticketing platform. Once the application comes back up and tests return successful response (200 code for example) we would like it to trigger another action, is this possible? Thank you998Views0likes0CommentsPowershell to add an action group to alert (Application Insights)
Hi all, Whenever I create a new availability test on Application Insights it creates an alert if X amount of locations test fail, I would like to use this alerts instead of creating new ones but I need to add action groups to it. The problem is that I've got over 100 tests created, meaning over 100 alerts and was wondering if there is any way of automating the set of an action group on an existing alert via powershell ou any other way. On Azure Portal I don't think there is any way to apply it to all alerts so that is why I was thinking of powershell as a possible solution.4.9KViews0likes1CommentHow to create a shared function with arguments
Hi everyone, I have succeeded to create a function using the Query Explorer tool and call it from another query tab: But I want this function will accept arguments. I found a guide which explains how to create a function but without arguments. https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/azure-monitor/log-query/functions.md Thanks876Views0likes0Comments