Documentation ¶
Index ¶
Constants ¶
View Source
const ( TickRate = 1 * time.Millisecond MetricsRate = 1 * time.Second CollectRate = 50 * time.Millisecond ThresholdsRate = 2 * time.Second ShutdownTimeout = 10 * time.Second BackoffAmount = 50 * time.Millisecond BackoffMax = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { Executor lib.Executor Options lib.Options Collectors []lib.Collector NoThresholds bool NoSummary bool SummaryExport bool Metrics map[string]*stats.Metric MetricsLock sync.Mutex Samples chan stats.SampleContainer // contains filtered or unexported fields }
The Engine is the beating heart of K6.
Click to show internal directories.
Click to hide internal directories.