Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaosCollector ¶
type ChaosCollector struct { SidecarTemplates prometheus.Gauge ConfigTemplates *prometheus.GaugeVec InjectionConfigs *prometheus.GaugeVec TemplateNotExist *prometheus.CounterVec TemplateLoadError prometheus.Counter ConfigNameDuplicate *prometheus.CounterVec InjectRequired *prometheus.CounterVec Injections *prometheus.CounterVec // contains filtered or unexported fields }
ChaosCollector implements prometheus.Collector interface
func NewChaosCollector ¶
func NewChaosCollector(store cache.Cache, registerer prometheus.Registerer) *ChaosCollector
NewChaosCollector initializes metrics and collector
func (*ChaosCollector) Collect ¶
func (c *ChaosCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (*ChaosCollector) Describe ¶
func (c *ChaosCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
Click to show internal directories.
Click to hide internal directories.