Documentation ¶
Overview ¶
Package expv2 contains a Cloud output using a Protobuf binary format for encoding payloads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct { output.SampleBuffer // contains filtered or unexported fields }
Output sends result data to the k6 Cloud service.
func (*Output) AddMetricSamples ¶
func (o *Output) AddMetricSamples(s []metrics.SampleContainer)
AddMetricSamples receives the samples streaming.
func (*Output) SetTestRunID ¶
SetTestRunID sets the Cloud's test run id.
func (*Output) SetTestRunStopCallback ¶
SetTestRunStopCallback receives the function that that stops the engine when it is called. It should be called on critical errors.
func (*Output) Start ¶
Start starts the goroutine that would listen for metric samples and send them to the cloud.
func (*Output) StopWithTestError ¶
StopWithTestError gracefully stops all metric emission from the output.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.