Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhaseTiming ¶
type PhaseTiming struct {
Service string
Phase model.ServicePhase
Start time.Time
End time.Time
Duration time.Duration
}
PhaseTiming is the duration a service spent in/at a phase transition.
type ServiceTimings ¶
type ServiceTimings struct {
Service string
Phases []PhaseTiming
Total time.Duration
}
ServiceTimings aggregates per-service phase durations for a run.
func CaptureTimings ¶
func CaptureTimings(run *model.Run) []ServiceTimings
CaptureTimings derives per-phase timings from a recorded run's phase history.
Click to show internal directories.
Click to hide internal directories.