Cockroach Design 翻译 ( 十六) 节点和集群指标

来源:互联网 发布:nginx如何绑定域名 编辑:程序博客网 时间:2024/06/01 08:38

1  Node and Cluster Metrics节点和集群指标

Everycomponent of the system is responsible for exporting interesting metrics aboutitself. These could be histograms, throughput counters, orgauges.

系统的每个组件负责输出自己的感兴趣的指标。这些可能是柱状图、吞吐量计数器,或者计量仪。

These metricsare exported for external monitoring systems (such as Prometheus)via a HTTP endpoint, but CockroachDB also implements an internal timeseriesdatabase which is stored in the replicated key-value map.

这些指标输出给外部HTTP终端的监控系统(如:Prometheus,一种监控系统和时间序列数据库),当然CockroachDB也实现了一个内部时间序列数据库,其被存储在复制的K-V map中。

Time seriesare stored at Store granularity and allow the admin dashboard toefficiently gain visibility into a universe of information at the Cluster, Nodeor Store level. A periodic background process culls oldertimeseries data, downsampling and eventually discarding it.

时间序列以store粒度被存储,这使得管理员仪表盘可以高效地获得集群、节点、store各层面的统一信息的可视化。一个周期性后台进程会挑选较老的时间序列数据、下采样并最终丢弃它。(译注:downsampling,一种采样算法

0 0