1
私はAIの依存関係を追加でき、.csxファイルでインポート/使用することができましたが、Application Insightsリソースのテレメトリーは表示されません。AzureボットサービスのカスタムInsight遠隔測定
失敗したリクエストと1つのカスタムイベント「アクティビティ」を除いて、ブラウザ、サーバチャートはすべて空です。私は以下のようなすべてのAIの依存関係を述べた私のproject.json
で
:
{ "frameworks": {
"net46":{
"dependencies": {
"Microsoft.Bot.Builder.Azure": "3.1",
"Microsoft.ApplicationInsights": "2.1.0",
"Microsoft.ApplicationInsights.Agent.Intercept": "1.2.1",
"Microsoft.ApplicationInsights.Azure.WebSites": "2.1.3",
"Microsoft.ApplicationInsights.DependencyCollector": "2.1.0",
"Microsoft.ApplicationInsights.PerfCounterCollector": "2.1.0",
"Microsoft.ApplicationInsights.TraceListener": "2.1.0",
"Microsoft.ApplicationInsights.Web": "2.1.0",
"Microsoft.ApplicationInsights.WindowsServer": "2.1.0",
"Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel": "2.1.0",
"Microsoft.Web.Infrastructure": "1.0.0.0"
}
}
}
}
は、その後、私はMessageReceivedAsync
下Dialog
クラスに以下のような方法を使用してみました:
await context.PostAsync($"{this.count++}: You said {message.Text}");
TelemetryClient telemetry = new TelemetryClient();
telemetry.TrackEvent("MessageReceivedAsync");
context.Wait(MessageReceivedAsync);
誰もが実装を支援することができますそれ?