Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/cli
/ Close
Method
Close
pkg/telemetry/telemetry.go:36–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
Identify(ctx context.Context) error
35
Track(ctx context.Context, event string, properties
map
[string]any) error
36
Close()
37
}
38
39
type
AnalyticsTelemetryClient
struct
{
Callers
15
ReadFile
Function · 0.65
Close
Method · 0.65
TestLogout_EmitsAuthLogoutBeforeClearingToken
Function · 0.65
closeTelemetry
Function · 0.65
TestRun_WithPlanFlag
Function · 0.65
TestRun_FreeTargetNotBilled
Function · 0.65
TestRun_BillingBlock
Function · 0.65
TestRun_ToSDeclineAborts
Function · 0.65
TestRun_NonInteractiveRequiresPlan
Function · 0.65
TestRun_InteractivePicker
Function · 0.65
TestRun_DryRunDoesNotCallAPI
Function · 0.65
TestRun_OfferCostManagementBudget
Function · 0.65
Implementers
4
AnalyticsTelemetryClient
pkg/telemetry/telemetry.go
NoOpTelemetryClient
pkg/telemetry/telemetry.go
RecordingClient
pkg/telemetry/telemetrytest/recording.
recordingTelemetryClient
pkg/cmd/root/root_test.go
Calls
no outgoing calls
Tested by
15
TestLogout_EmitsAuthLogoutBeforeClearingToken
Function · 0.52
TestRun_WithPlanFlag
Function · 0.52
TestRun_FreeTargetNotBilled
Function · 0.52
TestRun_BillingBlock
Function · 0.52
TestRun_ToSDeclineAborts
Function · 0.52
TestRun_NonInteractiveRequiresPlan
Function · 0.52
TestRun_InteractivePicker
Function · 0.52
TestRun_DryRunDoesNotCallAPI
Function · 0.52
TestRun_OfferCostManagementBudget
Function · 0.52
TestRun_FreePlanSkipsCostManagementBudget
Function · 0.52
TestRun_OutputJSON
Function · 0.52
TestRun_UpgradeFiltersToHigherPlans
Function · 0.52