prometheus-pusher
prometheus-pusher copied to clipboard
collection jobs/exportes data and push to pushgateway
prometheus server 和 consul server 都在一个机房, 通过部署pushgateway+ pusher采集另外机房的数据 但是怎么配置pusher所在机房取到异地机房consul 中注册服务的信息呢?
i noticed when trying this out that this line https://github.com/yunlzheng/prometheus-pusher/blob/master/scrape/exporterscrape.go#L147 is filtering labels. could an option to added to specify prefixes via environment var, and maybe even allow a `*`...

能看懂中文么?我就不写英语了。 我使用docker-compose启动的prometheus-pusher。而且prometheus和pushgateway都搭建成功,但不知道为什么pushgateway看不到prometheus-pusher推送的任何metrics,是pusher没有UI界面吗?怎么才能知道pusher有没有搭建成功?找了好久,也找不到原因。
图片如下:  部署文件如下: ```yaml [root@prometheus pushgateway-pusher]# cat docker-compose.yml version: '2' services: prometheus-pusher: image: wisecity/prometheus-pusher:latest environment: PUSH_GATEWAY: http://192.168.10.30:9091 TZ: Asia/Shanghai volumes: - ./prom-conf:/etc/prom-conf/ ports: - "8080:8080" entrypoint: - /bin/prometheus_pusher - -config.file...