Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ ApacheAddr: "http://localhost/server-status?auto", ApacheHostOverride: "", ApacheInsecure: false, }
DefaultConfig holds the default settings for the apache exporter
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ApacheAddr string `river:"scrape_uri,attr,optional"`
ApacheHostOverride string `river:"host_override,attr,optional"`
ApacheInsecure bool `river:"insecure,attr,optional"`
}
Config controls the apache exporter.
func (*Config) Convert ¶
func (c *Config) Convert() *apache_http.Config
func (*Config) UnmarshalRiver ¶
UnmarshalRiver implements River unmarshalling for Config.
Click to show internal directories.
Click to hide internal directories.