拉取:pull。监控端联系被监控端,采集数据(相当于zabbix的被动监控)
推送:push。被监控端主动把数据发给监控端。在prometheus中,push的方式需要额外的组件pushgateway(相当于zabbix的主动监控)
被监控端根据自身运行的服务,可以运行不同的exporter(被监控端安装的、可以与Prometheus通信,实现数据传递的软件)
常用exporter列表:https://prometheus.io/docs/instrumenting/exporters/