controller

package
v0.20.16 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceMonitorModule name
	ServiceMonitorModule = "ServiceMonitor"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusController

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

PrometheusController controller for prometheus service discovery

func NewPrometheusController

func NewPrometheusController(conf *config.Config) *PrometheusController

NewPrometheusController new prometheus controller

func (*PrometheusController) Start

func (prom *PrometheusController) Start() error

Start to work update prometheus sd config

Jump to

Keyboard shortcuts

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