github.com/prysmaticlabs/prysm@v1.4.4/shared/prometheus/BUILD.bazel (about)

     1  load("@prysm//tools/go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "content_negotiation.go",
     7          "logrus_collector.go",
     8          "service.go",
     9          "simple_server.go",
    10      ],
    11      importpath = "github.com/prysmaticlabs/prysm/shared/prometheus",
    12      visibility = ["//visibility:public"],
    13      deps = [
    14          "//shared:go_default_library",
    15          "@com_github_golang_gddo//httputil:go_default_library",
    16          "@com_github_prometheus_client_golang//prometheus:go_default_library",
    17          "@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
    18          "@com_github_prometheus_client_golang//prometheus/promhttp:go_default_library",
    19          "@com_github_sirupsen_logrus//:go_default_library",
    20      ],
    21  )
    22  
    23  go_test(
    24      name = "go_default_test",
    25      size = "small",
    26      srcs = [
    27          "logrus_collector_test.go",
    28          "service_test.go",
    29      ],
    30      embed = [":go_default_library"],
    31      deps = [
    32          "//shared:go_default_library",
    33          "//shared/testutil/assert:go_default_library",
    34          "//shared/testutil/require:go_default_library",
    35          "@com_github_sirupsen_logrus//:go_default_library",
    36      ],
    37  )