Azure Application Insights中的服务结构性能计数器

Azure Application Insights中的服务结构性能计数器,azure,azure-service-fabric,azure-application-insights,event-flow,Azure,Azure Service Fabric,Azure Application Insights,Event Flow,我正在尝试将性能数据(即CPU和内存使用情况)从我的服务结构节点发送到Azure Application Insights。但是,它们似乎没有出现在我的application insights metrics explorer中 性能计数器已成功发送到azure存储表(WADPerformanceCountersTable),但未传播到应用程序洞察以进行分析 以下是我的资源文件的WAD配置部分,用于部署我的service fabric应用程序: "WadCfg": {

我正在尝试将性能数据(即CPU和内存使用情况)从我的服务结构节点发送到Azure Application Insights。但是,它们似乎没有出现在我的application insights metrics explorer中

性能计数器已成功发送到azure存储表(WADPerformanceCountersTable),但未传播到应用程序洞察以进行分析

以下是我的资源文件的WAD配置部分,用于部署我的service fabric应用程序:

"WadCfg": {
                                        "DiagnosticMonitorConfiguration": {
                                            "overallQuotaInMB": "50000",
                                            "sinks": "applicationInsights",
                                            "DiagnosticInfrastructureLogs": {},
                                            "PerformanceCounters": {
                                                "PerformanceCounterConfiguration": [
                                                    {
                                                        "counterSpecifier": "\\Processor(_Total)\\% Processor Time",
                                                        "sampleRate": "PT3M",
                                                        "sinks": "applicationInsights"
                                                    },
                                                    {
                                                        "counterSpecifier": "\\Memory\\Available MBytes",
                                                        "sampleRate": "PT3M",
                                                        "sinks": "applicationInsights"
                                                    }
                                                ]
                                            },
                                            "EtwProviders": {
                                                "EtwEventSourceProviderConfiguration": [
                                                    {
                                                        "provider": "Microsoft-ServiceFabric-Actors",
                                                        "scheduledTransferKeywordFilter": "1",
                                                        "scheduledTransferPeriod": "PT5M",
                                                        "DefaultEvents": {
                                                            "eventDestination": "ServiceFabricReliableActorEventTable"
                                                        }
                                                    },
                                                    {
                                                        "provider": "Microsoft-ServiceFabric-Services",
                                                        "scheduledTransferPeriod": "PT5M",
                                                        "DefaultEvents": {
                                                            "eventDestination": "ServiceFabricReliableServiceEventTable"
                                                        }
                                                    }
                                                ],
                                                "EtwManifestProviderConfiguration": [
                                                    {
                                                        "provider": "cbd93bc2-71e5-4566-b3a7-595d8eeca6e8",
                                                        "scheduledTransferLogLevelFilter": "Information",
                                                        "scheduledTransferKeywordFilter": "4611686018427387904",
                                                        "scheduledTransferPeriod": "PT5M",
                                                        "DefaultEvents": {
                                                            "eventDestination": "ServiceFabricSystemEventTable"
                                                        }
                                                    }
                                                ]
                                            }
                                        },
                                        "SinksConfig": {
                                            "Sink": [
                                                {
                                                    "name": "applicationInsights",
                                                    "ApplicationInsights": "c0c27fcd-21e8-4a11-8502-ed250d22e124"
                                                }
                                            ]
                                        }
                                    },
                                    "StorageAccount": "sfdgbriansftest7053"
要成功接收这些性能计数器,此部署文件中是否缺少任何内容?我是否遗漏了任何其他必需的步骤


谢谢。

我的集群中有这个功能。我正在将CPU使用情况发送给application insights。请参阅下面的json。我能看到的唯一区别是您没有指定“单位”和“scheduledTransferPeriod”


},

感谢您的回复。我已经尝试添加这些设置,但仍然没有通过人工智能。我刚刚使用了启用日志记录的基本资源模板。您知道您在任何地方添加的其他内容是否会影响性能监控吗?不知道。。。我刚刚通过门户网站创建了集群,其中包含两个diag选项(诊断启用加AI键),后来我编辑了json,并添加了我在上面复制的代码片段PerformanceCounters…谢谢@andresm53。只是一两个快速跟进问题。创建Application Insights资源时,您是将其创建为“常规”还是“ASP.NET web应用程序”。您是否在集群上运行了一些东西,或者您是否能够在不部署应用程序的情况下收集基础架构数据?感谢AgainIn AI,我使用了ASP.NET web应用程序,根据,群集当前仅运行path应用程序,但在我部署该应用程序之前,IIRC CPU数据开始流向AI
                                "publisher": "Microsoft.Azure.Diagnostics",
                                "settings": {
                                    "WadCfg": {
                                        "DiagnosticMonitorConfiguration": {
                                            "overallQuotaInMB": "50000",
                                            "sinks": "applicationInsights",
                                            "PerformanceCounters": {
"scheduledTransferPeriod": "PT1M",
"PerformanceCounterConfiguration": [
    {
        "counterSpecifier": "\\Processor(_Total)\\% Processor Time",
        "sampleRate": "PT15S",
        "unit": "Percent",
        "annotation": [
        ],
        "sinks": "applicationInsights"
    }
]