diff options
author | Adin Scannell <ascannell@google.com> | 2021-01-06 15:36:23 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-06 15:44:07 -0800 |
commit | fa8682da0fd43556ae0a405c02bac27e6d15a8e6 (patch) | |
tree | 7ff8382863d3f8b753589d93d119ce36efd20ac4 /website/cmd/server/BUILD | |
parent | f89af8b5045bfdcb24ce8cc74ed676d77c9e67a6 (diff) |
Export a pprof visualization endpoint.
This allows us to link directly to profiling results from
the build results. The code uses the standard pprof http
server, exported from the Cloud Run instance.
PiperOrigin-RevId: 350440910
Diffstat (limited to 'website/cmd/server/BUILD')
-rw-r--r-- | website/cmd/server/BUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/website/cmd/server/BUILD b/website/cmd/server/BUILD index 6b5a08f0d..e4cf91e07 100644 --- a/website/cmd/server/BUILD +++ b/website/cmd/server/BUILD @@ -7,4 +7,7 @@ go_binary( srcs = ["main.go"], pure = True, visibility = ["//website:__pkg__"], + deps = [ + "@com_github_google_pprof//driver:go_default_library", + ], ) |