Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "prometheus-server" ShowName = "Prometheus Server" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
config.CommonFields
Address string `mapstructure:"address"` // The prometheus server address.
Endpoint string `mapstructure:"endpoint"` // The prometheus server metrics endpoint.
// contains filtered or unexported fields
}
func (*Server) DefaultConfig ¶
func (*Server) Description ¶
Click to show internal directories.
Click to hide internal directories.