Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/bug: add gopls/bug telemetry counter
This counter (tentatively named 'gopls/bug') will track and report the number of `report` calls. Since bug.Report* can be called in a type loop, we increment the stack counter only where this is the first exemplar, and after getting out of the critical section. Change-Id: I42ee385bd69bc148454a82c98f7d623d5c803907 Reviewed-on: https://go-review.googlesource.com/c/tools/+/513100 Reviewed-by: Robert Findley <rfindley@google.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
- Loading branch information