Documentation ¶
Index ¶
Constants ¶
View Source
const ( Namespace = "aws_iam_authenticator" Malformed = "malformed_request" Invalid = "invalid_token" STSError = "sts_error" STSThrottling = "sts_throttling" 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.CounterVec StsResponses *prometheus.CounterVec DynamicFileFailures prometheus.Counter StsThrottling *prometheus.CounterVec E2ELatency *prometheus.HistogramVec DynamicFileEnabled prometheus.Gauge DynamicFileOnly prometheus.Gauge }
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.