telemetry

package
v0.0.0-...-c75c08f Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelemetryClient

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

TelemetryClient is the client to record metrics of the test.

func NewTelemetryClient

func NewTelemetryClient() *TelemetryClient

NewTelemetryClient creates new telemetry client.

func (*TelemetryClient) Init

func (t *TelemetryClient) Init()

Init initializes metrics pipeline and starts metrics http endpoint.

func (*TelemetryClient) RecordLoadRequestCount

func (t *TelemetryClient) RecordLoadRequestCount(actorType, actorID string, elapsed time.Duration, code int)

RecordLoadRequestCount records request count and latency.

Jump to

Keyboard shortcuts

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