Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server describe the metric server.
func NewMetricServer ¶
func NewMetricServer(c *Config, collectors ...prometheus.Collector) (*Server, error)
NewMetricServer get a new http server for metrics data.
Click to show internal directories.
Click to hide internal directories.