mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 14:11:25 +00:00
26 lines
776 B
Python
26 lines
776 B
Python
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",
|
|
"@org_golang_google_grpc//:grpc",
|
|
"@org_golang_google_grpc//codes",
|
|
"@org_golang_google_grpc//status",
|
|
"@org_golang_x_net//context",
|
|
],
|
|
)
|