From fa8682da0fd43556ae0a405c02bac27e6d15a8e6 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Wed, 6 Jan 2021 15:36:23 -0800 Subject: 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 --- website/cmd/server/BUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'website/cmd/server/BUILD') 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", + ], ) -- cgit v1.2.3