telemetry

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForEachLatencyCounter

func ForEachLatencyCounter(operation string, isError bool, f func(*counter.Counter))

ForEachLatencyCounter runs the provided function for each current latency counter measuring the given operation.

Exported for testing.

func StartLatencyTimer

func StartLatencyTimer(operation string) func(context.Context, error)

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL