I'm trying to add additional telemetry to a Bot Framework Bot hosted in Azure.
I've been through Microsoft documentation to add telemetry to your bot but when I look at my customEvents within Application Insights, none of the events generated by the Bot framework service are appearing, eg. BotMessageReceived.
I've been through all of the debugging steps I can think of, including:
- Checked my code compared to the docs, the code in the startup.cs matches and I've added it into the dialogs too
- Checking the InstrumentationKey value
- Creating a new Application Insights API key
Events are being added into customEvents, see below, just not the events generated by the bot framework service.
Any help would be greatly appreciated! Thanks in advance.
TelemetryLoggerMiddleware
isn't being called. I'll continue to investigate. – MikeP