Documentation ¶
Index ¶
- func AddForwardedCounters(names []string, values []int64)
- func ForEachLatencyCounter(operation string, isError bool, f func(*counter.Counter))
- func Mode() string
- func RecordClientInfo(params *protocol.ParamInitialize)
- func RecordViewGoVersion(x int)
- func SetMode(mode string) error
- func StartLatencyTimer(operation string) func(context.Context, error)
- func Upload()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddForwardedCounters ¶
AddForwardedCounters adds the given counters on behalf of clients. Names and values must have the same length.
func ForEachLatencyCounter ¶
ForEachLatencyCounter runs the provided function for each current latency counter measuring the given operation.
Exported for testing.
func RecordClientInfo ¶
func RecordClientInfo(params *protocol.ParamInitialize)
RecordClientInfo records gopls client info.
func RecordViewGoVersion ¶
func RecordViewGoVersion(x int)
RecordViewGoVersion records the Go minor version number (1.x) used for a view.
func StartLatencyTimer ¶
StartLatencyTimer starts a timer for the gopls operation with the given name, and returns a func to stop the timer and record the latency sample.
If the context provided to the the resulting func is done, no observation is recorded.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
stacks
The stacks command finds all gopls stack traces reported by telemetry in the past 7 days, and reports their associated GitHub issue, creating new issues as needed.
|
The stacks command finds all gopls stack traces reported by telemetry in the past 7 days, and reports their associated GitHub issue, creating new issues as needed. |
Click to show internal directories.
Click to hide internal directories.