简单prometheus+grafana+pushgateway采集GPU利用率和交换机流量从https://prometheus.io/download/下载prometheus和pushgateway 下载后修改prometheus.yaml pushgateway需要设置honor_labels: true才能保留原来的job、instance等 然后启动:./prometheus --config.file=“./prometheus.yml” ./pushgateway 访问pushgateway:http://x.x.x.x:9091 查看pushgateway数据:http://x