What are the options for monitoring an Azure function? In this video, learn what options are available and how to use them.
- [Instructor] Because of the stateless nature…of Azure functions,…it might be tricky to get…good analytics and see how our code…is behaving when deployed.…In this video, we will see what our options are.…Although I did not mention it explicitly,…you might have noticed that a TraceWriter object…is injected into the Azure function's run method.…This is built into the Azure function's run time…and provides you with basic logging out of the box.…You can also use the ILogger interface's log provider.…With the ILogger interface, you can have structured logs,…and divide the log messages up in more…logical group units.…
Both the TraceWriter and ILogger log providers,…will show up in application insights,…which we will see in a minute.…To use the ILogger interface, simply change…the TraceWriter parameter into a ILogger parameter.…The Azure function run time will inject…a concrete implementation of the ILogger interface…at run time.…You can provide your own implementation…to be able to use your favorite log framework.…Another advantage of using the ILogger interface…
Author
Released
12/12/2018- What serverless is and when to use it
- Creating Azure functions
- Creating your first Azure Functions App
- Creating an Azure function in Visual Studio
- Creating a new Xamarin.Forms app
- Use cases for Azure Functions in apps
- Securing Azure Functions apps
- Monitoring Azure functions in Production
Skill Level Intermediate
Duration
Views
Related Courses
-
Azure Developer Tips
with Mike Benkovich2h 12m Intermediate
-
Introduction
-
1. Getting Started with Serverless
-
Defining serverless2m 55s
-
Why serverless2m 43s
-
Azure Functions2m 23s
-
Set up your Azure account2m 30s
-
Outline the sample app2m 3s
-
-
2. Creating Azure Functions
-
Choose a language3m 1s
-
Bindings and triggers2m 26s
-
Triggers2m 31s
-
Bindings3m 28s
-
Implement the Azure function5m 29s
-
3. Creating a Xamarin.Forms App
-
Introduction to Xamarin3m 51s
-
Create the UI6m 15s
-
Pick an image6m 25s
-
-
4. Azure Functions Architecture
-
Secure Azure Functions apps2m 17s
-
Test the Azure function1m 46s
-
Conclusion
-
Next steps40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Monitor Azure Functions in production