Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultMetricsListenPort is the default port that the HTTP metrics endpoint will listen on DefaultMetricsListenPort = 8481 // DefaultMetricsListenAddress is the default address that the HTTP metrics endpoint will listen on DefaultMetricsListenAddress = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// ListenAddress is IP address from which the Application Metrics are available for pulling at /metrics
ListenAddress string `yaml:"listen_address,omitempty"`
// ListenPort is TCP Port from which the Application Metrics are available for pulling at /metrics
ListenPort int `yaml:"listen_port,omitempty"`
}
Options is a collection of Metrics Collection configurations
func (*Options) Initialize ¶
Click to show internal directories.
Click to hide internal directories.