commons

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMetrics

func RegisterMetrics(registry prometheus.Registerer) error

Types

type MetricsRoundTripper

type MetricsRoundTripper struct {
	BaseRT http.RoundTripper
}

func (MetricsRoundTripper) Do

Do implements the aws.HTTPClient interface

func (MetricsRoundTripper) RoundTrip

func (mrt MetricsRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip implements an instrumented RoundTrip for AWS API calls

Jump to

Keyboard shortcuts

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