I have got a python script that checks if a web-page contains information or if it's empty. I want to make an application that runs this script, and tell me, preferably on slack, whether it worked or not. And I want this to happen every hour. I believe I can do this by using Application Insight with Azure, but I have not found an easy way to do this.
I'm entirely new to azure so any help would be appreciated, even simply links to other pages.
Edit 1
Instead of using python I instead want to try and log the exceptions I find in App insight to slack. I find these exceptions by going to app insight, then "Failures" and then "drill into operations"
Failures in App insight
These Exceptions I want to log to Slack
Related
I kinda have an issue with the search-based Message Extension.
When I debug locally, my app works fine. After deploying the messaging extension on Azure and testing it in the Teams app, I can search for specific queries. The Message Extension gives me the desired results, up to here we are good to go.
The Problem:
After I select one of the delivered search results, the messaging extension does not return the adaptive card. The chat-box in Teams is simply empty.
Is anyone familiar with this issue?
I cannot reproduce this issue. Can you always reproduce this issue? I think you can retry several more times.
Or copy and paste the codes in bot/teamsBot.js here for troubleshooting.
I have one BOT application, it works well on localhost when working with the emulator.
But when the same bot is hosted on a server and when trying to chat from WEBCHAT channel with Bot it throws an error.
My BOT application is using 3 different LUIS application the these LUIS apps are not expired.
Amazing thing is that LUIS application picks right intent and shows me right PromptDialog, but on the next line "Sorry, my code is having an issue" this msg appears.
Due to which I am not able to proceed with the further conversation.
It is happening with all the functionality of the BOT.
What can be reason behind this issue?
I'd recommend to do the following:
1) Go to My Bots -> Connect to channels and click on the channel which is having an issue. The error message may shed some light on what is going on
2) Investigate the machine which hosts the application. In case of Azure enabling Diagnostic Logs may help
3) Anyway you need to introduce logging layer for your application, to make sure you'll be able to investigate further issues quickly. There are many solutions you may proceed with like NLog or log4net.
I'd say that point 3 must be a first step anyway, since you are dealing with external thing like botframework and who knows what can be changed in this black box. So logging is drastically important and prevents you or anybody else from guessing what may went wrong
(There doesn't seem to be an option to select Application Insights when reporting a support issue in the Azure portal, hence this post)
For about 12 hours I keep seeing the following error message in the Azure portal when I try and look at Application Insights for a particular App Service:
Data is temporarily inaccessible, see http://aka.ms/aistatus .
That link currently says:
All Application Insights Services are now working as expected.
which is clearly incorrect!
Anyone from the Azure team know what is going on here please? (And why isn't Application Insights available as an option in the drop down list when submitting a support request please?).
For anyone coming across this issue, try disabling your ad-blocker and see if that fixes it.
In my case, Live Metrics would show this error because my ad-blocker was blocking the request.
If anyone from Microsoft/Azure sees this, the "aka.ms" link in the error message just goes to an empty Bing page now. Not sure if it worked previously.
Application Insights should appear in the drop down. Please see picture :)
Application Insights Support Request:
I am using Kudu Api to display some webjob data on a website monitoring app I created. The web app monitors data from a few other websites I created. I was wondering what API endpoints do I need to run in order to get the data from this page:
https://{my_website}.scm.azurewebsites.net/azurejobs/#/functions
I am interested in displaying some of the data from this page (functions, statistics, Invocation Log - Recently executed functions)
At the moment I am parsing a text file, but I find this highly inefficient if there's a better option available:
https://{my_website}.scm.azurewebsites.net/vfs/data/jobs/continuous/{my_webjob}/job_log.txt
Any suggestions would help, thanks in advance.
As written in comments the WebJob client is javascript based you can see every call it makes in the console of your browser, there you will find a call to:
https://<sitename>.scm.azurewebsites.net/azurejobs/api/functions/definitions?limit=100
This give a list of the functions in the webjob.
I am asking this question because the information on tutorials is terribly vague for a novice. Concretely, I am trying to put up an extractor to use in Gmail Contextual App. Here is where it gets complicated. To make a Gmail Contextual App, I need to upload my app code as extractor on Google Apps Extensions Console, but I am just unable to access or know where is this page. All it say here is that
Point your browser to http://code.google.com/googleapps/console/a/yourDomainName.
Well I did exactly that, considering a project at code.google.com doesn't have any place to upload an extractor, and pointed to instead
http://code.google.com/googleapps/console/a/GodKnowsWhatTheHeckIsThis
Where GodKnowsWhatTheHeckIsThis is completly arbitrary, I was expecting some magic here that somehow I will be taken to a project that I have not even created.
Well what happened instead is: infinite recursion.
Can you please help me here? I will be terribly grateful.