Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/cli
/ NewFlowTracker
Function
NewFlowTracker
pkg/telemetry/events.go:99–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
97
}
98
99
func
NewFlowTracker() *FlowTracker {
100
return
&FlowTracker{start: time.Now()}
101
}
102
103
// SetStep records the step the flow is entering.
104
func
(f *FlowTracker) SetStep(step Step) {
Callers
15
TestTrackOAuthFlowOutcome
Function · 0.92
RunOAuthFlow
Function · 0.92
Run
Function · 0.92
TestTrackPlanChangeOutcome
Function · 0.92
TestTrackCreateOutcome
Function · 0.92
runCreateCmd
Function · 0.92
TestAuthCompleted
Function · 0.85
TestAuthAborted
Function · 0.85
TestAuthFailed
Function · 0.85
TestApplicationCreateCompleted
Function · 0.85
TestApplicationPlanChangeAborted_WithReason
Function · 0.85
TestApplicationPlanChangeAborted_WithoutReason
Function · 0.85
Calls
no outgoing calls
Tested by
12
TestTrackOAuthFlowOutcome
Function · 0.74
TestTrackPlanChangeOutcome
Function · 0.74
TestTrackCreateOutcome
Function · 0.74
TestAuthCompleted
Function · 0.68
TestAuthAborted
Function · 0.68
TestAuthFailed
Function · 0.68
TestApplicationCreateCompleted
Function · 0.68
TestApplicationPlanChangeAborted_WithReason
Function · 0.68
TestApplicationPlanChangeAborted_WithoutReason
Function · 0.68
TestApplicationCreateAborted_WithReason
Function · 0.68
TestApplicationPlanChangeCompleted
Function · 0.68
TestFlowTracker_TracksStepAndDuration
Function · 0.68