问题描述
我跟进这个问题:Application眼识WPF应用程序并创建控制台应用程序,在这里我使用的应用程序的见解是这样的:
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());
一切工作和数据被发送到天青,除了TrackMetric。公制不可既不指标浏览器,无论是在诊断的统计数据。
Everything works and data is sent to Azure, except TrackMetric. Metric is not available neither in metrics explorer, neither in diagnostic statistics.
我该如何解决?
感谢您提前。
推荐答案
更新15年2月5日:通过 trackMetric
暴露自订指标和各 trackEvent(X,性能,指标)
或其他跟踪
称取自定义属性和指标呼叫现在应该在这两个指标浏览器和事件的详细信息叶片可见。
Update 2/5/15: Custom metrics exposed through trackMetric
and the various trackEvent( x, properties, metrics )
, or other track
calls that take custom properties and metrics should now be visible in both Metrics Explorer and event details blades.
之前:指标只对事件详细信息属性叶片可见(底部)
Prior: metrics were only visible in event detail property blades (at the bottom)
这篇关于应用程序的见解跟踪指标不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!