Commit 26d7053 1 parent 66c6724 commit 26d7053 Copy full SHA for 26d7053
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
"github.com/kballard/go-shellquote"
9
9
"github.com/prometheus/client_golang/prometheus"
10
+ "github.com/prometheus/client_golang/prometheus/collectors"
10
11
"github.com/prometheus/client_golang/prometheus/promhttp"
11
12
"github.com/prometheus/common/version"
12
13
"github.com/prometheus/exporter-toolkit/web"
@@ -44,9 +45,9 @@ func main() {
44
45
45
46
if ! * disableExporterMetrics {
46
47
registry .MustRegister (
47
- prometheus .NewBuildInfoCollector (),
48
- prometheus .NewProcessCollector (prometheus .ProcessCollectorOpts {}),
49
- prometheus .NewGoCollector (),
48
+ collectors .NewBuildInfoCollector (),
49
+ collectors .NewProcessCollector (collectors .ProcessCollectorOpts {}),
50
+ collectors .NewGoCollector (),
50
51
version .NewCollector ("lvm_exporter" ),
51
52
)
52
53
}
You can’t perform that action at this time.
0 commit comments