Application Insight monitor and send alerts on status code 500? - azure

I'm new to Azure.
What I want to do is monitor X amount of pages and if any of those return status code 500 I want to send out an email and/or SMS. Is this possible to do with Application Insight?
If so, could you link me to a good documentation,
if not, what would be a good option for what I want to achieve? Are there other softwares etc.

You can get this functionality by creating alerts in Azure Application Insights.
Smart Detection in Application Insights can help you in sending the email notifications for performance issues or failure anomalies e-g errors with status 500 code. Read up on this here: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/proactive-failure-diagnostics

Related

How to check Gmail API usage status in Google Console?

I'm sending automated emails from my account to my account, I'm using Integromat (now Make) and I've done all the necessary stuff in the Google Cloud Platform (or Console) to authorize Integromat. The scenario works and I send automated emails.
However when I go to check the usage status to see how many emails I have sent and how many I have left in the Google console, it shows no results.
For reference, I go here https://console.cloud.google.com/apis/api/gmail.googleapis.com/ to check the status, but all the graphs show no data whatsoever, despite the automated mails getting sent normally. I have the correct project selected when doing this.
There is no way to see stats on any of your google usage quotas. The Stats page on Google cloud console. Is at best an estimate and not real time in any sense of the word.
Either create your own counter, or just wait until you get the quota error. I normally go with the latter.

How do I check if a mobile number is on WhatsApp or not with programming?

I wanted to build a web-based system using which you will come to know whether the mobile number is registered with WhatsApp or not? It's just to check whether the number entered in textbox have WhatsApp account or not?
I tried finding resources regarding the same but unable to get any solution on it, please share some link for reference so, I can implement it and get to the final result.
You can use the Whatsapp API through Wassenger of Waboxap to send a text message and via webhook service like Loggly determine if the message was delivered. The person will however get a message, which might cause them to block you.

Azure Application Insights Alert Emails

Is it possible to include the stack traces and the http headers of an error that is sent to an email from a triggered alert? The use case is more so for convenience to avoid having to go to the dashboard to get a full diagnosis of the issue and instead only having to look at the email to get a good idea what went wrong.
Thank you!
If my understanding is right, it is possible.
When you create an Insights Alert, you could enable notify.

Send bug report from azure

I want to send emails to myself from azure with error and its details when server receives 500 error.
I don't wont to receive messages that something happened (events works the same if I am not mistaken).
Is it possible?
I know that I can find all errors with details in https://{site-name}.scm.azurewebsites.net/websitelogs/#/detailederrors
But how to get text from new file I don't know.
Please help me.
EDIT 1.
I found streaming logs - Recent -> {site-name} -> tools -> streaming logs.
Here I can see all errors in real time. But I can't find where I can send these errors in my email.
I think the web app dashboard does not support alerting directly. You should activate application insights on your web app and then you'll be able to configure email alert on failed request.
This page will help you with working with application insights alerts: https://azure.microsoft.com/en-us/documentation/articles/app-insights-alerts/
Hope this helps,
Julien

Gmail and Salesforce- long delay in forwarding email

We use Salesforce and Google Apps.
We have a Google Apps Email account that accepts an email and forwards this on to Salesforce, where Salesforce creates a case.
The last 2 fridays, we have had problems where it can take over 3 overs for an email to make its way into Salesforce.
How do I find out if the problem is with Google Mail not forwarding the email on in a timely manner, or the problem is Salesforce not processing it in a timely manner?
Anyone else ever had this problem?
Thanks!
A few ideas, which you may have already tried:
1) You could check the timestamps in Gmail to see when the emails were received and then forwarded to Salesforce to see if there was a delay.
2) You could check the dates against the Salesforce system status page to see if there were any reported issues: http://trust.salesforce.com/trust/status/
3) Same for the Google Apps status page: http://www.google.com/appsstatus
4) Check to see if there were any other delays in Salesforce or concurrent batch jobs that might have caused the delay.
5) Submit a support request to Salesforce to inquire.
Hmmm. Are you using Salesforce Email to Case? Here's someone posting a similar question: https://success.salesforce.com/questionDetail?qId=a1X30000000IGwWEAW. It seems that at the time that both problems were a temporary outage on the part of Salesforce. Also, are you using any apps to integrate Gmail and Salesforce? Because apps like The Scoop Composer allow you to forward emails and create cases right away. http://www.cloudgizmos.com/salesforce-gmail-integration. Hope this helps!

Resources