Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "k8s_api_audit"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogCollector ¶
type AuditLogCollector struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger micrologger.Logger) *AuditLogCollector
func (*AuditLogCollector) Collect ¶
func (c *AuditLogCollector) Collect(ch chan<- prometheus.Metric)
func (*AuditLogCollector) Describe ¶
func (c *AuditLogCollector) Describe(ch chan<- *prometheus.Desc)
func (*AuditLogCollector) Process ¶
func (c *AuditLogCollector) Process(event audit.Event)
Click to show internal directories.
Click to hide internal directories.