SlideShare a Scribd company logo
1 of 29
Application Insights
This is NOT…
• A presentation on the best practices for AI
• A deep dive!
• A perfect tool
• And I’m not a sales person, just showing AI!
Agenda
• What’s Application Insights?
• What can you do with AI?
• What’s a subscription to Azure?
• How can I add AI to my subscription?
• What are the AI pricing tiers?
• Where do I start?
Agenda
• Managing access to your AI
• Manually instrument an application (API)
• Automatically instrument an application
• Read the data from Application Insights
• Analytics!
• Questions?
• Documentation
What’s Application Insights
• Application Performance Monitoring tool
• It aggregates data that you send from your app
• It displays those data in a web portal
• Has an API to manually instrument your apps
• “Baked in” functionalities (ASP.NET, SQL, Java…)
• Integrated with VS2013 or more
• API can be used with VS2012+ (Fx 4.5)
• Part of the Microsoft Azure offering
What can you do with AI?
• Report usage of features in your application
• Report bugs
• Availability and performance monitoring
• Page views stats
• Support Java, mobile or client apps, JavaScript
• Dive into the reported data with the “Analytics”
query language!
• Auto-magically transfer data to your own SQL
Server database!
What can you do with AI?
• Instrument your various apps:
What can you do with AI?
• Mobile apps should be instrumented with…
What’s a subscription to Azure?
• Requires a Microsoft account to create a sub
• TIP : Create a « Billing Account »… why?
• A subscription is an application container
• Add or remove Azure (apps or service) to subs
• A subscription is your portfolio of billable items
• A subscription can contain non billable apps
• To create a subscription, go to :
www.microsoftazure.com
What’s a subscription to Azure?
What’s a subscription to Azure?
What’s a subscription to Azure?
• Eventually you’ll be redirected to :
www.portal.azure.com
• This is your azure dashboard or portal
• This is where you add apps to your sub…
How can I add AI to my subscription?
• On the Azure Portal, go to “New” then scroll
down to “Developer Services” and choose
“Application Insights”.
How can I add AI to my subscription?
• Choose a name for your app
• Choose an “Application type” like “ASP.NET”
• Select the subscription to be used for billing
• Select a “Resource Group” for the app…
[…Ressource Groups…]
• …a resource group is just a group of apps or
services under Azure. The group helps those
components communicate between each
others and can be managed together under
the group… Chances are you’ll never use that!
How can I add AI to my subscription?
• And finally, the only location available is
“Central US”
• Then… hit “Create” and enjoy…
Wait a minute…
• I told you where to bill me (subscription)…
• …but I haven’t choose a pricing tier yet…
• …MS wouldn’t bill me without letting me
choose a pricing tier, right…. RIGHT???
• … of course not… All new AI apps use the FREE
pricing tier… Change it in the properties of
your AI app.
What are the AI pricing tiers?
Where do I start?
• Understand the navigation in the Azure portal
• Get your Instrumentation Key
• Learn the API
• Log data to see what can be displayed and how
• Customize and save few searches with
predefined filters
• If you define custom properties, use enums, max
200 different names…
Managing access to your AI
• You invite people in…
• … but it’s a Microsoft Account only club 
• You choose their role upon inviting them
• Let’s do this!
Click Subscriptions -> click your sub -> Settings -> Users
->Add -> Select a Role (contrib) -> Add users -> Search
existing users or click Invite to invite a new user.
• This will adds the user to your allowed users in
your “Default Directory”.
Managing access to your AI
• When the user logs in he has to look into
YOUR default directory, not his… ! (??????)
Manually instrument an App (API)
• Add a reference to : Microsoft.ApplicationInsights.dll
• Set your Instrumentation Key
• Declare a variable of type TelemetryClient
• Use one of the variable’s « Track » method :
– TrackDependency - TrackEvents
– TrackException - TrackMetric
– TrackPageView - TrackRequest
– TrackTrace
• Use the Flush method on the variable to ensure data is
sent and not buffered.
Manually instrument an App (API)
• Demo
Automatically instrument an App
• Use VS2013 or VS2015
Automatically instrument an App
• Follow the sign-in instructions and select the
right Application Insight ressource (target)
• Validate that the app.config file contains the
right Instrumentation key
• Fire your app !
Read data from Application Insights
• Demo
– Included properties
– Custom Properties
– Search by session
– Search by property values
Analytics
• Not another query language come on MS ???
• We had T-SQL, LinQ, DMX, Xpath… now this…
• Demo
Questions?
Documentation
• Alan Cameron Wills Application Insights

More Related Content

What's hot

What's hot (20)

Continuous Delivery to Azure with VSTS
Continuous Delivery to Azure with VSTSContinuous Delivery to Azure with VSTS
Continuous Delivery to Azure with VSTS
 
Performance monitoring in a DevOps World
Performance monitoring in a DevOps WorldPerformance monitoring in a DevOps World
Performance monitoring in a DevOps World
 
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform TutorialECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
 
Creating a workflow with Azure Logic and API Apps
Creating a workflow with Azure Logic and API AppsCreating a workflow with Azure Logic and API Apps
Creating a workflow with Azure Logic and API Apps
 
Different monitoring options for cloud native integration solutions
Different monitoring options for cloud native integration solutionsDifferent monitoring options for cloud native integration solutions
Different monitoring options for cloud native integration solutions
 
Building Azure Logic Apps
Building Azure Logic AppsBuilding Azure Logic Apps
Building Azure Logic Apps
 
[Vochten/Harbar] SharePoint Server On Premises & Hybrid PowerClass
[Vochten/Harbar] SharePoint Server On Premises & Hybrid PowerClass[Vochten/Harbar] SharePoint Server On Premises & Hybrid PowerClass
[Vochten/Harbar] SharePoint Server On Premises & Hybrid PowerClass
 
Website monitoring with Application Insights
Website monitoring with Application InsightsWebsite monitoring with Application Insights
Website monitoring with Application Insights
 
What is Azure development?-MS Azure development
What is Azure development?-MS Azure development What is Azure development?-MS Azure development
What is Azure development?-MS Azure development
 
Building a document e-signing workflow with Azure Durable Functions
Building a document e-signing workflow with Azure Durable FunctionsBuilding a document e-signing workflow with Azure Durable Functions
Building a document e-signing workflow with Azure Durable Functions
 
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
O365Con18 - Flowverload, Introducion to Flow - Ahmad Najjar
 
Machine Learning with ML.Net
Machine Learning with ML.NetMachine Learning with ML.Net
Machine Learning with ML.Net
 
Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!
 
Understanding SharePoint Framework Extensions
Understanding SharePoint Framework ExtensionsUnderstanding SharePoint Framework Extensions
Understanding SharePoint Framework Extensions
 
When PaaS hits the fan: monitoring advanced Azure PaaS workloads in an enterp...
When PaaS hits the fan: monitoring advanced Azure PaaS workloads in an enterp...When PaaS hits the fan: monitoring advanced Azure PaaS workloads in an enterp...
When PaaS hits the fan: monitoring advanced Azure PaaS workloads in an enterp...
 
Azure security guidelines for developers
Azure security guidelines for developers Azure security guidelines for developers
Azure security guidelines for developers
 
From Zero to Hero: A Real World Guide to Building High Availability SharePoin...
From Zero to Hero: A Real World Guide to Building High Availability SharePoin...From Zero to Hero: A Real World Guide to Building High Availability SharePoin...
From Zero to Hero: A Real World Guide to Building High Availability SharePoin...
 
Be a Modern SharePoint Developer
Be a Modern SharePoint DeveloperBe a Modern SharePoint Developer
Be a Modern SharePoint Developer
 
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
T5 - Mise en place de votre processus DevOps Ofice, Office 365, SharePoint - ...
 
Pushing the Boundaries - A Deep-Dive into Real-World SharePoint Add-In and Ap...
Pushing the Boundaries - A Deep-Dive into Real-World SharePoint Add-In and Ap...Pushing the Boundaries - A Deep-Dive into Real-World SharePoint Add-In and Ap...
Pushing the Boundaries - A Deep-Dive into Real-World SharePoint Add-In and Ap...
 

Viewers also liked

Viewers also liked (20)

Sébastien Coutu: Copy this Meetup Devops - microservices - infrastructure imm...
Sébastien Coutu: Copy this Meetup Devops - microservices - infrastructure imm...Sébastien Coutu: Copy this Meetup Devops - microservices - infrastructure imm...
Sébastien Coutu: Copy this Meetup Devops - microservices - infrastructure imm...
 
Introduction à la sécurité dans ASP.NET Core
Introduction à la sécurité dans ASP.NET CoreIntroduction à la sécurité dans ASP.NET Core
Introduction à la sécurité dans ASP.NET Core
 
Francis Paquet: Visualisations innovantes
Francis Paquet: Visualisations innovantesFrancis Paquet: Visualisations innovantes
Francis Paquet: Visualisations innovantes
 
Ssis 2016 RC3
Ssis 2016 RC3Ssis 2016 RC3
Ssis 2016 RC3
 
Les micro orm, alternatives à entity framework
Les micro orm, alternatives à entity frameworkLes micro orm, alternatives à entity framework
Les micro orm, alternatives à entity framework
 
.Net Core Fall update
.Net Core Fall update.Net Core Fall update
.Net Core Fall update
 
Cathy Monier: Power Query et Power BI
Cathy Monier: Power Query et Power BICathy Monier: Power Query et Power BI
Cathy Monier: Power Query et Power BI
 
Le Microsoft Graph et le développement Office 365
Le Microsoft Graph et le développement Office 365Le Microsoft Graph et le développement Office 365
Le Microsoft Graph et le développement Office 365
 
Advanced analytics with R and SQL
Advanced analytics with R and SQLAdvanced analytics with R and SQL
Advanced analytics with R and SQL
 
Sophie Marchand: Cas power bi de a à z
Sophie Marchand: Cas power bi de a à zSophie Marchand: Cas power bi de a à z
Sophie Marchand: Cas power bi de a à z
 
Robert Luong: Analyse prédictive dans Excel
Robert Luong: Analyse prédictive dans ExcelRobert Luong: Analyse prédictive dans Excel
Robert Luong: Analyse prédictive dans Excel
 
Guy Barrette: Afficher des données en temps réel dans PowerBI
Guy Barrette: Afficher des données en temps réel dans PowerBIGuy Barrette: Afficher des données en temps réel dans PowerBI
Guy Barrette: Afficher des données en temps réel dans PowerBI
 
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
 
Microsoft Modern Analytics
Microsoft Modern AnalyticsMicrosoft Modern Analytics
Microsoft Modern Analytics
 
SQL Server 2016 SSRS and BI
SQL Server 2016 SSRS and BISQL Server 2016 SSRS and BI
SQL Server 2016 SSRS and BI
 
Groupe Montreal Modern Excel and Power BI 2016 2017
Groupe Montreal Modern Excel and Power BI 2016 2017Groupe Montreal Modern Excel and Power BI 2016 2017
Groupe Montreal Modern Excel and Power BI 2016 2017
 
How ddd, cqrs and event sourcing constitute the architecture of the future
How ddd, cqrs and event sourcing constitute the architecture of the futureHow ddd, cqrs and event sourcing constitute the architecture of the future
How ddd, cqrs and event sourcing constitute the architecture of the future
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
 
Investigando a própria prática em uma Trajetória Hipotética de Aprendizagem n...
Investigando a própria prática em uma Trajetória Hipotética de Aprendizagem n...Investigando a própria prática em uma Trajetória Hipotética de Aprendizagem n...
Investigando a própria prática em uma Trajetória Hipotética de Aprendizagem n...
 
La sociedad colonial 2017, adobe acrobat, 14 carillas
La sociedad colonial 2017, adobe acrobat, 14 carillasLa sociedad colonial 2017, adobe acrobat, 14 carillas
La sociedad colonial 2017, adobe acrobat, 14 carillas
 

Similar to Introduction à Application Insights

Similar to Introduction à Application Insights (20)

Salesforce awesome app buildout
Salesforce awesome app buildoutSalesforce awesome app buildout
Salesforce awesome app buildout
 
Data analytics and powerbi intro
Data analytics and powerbi introData analytics and powerbi intro
Data analytics and powerbi intro
 
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
SPS Zurich 2018 - Azure Logic Apps: the new workflow engineSPS Zurich 2018 - Azure Logic Apps: the new workflow engine
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
 
Back to [Jaspersoft] basics: visualize.js 101
Back to [Jaspersoft] basics: visualize.js 101Back to [Jaspersoft] basics: visualize.js 101
Back to [Jaspersoft] basics: visualize.js 101
 
REST to GraphQL
REST to GraphQLREST to GraphQL
REST to GraphQL
 
Automated Compliance and Governance with AWS Config and AWS CloudTrail
Automated Compliance and Governance with AWS Config and AWS CloudTrailAutomated Compliance and Governance with AWS Config and AWS CloudTrail
Automated Compliance and Governance with AWS Config and AWS CloudTrail
 
[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally[Roine] Serverless: Don't Take It Literally
[Roine] Serverless: Don't Take It Literally
 
M365 Teams Automation
M365 Teams AutomationM365 Teams Automation
M365 Teams Automation
 
Automated Compliance and Governance with AWS Config and AWS CloudTrail
Automated Compliance and Governance with AWS Config and AWS CloudTrailAutomated Compliance and Governance with AWS Config and AWS CloudTrail
Automated Compliance and Governance with AWS Config and AWS CloudTrail
 
The Case for Embedded Analytics: Improve the Value of your Applications with ...
The Case for Embedded Analytics: Improve the Value of your Applications with ...The Case for Embedded Analytics: Improve the Value of your Applications with ...
The Case for Embedded Analytics: Improve the Value of your Applications with ...
 
If SharePoint had Warning Labels
If SharePoint had Warning LabelsIf SharePoint had Warning Labels
If SharePoint had Warning Labels
 
Azure Cognitive Services - Custom Vision
Azure Cognitive Services  - Custom VisionAzure Cognitive Services  - Custom Vision
Azure Cognitive Services - Custom Vision
 
Developing Apps: Exposing Your Data Through Araport
Developing Apps: Exposing Your Data Through AraportDeveloping Apps: Exposing Your Data Through Araport
Developing Apps: Exposing Your Data Through Araport
 
ICAR 2015 Workshop - Matt Vaughn
ICAR 2015 Workshop - Matt VaughnICAR 2015 Workshop - Matt Vaughn
ICAR 2015 Workshop - Matt Vaughn
 
Getting Started with Product Analytics - A 101 Implementation Guide for Begin...
Getting Started with Product Analytics - A 101 Implementation Guide for Begin...Getting Started with Product Analytics - A 101 Implementation Guide for Begin...
Getting Started with Product Analytics - A 101 Implementation Guide for Begin...
 
API Strategy Introduction
API Strategy IntroductionAPI Strategy Introduction
API Strategy Introduction
 
APIs are for People Too
APIs are for People TooAPIs are for People Too
APIs are for People Too
 
Building the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemBuilding the Eventbrite API Ecosystem
Building the Eventbrite API Ecosystem
 
Introduction to Azure AD and Azure AD B2C
Introduction to Azure AD and Azure AD B2CIntroduction to Azure AD and Azure AD B2C
Introduction to Azure AD and Azure AD B2C
 
Data Visualization and the Art of Self-Reliance
Data Visualization and the Art of Self-RelianceData Visualization and the Art of Self-Reliance
Data Visualization and the Art of Self-Reliance
 

More from MSDEVMTL

More from MSDEVMTL (20)

Intro grpc.net
Intro  grpc.netIntro  grpc.net
Intro grpc.net
 
Grpc and asp.net partie 2
Grpc and asp.net partie 2Grpc and asp.net partie 2
Grpc and asp.net partie 2
 
Property based testing
Property based testingProperty based testing
Property based testing
 
Improve cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft AzureImprove cloud visibility and cost in Microsoft Azure
Improve cloud visibility and cost in Microsoft Azure
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & Data
 
C sharp 8.0 new features
C sharp 8.0 new featuresC sharp 8.0 new features
C sharp 8.0 new features
 
Asp.net core 3
Asp.net core 3Asp.net core 3
Asp.net core 3
 
MSDEVMTL Informations 2019
MSDEVMTL Informations 2019MSDEVMTL Informations 2019
MSDEVMTL Informations 2019
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcore
 
Groupe Excel et Power BI - Rencontre du 25 septembre 2018
Groupe Excel et Power BI  - Rencontre du 25 septembre 2018Groupe Excel et Power BI  - Rencontre du 25 septembre 2018
Groupe Excel et Power BI - Rencontre du 25 septembre 2018
 
Api gateway
Api gatewayApi gateway
Api gateway
 
Common features in webapi aspnetcore
Common features in webapi aspnetcoreCommon features in webapi aspnetcore
Common features in webapi aspnetcore
 
Stephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environmentsStephane Lapointe: Governance in Azure, keep control of your environments
Stephane Lapointe: Governance in Azure, keep control of your environments
 
Eric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts AzureEric Routhier: Garder le contrôle sur vos coûts Azure
Eric Routhier: Garder le contrôle sur vos coûts Azure
 
Data science presentation
Data science presentationData science presentation
Data science presentation
 
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
Michel Ouellette + Gabriel Lainesse: Process Automation & Data Analytics at S...
 
Open id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api coreOpen id connect, azure ad, angular 5, web api core
Open id connect, azure ad, angular 5, web api core
 
Yoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analyticsYoann Clombe : Fail fast, iterate quickly with power bi and google analytics
Yoann Clombe : Fail fast, iterate quickly with power bi and google analytics
 
CAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling AverageCAE: etude de cas - Rolling Average
CAE: etude de cas - Rolling Average
 
CAE: etude de cas
CAE: etude de casCAE: etude de cas
CAE: etude de cas
 

Recently uploaded

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Introduction à Application Insights

  • 2. This is NOT… • A presentation on the best practices for AI • A deep dive! • A perfect tool • And I’m not a sales person, just showing AI!
  • 3. Agenda • What’s Application Insights? • What can you do with AI? • What’s a subscription to Azure? • How can I add AI to my subscription? • What are the AI pricing tiers? • Where do I start?
  • 4. Agenda • Managing access to your AI • Manually instrument an application (API) • Automatically instrument an application • Read the data from Application Insights • Analytics! • Questions? • Documentation
  • 5. What’s Application Insights • Application Performance Monitoring tool • It aggregates data that you send from your app • It displays those data in a web portal • Has an API to manually instrument your apps • “Baked in” functionalities (ASP.NET, SQL, Java…) • Integrated with VS2013 or more • API can be used with VS2012+ (Fx 4.5) • Part of the Microsoft Azure offering
  • 6. What can you do with AI? • Report usage of features in your application • Report bugs • Availability and performance monitoring • Page views stats • Support Java, mobile or client apps, JavaScript • Dive into the reported data with the “Analytics” query language! • Auto-magically transfer data to your own SQL Server database!
  • 7. What can you do with AI? • Instrument your various apps:
  • 8. What can you do with AI? • Mobile apps should be instrumented with…
  • 9. What’s a subscription to Azure? • Requires a Microsoft account to create a sub • TIP : Create a « Billing Account »… why? • A subscription is an application container • Add or remove Azure (apps or service) to subs • A subscription is your portfolio of billable items • A subscription can contain non billable apps • To create a subscription, go to : www.microsoftazure.com
  • 12. What’s a subscription to Azure? • Eventually you’ll be redirected to : www.portal.azure.com • This is your azure dashboard or portal • This is where you add apps to your sub…
  • 13. How can I add AI to my subscription? • On the Azure Portal, go to “New” then scroll down to “Developer Services” and choose “Application Insights”.
  • 14. How can I add AI to my subscription? • Choose a name for your app • Choose an “Application type” like “ASP.NET” • Select the subscription to be used for billing • Select a “Resource Group” for the app…
  • 15. […Ressource Groups…] • …a resource group is just a group of apps or services under Azure. The group helps those components communicate between each others and can be managed together under the group… Chances are you’ll never use that!
  • 16. How can I add AI to my subscription? • And finally, the only location available is “Central US” • Then… hit “Create” and enjoy…
  • 17. Wait a minute… • I told you where to bill me (subscription)… • …but I haven’t choose a pricing tier yet… • …MS wouldn’t bill me without letting me choose a pricing tier, right…. RIGHT??? • … of course not… All new AI apps use the FREE pricing tier… Change it in the properties of your AI app.
  • 18. What are the AI pricing tiers?
  • 19. Where do I start? • Understand the navigation in the Azure portal • Get your Instrumentation Key • Learn the API • Log data to see what can be displayed and how • Customize and save few searches with predefined filters • If you define custom properties, use enums, max 200 different names…
  • 20. Managing access to your AI • You invite people in… • … but it’s a Microsoft Account only club  • You choose their role upon inviting them • Let’s do this! Click Subscriptions -> click your sub -> Settings -> Users ->Add -> Select a Role (contrib) -> Add users -> Search existing users or click Invite to invite a new user. • This will adds the user to your allowed users in your “Default Directory”.
  • 21. Managing access to your AI • When the user logs in he has to look into YOUR default directory, not his… ! (??????)
  • 22. Manually instrument an App (API) • Add a reference to : Microsoft.ApplicationInsights.dll • Set your Instrumentation Key • Declare a variable of type TelemetryClient • Use one of the variable’s « Track » method : – TrackDependency - TrackEvents – TrackException - TrackMetric – TrackPageView - TrackRequest – TrackTrace • Use the Flush method on the variable to ensure data is sent and not buffered.
  • 23. Manually instrument an App (API) • Demo
  • 24. Automatically instrument an App • Use VS2013 or VS2015
  • 25. Automatically instrument an App • Follow the sign-in instructions and select the right Application Insight ressource (target) • Validate that the app.config file contains the right Instrumentation key • Fire your app !
  • 26. Read data from Application Insights • Demo – Included properties – Custom Properties – Search by session – Search by property values
  • 27. Analytics • Not another query language come on MS ??? • We had T-SQL, LinQ, DMX, Xpath… now this… • Demo
  • 29. Documentation • Alan Cameron Wills Application Insights

Editor's Notes

  1. Other is for Desktop apps, Services etc… All mobile should go to HockeyApp
  2. Why: Otherwise you must re-invite everyone when you transfer the account and everyone needs to re-do their customization
  3. 7 days for all tiers might not be like this forever
  4. Go to Analytics in portal