1load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 3go_library( 4 name = "metrics", 5 srcs = ["server.go"], 6 importpath = "edge-infra.dev/pkg/edge/ctlfish/metrics", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "@com_github_gin_gonic_gin//:gin", 10 "@com_github_prometheus_client_golang//prometheus", 11 "@com_github_prometheus_client_golang//prometheus/promauto", 12 "@com_github_prometheus_client_golang//prometheus/promhttp", 13 ], 14)