Documentation ¶
Index ¶
- func AddToManager(mgr manager.Manager) error
- type ThemeExporter
- type WebsiteExporter
- func (e *WebsiteExporter) AddToManager(mgr manager.Manager) error
- func (e *WebsiteExporter) Collect(ch chan<- prometheus.Metric)
- func (e *WebsiteExporter) Describe(ch chan<- *prometheus.Desc)
- func (e *WebsiteExporter) NeedLeaderElection() bool
- func (e *WebsiteExporter) Start(_ context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
AddToManager adds all metrics exporters for webhosting objects to the manager.
Types ¶
type ThemeExporter ¶
func (*ThemeExporter) AddToManager ¶
func (e *ThemeExporter) AddToManager(mgr manager.Manager) error
func (*ThemeExporter) Collect ¶
func (e *ThemeExporter) Collect(ch chan<- prometheus.Metric)
func (*ThemeExporter) Describe ¶
func (e *ThemeExporter) Describe(ch chan<- *prometheus.Desc)
func (*ThemeExporter) NeedLeaderElection ¶
func (e *ThemeExporter) NeedLeaderElection() bool
NeedLeaderElection tells the manager to run the exporter in all instances.
type WebsiteExporter ¶
func (*WebsiteExporter) AddToManager ¶
func (e *WebsiteExporter) AddToManager(mgr manager.Manager) error
func (*WebsiteExporter) Collect ¶
func (e *WebsiteExporter) Collect(ch chan<- prometheus.Metric)
func (*WebsiteExporter) Describe ¶
func (e *WebsiteExporter) Describe(ch chan<- *prometheus.Desc)
func (*WebsiteExporter) NeedLeaderElection ¶
func (e *WebsiteExporter) NeedLeaderElection() bool
NeedLeaderElection tells the manager to run the exporter in all instances.
Click to show internal directories.
Click to hide internal directories.