-
Notifications
You must be signed in to change notification settings - Fork 528
[DO NOT MERGE] Enterprise Template TelemetryClient/AppInsights conversation analytics capabilities #425
Conversation
Pointing to daily build 78
…irectory where this will be hosted now.
{ TelemetryConstants.ActivityIDProperty, activity.ReplyToId }, | ||
{ TelemetryConstants.ReplyActivityIDProperty, activity.Id }, | ||
{ TelemetryConstants.ChannelProperty, activity.ChannelId }, | ||
{ TelemetryConstants.ChannelIdProperty, activity.ChannelId }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daveta FYI: I have not seen the channel id populate in SDK telemetry, so I'm providing in the BotReceived/Send events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should apply the changes here to VA as needed.
templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/BotServices.cs
Show resolved
Hide resolved
...mplate/src/csharp/EnterpriseBotTemplate/Bot Framework/Dialogs/Onboarding/OnboardingDialog.cs
Outdated
Show resolved
Hide resolved
...csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryLoggerMiddleware.cs
Show resolved
Hide resolved
...csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryLoggerMiddleware.cs
Show resolved
Hide resolved
...c/csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryLuisRecognizer.cs
Outdated
Show resolved
Hide resolved
...c/csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryLuisRecognizer.cs
Show resolved
Hide resolved
...c/csharp/EnterpriseBotTemplate/Bot Framework/Middleware/Telemetry/TelemetryLuisRecognizer.cs
Show resolved
Hide resolved
templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Program.cs
Show resolved
Hide resolved
templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/Startup.cs
Outdated
Show resolved
Hide resolved
templates/Enterprise-Template/src/csharp/EnterpriseBotTemplate/Bot Framework/readme.md
Outdated
Show resolved
Hide resolved
* fix for teams auth * removed dev exception page * updated teams auth middleware * fixed
LuisServices.Add(service.Id, new TelemetryLuisRecognizer(luisApp)); | ||
break; | ||
InstrumentationKey = appInsights.InstrumentationKey, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In samples, I was removing this - actually wasn't referencing. So I kept the validation checks, but didn't actually create the TelemetryClient since that is effectively done by the extension methods in startup (and registered in DI) as BotTelemetryClient.
@@ -16,7 +16,6 @@ public static void Main(string[] args) | |||
|
|||
public static IWebHost BuildWebHost(string[] args) => | |||
WebHost.CreateDefaultBuilder(args) | |||
.UseApplicationInsights() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, what this method does is already being done in other methods subsumed by our overrides so we get the sequencing right.
Nice work Ryan! |
Pointing to daily build 78
…irectory where this will be hosted now.
…sation analytics capabilities (#425) * Introduced all 4.2 telemetry changes Pointing to daily build 78 * Removed .pbit and updated README to point to AI/solutions/analytics directory where this will be hosted now. * Fixed formatting * Fixed typo in telemetryclient variable. * Addressed PR comments * Updated to version 4.2.0 * fix for teams auth (#410) * fix for teams auth * removed dev exception page * updated teams auth middleware * fixed * Update readme.md * Introduced all 4.2 telemetry changes Pointing to daily build 78 * Removed .pbit and updated README to point to AI/solutions/analytics directory where this will be hosted now. * Fixed formatting * Fixed typo in telemetryclient variable. * Addressed PR comments * Updated to version 4.2.0
Description
Related Issue
#134
#354
https://github.com/daveta/analytics/blob/master/va_reports.md
Testing Steps
Build VSIX project and get .vsix from /bin/debug folder. Install the new template and have a working bot.
Checklist
If this contains changes that needs to be replicated between the Enterprise Template <-> Virtual Assistant