Metrics.NET 项目
生活随笔
收集整理的這篇文章主要介紹了
Metrics.NET 项目
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
Metrics.NET(https://github.com/etishor/Metrics.NET)是一個給CLR 提供度量工具的包,它是移植自Java的metrics,在c#代碼中嵌入Metrics代碼,可以方便的對業(yè)務(wù)代碼的各個指標(biāo)進(jìn)行監(jiān)控, 提供5種度量的類型:Gauges, Counters, Histograms, Meters,Timers:
- Gauges are instantaneous readings of values (e.g., a queue depth).
- Counters are 64-bit integers which can be incremented or decremented.
- Meters are increment-only counters which keep track of the rate of events. They provide mean rates, plus exponentially-weighted moving averages which use the same formula that the UNIX 1-, 5-, and 15-minute load averages use.
- Histograms capture distribution measurements about a metric: the count, maximum, minimum, mean, standard deviation, median, 75th percentile, 95th percentile, 98th percentile, 99th percentile, and 99.9th percentile of the recorded values. (They do so using a method called reservoir sampling which allows them to efficiently keep a small, statistically representative sample of all the measurements.)
- Timers record the duration as well as the rate of events. In addition to the rate information that meters provide, timers also provide the same metrics as histograms about the recorded durations. (The samples that timers keep in order to calculate percentiles and such are biased towards more recent data, since you probably care more about how your application is doing now as opposed to how it's done historically.)
HBase Metrics機(jī)制分析與架構(gòu)總結(jié)
JAVA Metrics度量工具 - Metrics Core 翻譯
Metrics-Java版的指標(biāo)度量工具之一
Metrics-Java版的指標(biāo)度量工具之二
總結(jié)
以上是生活随笔為你收集整理的Metrics.NET 项目的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql根据时间戳查询指定日期内数据
- 下一篇: Git:配置