Slide 24
Slide 24 text
独自のメトリクス・イベントを送信
public class HomeController : Controller
{
public HomeController(TelemetryClient telemetryClient)
{
_telemetryClient = telemetryClient;
}
private readonly TelemetryClient _telemetryClient;
public IActionResult Index()
{
_telemetryClient.TrackEvent("Executing Index action.");
return View();
}
}