我需要让尽可能多的城市浏览我的应用程序。我正在使用App insights获取这些数据。然而,我想将这些数据存储到一个数组中,并使用SELENIUM c#将其传递给测试函数。我在Analytics中使用以下查询语句。我已经安装了App insights nuget包并连接成功。
customevents
| where timestamp >= ago(24h)
| summarize count() by client_City
| order by count_ desc
C# 代码:
TelemetryClient telemetry = new TelemetryClient();
telemetry.InstrumentationKey = "xxxx";
telemetry.TrackEvent("eventname");
我想将来自分析查询的数据存储到C#中的数组中。我们有办法做到这一点吗?