- 安装参考 http://www.mydlq.club/article/112/
- name 需要 在 metric_relabel_configs里:prometheus/prometheus#5200
- 磁盘利用率:
((node_filesystem_avail_bytes{fstype="xfs"} * 100) / node_filesystem_size_bytes{fstype="xfs"})
- 带宽
irate(node_network_transmit_bytes_total{device=~"eth0"}[5m]) * 8
- metric是采集proc/net/底下的文件得出 https://github.com/prometheus/node_exporter/blob/98a40bd712eaeb1fd3ee60ca37e4091c503d8e1c/collector/netdev_linux.go#L53
drop: Drop targets for which regex matches the concatenated source_labels.
所以配了drop a,drop b,都丢了。。。。:joy_cat:- k8s采集kubelet metric做pvc容量报警 https://yunlzheng.gitbook.io/prometheus-book/part-iii-prometheus-shi-zhan/readmd/use-prometheus-monitor-kubernetes