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
Click to show internal directories.
Click to hide internal directories.