monitor

package
v0.0.0-...-43b7830 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RateMonitor

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

func NewRateMonitor

func NewRateMonitor() *RateMonitor

func (*RateMonitor) Inflight

func (m *RateMonitor) Inflight() int32

func (*RateMonitor) Rate

func (m *RateMonitor) Rate() float64

func (*RateMonitor) RequestAdd

func (m *RateMonitor) RequestAdd(n int64)

func (*RateMonitor) RequestEnd

func (m *RateMonitor) RequestEnd()

func (*RateMonitor) RequestStart

func (m *RateMonitor) RequestStart()

type ThroughputMonitor

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

func NewThroughputMonitor

func NewThroughputMonitor() *ThroughputMonitor

func (*ThroughputMonitor) RecordRequest

func (m *ThroughputMonitor) RecordRequest(n int64)

func (*ThroughputMonitor) RecordResponse

func (m *ThroughputMonitor) RecordResponse(n int64)

func (*ThroughputMonitor) RequestSize

func (m *ThroughputMonitor) RequestSize() int64

func (*ThroughputMonitor) ResponseSize

func (m *ThroughputMonitor) ResponseSize() int64

func (*ThroughputMonitor) Throughput

func (m *ThroughputMonitor) Throughput() float64

Jump to

Keyboard shortcuts

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