MCPcopy
hub / github.com/cli/cli / SetSampleRate

Method SetSampleRate

internal/gh/ghtelemetry/telemetry.go:24–24  ·  view source on GitHub ↗
(rate int)

Source from the content-addressed store, hash-verified

22type CommandRecorder interface {
23 EventRecorder
24 SetSampleRate(rate int)
25}
26
27type Service interface {

Callers 3

NewCmdCopilotFunction · 0.65
NewCmdSkillsFunction · 0.65
TestServiceSamplingFunction · 0.65

Implementers 3

CommandRecorderSpyinternal/telemetry/fake.go
serviceinternal/telemetry/telemetry.go
NoOpServiceinternal/telemetry/telemetry.go

Calls

no outgoing calls

Tested by 1

TestServiceSamplingFunction · 0.52