eripa / prometheus-zfs

Prometheus Exporter for ZFS pools
MIT License
14 stars 6 forks source link

Unable to compile source undefined: prometheus.Handler #4

Open Alex1602 opened 4 years ago

Alex1602 commented 4 years ago

I get the following error doing a build:

[root@BuildServer prometheus-zfs]# env GOOS=linux GOARCH=amd64 go build -o bin/prometheus-zfs-linux

github.com/eripa/prometheus-zfs

./prometheus-zfs.go:113:33: undefined: prometheus.Handler

eripa commented 4 years ago

Hi @Alex1602

Thanks for checking out the project. This is however no longer being developed or maintained.

Please check out the ZFS exporter in the official node exporter https://github.com/prometheus/node_exporter

Alex1602 commented 4 years ago

the nodeexporter doesn't play nice unfortunately with smartos