reporter

package
v0.0.0-...-fb3d230 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDogReporter

type DataDogReporter struct {
	// contains filtered or unexported fields
}

func NewDataDogReporter

func NewDataDogReporter(key, host, instanceIndex string, h HTTP) *DataDogReporter

func (*DataDogReporter) Report

func (r *DataDogReporter) Report(t *TestResult) error

type HTTP

type HTTP interface {
	Post(url string, contentType string, body io.Reader) (resp *http.Response, err error)
}

type TestResult

type TestResult struct {
	ReceivedLogCount uint64
	Delay            time.Duration
	Cycles           uint64
	TestStartTime    time.Time
}

func NewTestResult

func NewTestResult(test *sharedapi.Test, count uint64) *TestResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL