metrics

package
v0.5.22 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 6

Documentation

Index

Constants

View Source
const (
	Namespace = "aws_iam_authenticator"
	Malformed = "malformed_request"
	Invalid   = "invalid_token"
	STSError  = "sts_error"
	Unknown   = "uknown_user"
	Success   = "success"
)

Variables

This section is empty.

Functions

func InitMetrics added in v0.5.5

func InitMetrics(registerer prometheus.Registerer)

Types

type Metrics

type Metrics struct {
	ConfigMapWatchFailures       prometheus.Counter
	Latency                      *prometheus.HistogramVec
	EC2DescribeInstanceCallCount prometheus.Counter
	StsConnectionFailure         prometheus.Counter
	StsResponses                 *prometheus.CounterVec
	DynamicFileFailures          prometheus.Counter
}

Metrics are handles to the collectors for prometheus for the various metrics we are tracking.

func Get added in v0.5.5

func Get() Metrics

Jump to

Keyboard shortcuts

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