Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ShutdownTimeoutDefault is a default value for metrics HTTP service timeout. ShutdownTimeoutDefault = 30 * time.Second // AddressDefault is a default value for metrics HTTP service endpoint. AddressDefault = "localhost:9090" )
Variables ¶
This section is empty.
Functions ¶
func Address ¶
Address returns the value of "address" config parameter from "prometheus" section.
Returns AddressDefault if the value is not set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.