mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 18:21:20 +00:00
2a51ed3f39
* Request execution tracing initial commit * Resolve linter issues * Run gazelle * Make trace sampling configurable, clean up, update doc * Document trace span creation * Fix linter issue
22 lines
658 B
Python
22 lines
658 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["tracer.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/p2p/adapter/tracer",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/p2p:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@io_opencensus_go//exporter/jaeger:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["tracer_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//shared/p2p:go_default_library"],
|
|
)
|