I followed up this question: Application insights for wpf application and created console application, where I am using application insights like this:
var telemetry = new TelemetryClient();
telemetry.TrackEvent("My event");
telemetry.TrackMetric("Test Metric", 13);
telemetry.TrackTrace("Simple log message");
telemetry.TrackException(new Exception());
Everything works and data is sent to Azure, except TrackMetric. Metric is not available neither in metrics explorer, neither in diagnostic statistics.
How can I fix it?
Thank you in advance.