metrics

package
v0.0.0-...-7dfd596 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrorThrottle

func IsErrorThrottle(r custom.RequestInfo) bool

IsErrorThrottle returns whether the error is to be throttled based on its code. Returns false if the request has no Error set.

Alias for the utility function IsErrorThrottle

func RecordEBSMetric

func RecordEBSMetric(action, method, version string, timeTaken float64, err error)

func RecordEBSThrottlesMetric

func RecordEBSThrottlesMetric(action, method, version string)

func RegisterMetrics

func RegisterMetrics()

Types

This section is empty.

Jump to

Keyboard shortcuts

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