Skip to content

Commit 1fdb66f

Browse files
Use mod file to import dependencies
Signed-off-by: Mu Chen <[email protected]>
1 parent 4985ac2 commit 1fdb66f

File tree

537 files changed

+113
-256886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

537 files changed

+113
-256886
lines changed

Gopkg.lock

Lines changed: 0 additions & 185 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 30 deletions
This file was deleted.

collector/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/prometheus/client_golang/prometheus"
99
"github.com/prometheus/common/log"
10-
"github.com/spectrum-virtualize-exporter/utils"
1110
"github.com/tidwall/gjson"
11+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
1212
kingpin "gopkg.in/alecthomas/kingpin.v2"
1313
)
1414

collector/mdisk_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package collector
33
import (
44
"github.com/prometheus/client_golang/prometheus"
55
"github.com/prometheus/common/log"
6-
"github.com/spectrum-virtualize-exporter/utils"
76
"github.com/tidwall/gjson"
7+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
88
)
99

1010
const prefix_mdisk = "spectrum_mdisk_"

collector/mdiskgrp_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/prometheus/client_golang/prometheus"
77
"github.com/prometheus/common/log"
8-
"github.com/spectrum-virtualize-exporter/utils"
98
"github.com/tidwall/gjson"
9+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
1010
)
1111

1212
const prefix_mdiskgrp = "spectrum_mdiskgrp_"

collector/node_stats_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package collector
33
import (
44
"github.com/prometheus/client_golang/prometheus"
55
"github.com/prometheus/common/log"
6-
"github.com/spectrum-virtualize-exporter/utils"
76
"github.com/tidwall/gjson"
7+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
88
)
99

1010
const prefix_nodeStats = "spectrum_nodestats_"

collector/system_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/prometheus/client_golang/prometheus"
77
"github.com/prometheus/common/log"
8-
"github.com/spectrum-virtualize-exporter/utils"
98
"github.com/tidwall/gjson"
9+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
1010
)
1111

1212
const prefix_sys = "spectrum_system_"

collector/system_stats_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package collector
33
import (
44
"github.com/prometheus/client_golang/prometheus"
55
"github.com/prometheus/common/log"
6-
"github.com/spectrum-virtualize-exporter/utils"
76
"github.com/tidwall/gjson"
7+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
88
)
99

1010
const prefix_stats = "spectrum_systemstats_"

collector/volume_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package collector
33
import (
44
"github.com/prometheus/client_golang/prometheus"
55
"github.com/prometheus/common/log"
6-
"github.com/spectrum-virtualize-exporter/utils"
76
"github.com/tidwall/gjson"
7+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
88
)
99

1010
const prefix_volume = "spectrum_volume_"

collector/volume_copy_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package collector
33
import (
44
"github.com/prometheus/client_golang/prometheus"
55
"github.com/prometheus/common/log"
6-
"github.com/spectrum-virtualize-exporter/utils"
76
"github.com/tidwall/gjson"
7+
"github.ibm.com/ZaaS/spectrum-virtualize-exporter/utils"
88
)
99

1010
const prefix_volumeCopy = "spectrum_volume_copy"

0 commit comments

Comments
 (0)