peridot/vendor/github.com/prometheus/procfs/BUILD.bazel
Mustafa Gezen 8176493bc0
Add grpc-middleware-prometheus and promhttp dependencies
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-08-31 20:06:02 +02:00

103 lines
2.8 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "procfs",
srcs = [
"arp.go",
"buddyinfo.go",
"cmdline.go",
"cpuinfo.go",
"cpuinfo_armx.go",
"cpuinfo_mipsx.go",
"cpuinfo_ppcx.go",
"cpuinfo_riscvx.go",
"cpuinfo_s390x.go",
"cpuinfo_x86.go",
"crypto.go",
"doc.go",
"fs.go",
"fscache.go",
"ipvs.go",
"kernel_random.go",
"loadavg.go",
"mdstat.go",
"meminfo.go",
"mountinfo.go",
"mountstats.go",
"net_conntrackstat.go",
"net_dev.go",
"net_ip_socket.go",
"net_protocols.go",
"net_sockstat.go",
"net_softnet.go",
"net_tcp.go",
"net_udp.go",
"net_unix.go",
"net_xfrm.go",
"netstat.go",
"proc.go",
"proc_cgroup.go",
"proc_cgroups.go",
"proc_environ.go",
"proc_fdinfo.go",
"proc_io.go",
"proc_limits.go",
"proc_maps.go",
"proc_netstat.go",
"proc_ns.go",
"proc_psi.go",
"proc_smaps.go",
"proc_snmp.go",
"proc_snmp6.go",
"proc_stat.go",
"proc_status.go",
"proc_sys.go",
"schedstat.go",
"slab.go",
"softirqs.go",
"stat.go",
"swaps.go",
"vm.go",
"zoneinfo.go",
],
importmap = "peridot.resf.org/vendor/github.com/prometheus/procfs",
importpath = "github.com/prometheus/procfs",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/prometheus/procfs/internal/fs",
"//vendor/github.com/prometheus/procfs/internal/util",
] + select({
"@io_bazel_rules_go//go/platform:aix": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:android": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:darwin": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:ios": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:linux": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:solaris": [
"//vendor/golang.org/x/sys/unix",
],
"//conditions:default": [],
}),
)