metrics

package
v0.0.0-...-d7985ca Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decorate

Decorate returns a new `CloudProvider` instance that will delegate all method calls to the argument, `cloudProvider`, and publish aggregated latency metrics. The value used for the metric label, "controller", is taken from the `Context` object passed to the methods of `CloudProvider`.

Do not decorate a `CloudProvider` multiple times or published metrics will contain duplicated method call counts and latencies.

Types

This section is empty.

Jump to

Keyboard shortcuts

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