collectors

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CFAuditEventCollectorErrorsTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "cf_audit_event_collector_errors_total",
		Help: "Number of errors encountered by CF Audit Event Collector",
	})

	CFAuditEventCollectorEventsCollectedTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "cf_audit_event_collector_events_collected_total",
		Help: "Number of events collected and saved to the DB by CF Audit Event Collector",
	})

	CFAuditEventCollectorEventsCollectDurationTotal = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "cf_audit_event_collector_collect_duration_total",
		Help: "Number of seconds spent collecting events by CF Audit Event Collector",
	})
)

Functions

This section is empty.

Types

type CFAuditEventCollector

type CFAuditEventCollector struct {
	// contains filtered or unexported fields
}

func NewCFAuditEventCollector

func NewCFAuditEventCollector(
	schedule time.Duration,
	logger lager.Logger,
	fetcher fetchers.CFAuditEventFetcher,
	eventDB db.EventDB,
) *CFAuditEventCollector

func (*CFAuditEventCollector) Run

Jump to

Keyboard shortcuts

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