我使用Prometheus存储性能指标并将结果查询为百分位(例如.95百分位响应时间).我使用 prometheus-net 发出它们.
Azure Appinsights中的等价物是什么?
我看到在Appinsights / Kusto中有百分比函数,但是当我使用GetMetric(“blah”).TrackValue(42)时,它存储Count,Min,Max,Sum和stddev,这不是我在Prometheus中使用的直方图bucking方法.
for(int i=0; i < 500; i++) {
//Write some metrics
telemetryClient.GetMetric("blah").TrackValue(42); //real data isn't constant
}
customMetrics
| where name == "blah"
//| summarize avg(value), percentiles(value, 50, 95) by bin(timestamp, 2m)