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)
func Initialized ¶ added in v0.5.11
func Initialized() bool
Initialized returns true if InitMetrics() has been called, and false otherwise.
Types ¶
type Metrics ¶
type Metrics struct { ConfigMapWatchFailures prometheus.Counter Latency *prometheus.HistogramVec EC2DescribeInstanceCallCount prometheus.Counter StsConnectionFailure prometheus.Counter StsResponses *prometheus.CounterVec }
Metrics are handles to the collectors for prometheus for the various metrics we are tracking.
Click to show internal directories.
Click to hide internal directories.