alexbulankou / ai-talk1 Goto Github PK
View Code? Open in Web Editor NEWTR24 talk repo
TR24 talk repo
@AlexBulankou do you see perf counters collected for ASP.NET app?
I want to keep posting to the repo. Please make me a contributor
(I'll still post via Pull Requests for visibility, not direct commits)
ENOENT: no such file or directory, open 'C:\src\github\ai-talk1\src\start\node\package.json'
@SergeyKanzhelev, ApplicationInsights.config is read from bin dir, right? For some reason I'm not seeing any telemetry until I change it in the root dir. Until I do this, all telemetry is unconfigured (as I can see in debugger) and Metrics stream is not showing anything.
Let's not use
Try to understand and fix the issue. Hint: open web.config for frontend application and review the URL specified as HeaderUrl.
Instead just do step-by-step instruction how to fix it
SDK is logging the following RDD
Application Insights Telemetry: {
"name":"Microsoft.ApplicationInsights..RemoteDependency",
"time":"2016-12-29T19:07:31.0574247Z",
"iKey":"",
"tags":{
"ai.operation.parentId":"d93zwpr6ENI=",
"ai.session.id":"Zgt5C",
"ai.operation.id":"d93zwpr6ENI=",
"ai.operation.name":"GET Home/Stock",
"ai.location.ip":"::1",
"ai.internal.agentVersion":"0.13.0",
"ai.cloud.roleInstance":"albulank-lptp31",
"ai.user.id":"l24BC",
"ai.internal.nodeName":"albulank-lptp31",
"ai.internal.sdkVersion":"rddp:2.3.0-791"},
"data":{"baseType":"RemoteDependencyData",
"baseData":{"ver":2,"name":"GET /",
"id":"jNWYO0d3tzg=",
"data":"http://localhost:24001/?stock=amzn",
"duration":"00:00:00.6180000","resultCode":"200","success":true,"type":"Http","target":"localhost"}}}
Note that data.baseData.data is http://localhost:24001/?stock=amzn
However in Analytics and Ibiza I see data becoming just GET /
Expected: Path is GET http://localhost:24001/?stock=amzn
It was problematic to copy from the document to VM when we did it last year. Create a file snippet.txt
next to Index.cshtml
Going through exercise 5, I don't see operatio_id or source fields populated in requests. This is with or without telemetry initializer. @SergeyKanzhelev, can you send me your node.JS app you were using?
For screenshots I'll assume c:\lab\
This will be impossible to type manually during ILL: https://portal.azure.com/?appInsightsExtension_OverrideSettings=appMapExperience:appMapLegacyErrorPaneMultiServer Let's use aka.ms shortener
80 minutes total. So we only have 10 minutes for introduction and Q&A. I'd recommend to make exercise 4 more "step-by-step". I was doing lots of guesses there
Another issue I discovered - VM went to windows update on start. Need to check it will not happen at the lab environment.
Settings from AI.config file will only be picked up after recycle of apppool
In details.cshtml
this is misleading text: <!-- Insert instrumentation key here -->
operation_Id
and operation_ParentID
are empty for dependency calls. Need to switch to sync call here
timestamp | 2016-11-04T17:27:21.541Z |
---|---|
id | m5/tXTdHMss= |
target | bing.com |
type | HTTP |
name | https://bing.com |
data | https://bing.com/?q=fabrikamfiber |
success | True |
resultCode | 200 |
duration | 152.2956 |
performanceBucket | <250ms |
customDimensions | {"DeveloperMode":"true"} |
client_Type | PC |
client_IP | 131.107.174.0 |
client_City | Redmond |
client_StateOrProvince | Washington |
client_CountryOrRegion | United States |
cloud_RoleInstance | sergkanz-dev.redmond.corp.microsoft.com |
appId | 0a2c4bb7-54cb-4973-a1d3-8e6b4d264d66 |
appName | bo |
iKey | c92059c3-9428-43e7-9b85-a96fb7c9488f |
sdkVersion | rddf: 2.1.0.363 |
itemId | f278fd85-a2b3-11e6-9e66-318ddfa818cb |
itemType | dependency |
itemCount | 1 |
New Application Map view and it's unclear what you meant in "See if there is anything unusual about the failing calls."
Open Application Map for backend. Observe that there are two nodes shown: server and node and remote dependency node. Note, that remote dependency node is showing signifficant percentage of failing calls, however these errors are not propagated to the callers of backend, because all requests are successful.
Click on ... button on finance.google.com remote dependency and open failed calls. See if there is anything unusual about the failing calls.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.