Versions in this module Expand all Collapse all v0 v0.31.1 Mar 16, 2021 v0.31.0 Mar 11, 2021 Changes in this version + const DataTypeAggregatedHTTPReqs + const DataTypeMap + const DataTypeSingle + const TestName + func New(params output.Params) (output.Output, error) + type AggregatedMetric struct + Avg float64 + Max float64 + Min float64 + func (am *AggregatedMetric) Add(t time.Duration) + func (am *AggregatedMetric) Calc(count float64) + type AggregatedRate struct + Count float64 + NzCount float64 + func (ar *AggregatedRate) Add(b bool) + func (ar AggregatedRate) IsDefined() bool + type Output struct + func (out *Output) AddMetricSamples(sampleContainers []stats.SampleContainer) + func (out *Output) Description() string + func (out *Output) PushMetric(referenceID string, noCompress bool, s []*Sample) error + func (out *Output) SetRunStatus(status lib.RunStatus) + func (out *Output) SetThresholds(scriptThresholds map[string]stats.Thresholds) + func (out *Output) Start() error + func (out *Output) Stop() error + type Sample struct + Data interface{} + Metric string + Type string + func NewSampleFromTrail(trail *httpext.Trail) *Sample + func (ct *Sample) UnmarshalJSON(p []byte) error + func (v *Sample) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v Sample) MarshalEasyJSON(w *jwriter.Writer) + type SampleDataAggregatedHTTPReqs struct + Count uint64 + Tags *stats.SampleTags + Time int64 + Type string + Values struct{ ... } + func (sdagg *SampleDataAggregatedHTTPReqs) Add(trail *httpext.Trail) + func (sdagg *SampleDataAggregatedHTTPReqs) CalcAverages() + func (v *SampleDataAggregatedHTTPReqs) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v SampleDataAggregatedHTTPReqs) MarshalEasyJSON(w *jwriter.Writer) + type SampleDataMap struct + Tags *stats.SampleTags + Time int64 + Type stats.MetricType + Values map[string]float64 + func (v *SampleDataMap) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v SampleDataMap) MarshalEasyJSON(w *jwriter.Writer) + type SampleDataSingle struct + Tags *stats.SampleTags + Time int64 + Type stats.MetricType + Value float64 + func (v *SampleDataSingle) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v SampleDataSingle) MarshalEasyJSON(w *jwriter.Writer)