summaryrefslogtreecommitdiffhomepage
path: root/pkg/metric/BUILD
diff options
context:
space:
mode:
authorEtienne Perot <eperot@google.com>2021-07-07 12:45:39 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-07 12:48:24 -0700
commitcd558fcb05c30bc08bbb9ba47755c2768fa33316 (patch)
tree55179a9aafee75963293ddd9eecf07f6df2e9d1d /pkg/metric/BUILD
parentb63631b46cd9b6b143a9d4a0f03e087b08d5123a (diff)
Sentry: Measure the time it takes to initialize the Sentry.
PiperOrigin-RevId: 383472507
Diffstat (limited to 'pkg/metric/BUILD')
-rw-r--r--pkg/metric/BUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/metric/BUILD b/pkg/metric/BUILD
index 0a6a5d215..c08792751 100644
--- a/pkg/metric/BUILD
+++ b/pkg/metric/BUILD
@@ -4,13 +4,16 @@ package(licenses = ["notice"])
go_library(
name = "metric",
- srcs = ["metric.go"],
+ srcs = [
+ "metric.go",
+ ],
visibility = ["//:sandbox"],
deps = [
":metric_go_proto",
"//pkg/eventchannel",
"//pkg/log",
"//pkg/sync",
+ "@org_golang_google_protobuf//types/known/timestamppb",
],
)
@@ -18,6 +21,9 @@ proto_library(
name = "metric",
srcs = ["metric.proto"],
visibility = ["//:sandbox"],
+ deps = [
+ "@com_google_protobuf//:timestamp_proto",
+ ],
)
go_test(