2022-08-26 00:05:39 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go-grpc-prometheus",
|
|
|
|
srcs = [
|
|
|
|
"client.go",
|
|
|
|
"client_metrics.go",
|
|
|
|
"client_reporter.go",
|
|
|
|
"metric_options.go",
|
|
|
|
"server.go",
|
|
|
|
"server_metrics.go",
|
|
|
|
"server_reporter.go",
|
|
|
|
"util.go",
|
|
|
|
],
|
|
|
|
importmap = "peridot.resf.org/vendor/github.com/grpc-ecosystem/go-grpc-prometheus",
|
|
|
|
importpath = "github.com/grpc-ecosystem/go-grpc-prometheus",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//vendor/github.com/prometheus/client_golang/prometheus",
|
2024-10-16 11:26:54 +00:00
|
|
|
"@org_golang_google_grpc//:grpc",
|
2022-08-26 00:05:39 +00:00
|
|
|
"@org_golang_google_grpc//codes",
|
|
|
|
"@org_golang_google_grpc//status",
|
|
|
|
"@org_golang_x_net//context",
|
|
|
|
],
|
|
|
|
)
|