Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ModuleName = "PROMETHEUS" Log = logrus.WithField( "module", ModuleName, ) // TODO: Just hardcoded, move to config ExposedPort string = "9080" EndpointUrl string = "metrics" MetricLoopInterval time.Duration = 15 * time.Second )
Functions ¶
This section is empty.
Types ¶
type PrometheusRunner ¶
func NewPrometheusRunner ¶
func NewPrometheusRunner() PrometheusRunner
func (*PrometheusRunner) Start ¶
func (c *PrometheusRunner) Start() error
Click to show internal directories.
Click to hide internal directories.