Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Record
Method
Record
internal/gh/ghtelemetry/telemetry.go:18–18 ·
view source on GitHub ↗
(event Event)
Source
from the content-addressed store, hash-verified
16
17
type
EventRecorder
interface
{
18
Record(event Event)
19
Disabler
20
}
21
Callers
12
RecordTelemetry
Function · 0.65
promptInstall
Function · 0.65
recordListTelemetry
Function · 0.65
installRun
Function · 0.65
previewRun
Function · 0.65
TestNewServiceLogModeFlushesToWriter
Function · 0.65
TestNewServiceLogModeWithColorLogsToWriter
Function · 0.65
TestServiceDeviceIDFallback
Function · 0.65
TestServiceFlush
Function · 0.65
TestServiceSampling
Function · 0.65
TestWithAdditionalCommonDimensions
Function · 0.65
TestServiceDisable
Function · 0.65
Implementers
4
EventRecorderSpy
internal/telemetry/fake.go
CommandRecorderSpy
internal/telemetry/fake.go
service
internal/telemetry/telemetry.go
NoOpService
internal/telemetry/telemetry.go
Calls
no outgoing calls
Tested by
7
TestNewServiceLogModeFlushesToWriter
Function · 0.52
TestNewServiceLogModeWithColorLogsToWriter
Function · 0.52
TestServiceDeviceIDFallback
Function · 0.52
TestServiceFlush
Function · 0.52
TestServiceSampling
Function · 0.52
TestWithAdditionalCommonDimensions
Function · 0.52
TestServiceDisable
Function · 0.52