mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
dbc9686d15
* Add roughtime_offset_nsec metric. Log a warning if offset is greater than 2 seconds * gofmt * use math.abs, add help text * gofmt
16 lines
593 B
Python
16 lines
593 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["roughtime.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/roughtime",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/runutil:go_default_library",
|
|
"@com_github_cloudflare_roughtime//:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|