kube-state-metrics-v2
Summary metrics about kube-state-metrics v2 version(https://github.com/kubernetes/kube-state-metrics); Referenced 6417
Prometheus job configuration(配置规范)
- job_name: k8s-kube-state-metrics-YourDefinedK8sClusterName(自定义的k8s集群名字)
honor_timestamps: true
metrics_path: /metrics
scheme: http
static_configs:
- targets: ['IP:PORT']
metric_relabel_configs:
- target_label: cluster
replacement: YourDefinedK8sClusterName(自定义的k8s集群名字)
Configuration in Grafana(在Grafana进行配置)
- Notice:
- 当import面板时,发现Import按钮无法点击,则可能是因为Grafana版本原因,将datasource内容删掉然后再填入,即可。
- 修改datasource的值为自己的所定义的数据源名字。
About Me
- 微信公众号:浪子小鬼 如果有机会,可以关注一下,希望我的思想也能被你看到,作为一种借鉴
- Github: garysdevil
- Email: adamgarysdevil@gmail.com
- 一位追求 计算机网络技术、金融投资、催眠学、生活享乐 的去中心化自由主义者
Dashboard revisions
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Decscription | Created | |
---|---|---|---|
Download |
Sign up for Grafana Cloud
Get this dashboard
Data source:
Dependencies: