トレースまたは例外データをApplication Insightに入れようとしています。私はアプリケーションInsightsのダッシュボード、検索またはメトリックエクスプローラ上で、そのような跡や例外を見つけることができない、Console C#アプリケーションからApplication Insightsにトレース/例外データを取得する方法
TelemetryClient tc = new TelemetryClient();
tc.InstrumentationKey = "xxxxxx-xxxxxxx-xxxxxxxx-xxxxxxx";
var traceTelemetry = new TraceTelemetry("Console trace critical", SeverityLevel.Critical);
tc.TrackTrace(traceTelemetry);
tc.TrackException(new ApplicationException("Test for AI"));
tc.Flush();
しかし、それは動作しません:私は、次のコードをしようとしています。
私はそれが既に通過した時間であるとして、それはそうではないと信じています。また、EventFlow + Trace + Application Insightsを使用してトレースを送信しようとしましたが、そこにトレースを取得するのに約1分かかりました... –