metrics

package
Version: v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder struct {
	mock.Mock
}

Recorder is an autogenerated mock type for the Recorder type

func (*Recorder) AddInflightRequests added in v0.3.0

func (_m *Recorder) AddInflightRequests(ctx context.Context, props metrics.HTTPProperties, quantity int)

AddInflightRequests provides a mock function with given fields: ctx, props, quantity

func (*Recorder) ObserveHTTPRequestDuration

func (_m *Recorder) ObserveHTTPRequestDuration(ctx context.Context, props metrics.HTTPReqProperties, duration time.Duration)

ObserveHTTPRequestDuration provides a mock function with given fields: ctx, props, duration

func (*Recorder) ObserveHTTPResponseSize added in v0.2.0

func (_m *Recorder) ObserveHTTPResponseSize(ctx context.Context, props metrics.HTTPReqProperties, sizeBytes int64)

ObserveHTTPResponseSize provides a mock function with given fields: ctx, props, sizeBytes

Source Files

Jump to

Keyboard shortcuts

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