x/telemetry/config: enable data collection for crash/* counters, for gopls #65696
Labels
FrozenDueToAge
telemetry
x/telemetry issues
Telemetry-Accepted
Telemetry-Proposal
Issues proposing new telemetry counters.
Milestone
Counter names
crash/crash
crash/malformed
crash/no-running-goroutine
Description
crash/crash - compressed stack traces of running goroutines from unexpected crashes
crash/malformed - counter of failures to parse the stack trace
crash/no-running-goroutine - counter of stack traces that have no goroutine in "running" state (e.g. deadlock, lossy parse)
Rationale
The crash/crash stack counters are how we detect unexpected crashes (for any reason) in gopls, and any other Go-project tool that uses x/telemetry/crashmonitor. This helps us diagnose and fix bugs speedily, and assess their severity.
Do the counters carry sensitive user information?
No. In particular, the compressed stacks are generated by joining a list of program counters with the executable's symbol table, so there is no possibility of application data values being incorporated.
How?
https://pkg.go.dev/golang.org/x/telemetry/crashmonitor
Proposed Graph Config
(https://go.corp.google.com/go-telemetry-configuration)
New or Update
New
The text was updated successfully, but these errors were encountered: