Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelKindRBACSyncConfig = "RBACSyncConfig" LabelKindClusterRBACSyncConfig = "ClusterRBACSyncConfig" LabelKindRoleBinding = "RoleBinding" LabelKindClusterRoleBinding = "ClusterRoleBinding" )
Variables ¶
View Source
var ( // Metrics for Controller RBACSyncConfigStatus = promauto.NewGaugeVec(prometheus.GaugeOpts{ Name: "rbacsync_config_status", Help: "The number of RBACSyncConfigs and RBACSyncClusterConfigs and the status of the processed config", }, []string{"kind", "status"}) RBACSyncBindingStatus = promauto.NewGaugeVec(prometheus.GaugeOpts{ Name: "rbacsync_binding_status", Help: "The number of RoleBindings and ClusterRoleBindings configured by the controller and their statuses", }, []string{"kind", "status"}) // Metrics for Mapper/GSuite RBACSyncGsuiteClientCreationStatus = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "rbacsync_gsuite_client_creation_status", Help: "Total number of the status of gsuite client creations", }, []string{"status"}) RBACSyncGsuiteMembersStatus = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "rbacsync_gsuite_members_status", Help: "Total number of the status of calls to gsuite with labels for state", }, []string{"status"}) RBACSyncGsuiteMembersLatency = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "rbacsync_gsuite_members_latency_duration_seconds", Help: "The amount of time the calls to gsuite for group memberships", }, []string{"status"}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.