Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultServer ¶
Types ¶
type Config ¶
type Config struct { StartFile string EndFile string Listen string PromEndpoint string HealthEndpoint string LivenessEndpoint string HealthTimeout time.Duration LivenessTimeout time.Duration Welpenschutz time.Duration DirectoryTimeout time.Duration Namespace string Subsystem string LogJSON bool Debug bool }
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
func NewExporterWithLogger ¶
func (*Exporter) PromHandler ¶
func (x *Exporter) PromHandler(w http.ResponseWriter, r *http.Request)
PromHandler updates update_age just before handling scrape
func (*Exporter) WrapPromHandler ¶
Click to show internal directories.
Click to hide internal directories.