wyukawa / hadoop_exporter

Hadoop exporter
Apache License 2.0
52 stars 64 forks source link

Fix for compiling error #7

Closed fnzv closed 6 years ago

fnzv commented 6 years ago
# command-line-arguments
./namenode_exporter.go:243:15: e.pnGcCount.Set undefined (type prometheus.Counter has no field or method Set)
./namenode_exporter.go:244:14: e.pnGcTime.Set undefined (type prometheus.Counter has no field or method Set)
./namenode_exporter.go:247:16: e.cmsGcCount.Set undefined (type prometheus.Counter has no field or method Set)
./namenode_exporter.go:248:15: e.cmsGcTime.Set undefined (type prometheus.Counter has no field or method Set)

and

# command-line-arguments
./namenode_exporter.go:243:16: e.cmsGcCount.Set undefined (type prometheus.Counter has no field or method Set)
./namenode_exporter.go:244:15: e.cmsGcTime.Set undefined (type prometheus.Counter has no field or method Set)
wyukawa commented 6 years ago

fixed in https://github.com/wyukawa/hadoop_exporter/pull/8