aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stoke <me@arhat.dev>2020-06-12 10:26:30 +0200
committerJeffrey Stoke <me@arhat.dev>2020-06-12 10:26:30 +0200
commitcb7ab5119a07f2e3c80a4d1728fa7b6d07c650e6 (patch)
treeb3ab342ea455f9129610cb72c217d6e6bb7f35bd
parent594f417bdf6f49e145f1937af99e849377412354 (diff)
downloadprometheus_node_collector-cb7ab5119a07f2e3c80a4d1728fa7b6d07c650e6.tar.bz2
prometheus_node_collector-cb7ab5119a07f2e3c80a4d1728fa7b6d07c650e6.tar.xz
prometheus_node_collector-cb7ab5119a07f2e3c80a4d1728fa7b6d07c650e6.zip
Fix collectors' build tags
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
-rw-r--r--collector/drbd_linux.go2
-rw-r--r--collector/filesystem_linux_test.go2
-rw-r--r--collector/kvm_bsd.go2
-rw-r--r--collector/mountstats_linux.go2
-rw-r--r--collector/nfs_linux.go2
-rw-r--r--collector/nfsd_linux.go2
-rw-r--r--collector/perf_linux.go2
-rw-r--r--collector/schedstat_linux.go2
-rw-r--r--collector/sysctl_bsd.go2
-rw-r--r--collector/wifi_linux.go2
-rw-r--r--collector/xfs_linux.go2
-rw-r--r--collector/zfs_freebsd.go2
-rw-r--r--collector/zfs_linux.go2
-rw-r--r--collector/zfs_solaris.go1
14 files changed, 23 insertions, 4 deletions
diff --git a/collector/drbd_linux.go b/collector/drbd_linux.go
index 6815c5f..4beb31d 100644
--- a/collector/drbd_linux.go
+++ b/collector/drbd_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nodrbd
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/filesystem_linux_test.go b/collector/filesystem_linux_test.go
index 973cd14..e401779 100644
--- a/collector/filesystem_linux_test.go
+++ b/collector/filesystem_linux_test.go
@@ -11,8 +11,6 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nofilesystem
15
16package collector 14package collector
17 15
18import ( 16import (
diff --git a/collector/kvm_bsd.go b/collector/kvm_bsd.go
index b4e95e6..8798736 100644
--- a/collector/kvm_bsd.go
+++ b/collector/kvm_bsd.go
@@ -11,7 +11,7 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nomeminfo 14// +build !nokvm
15// +build freebsd dragonfly 15// +build freebsd dragonfly
16 16
17package collector 17package collector
diff --git a/collector/mountstats_linux.go b/collector/mountstats_linux.go
index 3fa1597..4102067 100644
--- a/collector/mountstats_linux.go
+++ b/collector/mountstats_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nomountstats
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/nfs_linux.go b/collector/nfs_linux.go
index 55f9e19..a540bb3 100644
--- a/collector/nfs_linux.go
+++ b/collector/nfs_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nonfs
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/nfsd_linux.go b/collector/nfsd_linux.go
index b6f2f8e..8cb1e05 100644
--- a/collector/nfsd_linux.go
+++ b/collector/nfsd_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nonfsd
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/perf_linux.go b/collector/perf_linux.go
index e452754..3a2f739 100644
--- a/collector/perf_linux.go
+++ b/collector/perf_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !noperf
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/schedstat_linux.go b/collector/schedstat_linux.go
index d2f04f6..9e5b744 100644
--- a/collector/schedstat_linux.go
+++ b/collector/schedstat_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !noshedstat
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/sysctl_bsd.go b/collector/sysctl_bsd.go
index 3038f41..a671bc2 100644
--- a/collector/sysctl_bsd.go
+++ b/collector/sysctl_bsd.go
@@ -12,7 +12,7 @@
12// limitations under the License. 12// limitations under the License.
13 13
14// +build freebsd dragonfly openbsd netbsd darwin 14// +build freebsd dragonfly openbsd netbsd darwin
15// +build !nomeminfo 15// +build cgo
16 16
17package collector 17package collector
18 18
diff --git a/collector/wifi_linux.go b/collector/wifi_linux.go
index 118e714..b4b3759 100644
--- a/collector/wifi_linux.go
+++ b/collector/wifi_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nowifi
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/xfs_linux.go b/collector/xfs_linux.go
index 77824c5..36dfff5 100644
--- a/collector/xfs_linux.go
+++ b/collector/xfs_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !noxfs
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/zfs_freebsd.go b/collector/zfs_freebsd.go
index a625bbc..92661e4 100644
--- a/collector/zfs_freebsd.go
+++ b/collector/zfs_freebsd.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nozfs
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/zfs_linux.go b/collector/zfs_linux.go
index e2c9749..2449c26 100644
--- a/collector/zfs_linux.go
+++ b/collector/zfs_linux.go
@@ -11,6 +11,8 @@
11// See the License for the specific language governing permissions and 11// See the License for the specific language governing permissions and
12// limitations under the License. 12// limitations under the License.
13 13
14// +build !nozfs
15
14package collector 16package collector
15 17
16import ( 18import (
diff --git a/collector/zfs_solaris.go b/collector/zfs_solaris.go
index bfda64f..1c0460c 100644
--- a/collector/zfs_solaris.go
+++ b/collector/zfs_solaris.go
@@ -12,6 +12,7 @@
12// limitations under the License. 12// limitations under the License.
13 13
14// +build solaris 14// +build solaris
15// +build !nozfs
15 16
16package collector 17package collector
17 18