MCPcopy Create free account
hub / github.com/cli/cli / SetTelemetryRecorder

Method SetTelemetryRecorder

internal/gh/gh.go:327–327  ·  view source on GitHub ↗

SetTelemetryRecorder supplies the recorder used to report token refresh attempts. It is provided after construction because the telemetry service depends on configuration read through this AuthConfig.

(recorder ghtelemetry.InvocationRecorder)

Source from the content-addressed store, hash-verified

325 // SetTelemetryRecorder supplies the recorder used to report token refresh attempts. It is provided after
326 // construction because the telemetry service depends on configuration read through this AuthConfig.
327 SetTelemetryRecorder(recorder ghtelemetry.InvocationRecorder)
328
329 // SetTelemetryCommand sets the command path reported with token refresh attempts. It must never be a user-defined
330 // name, such as that of an extension or alias.

Implementers 1

AuthConfiginternal/config/config.go

Calls

no outgoing calls