Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeIndex ¶ added in v0.1.0
func ServeIndex(w http.ResponseWriter, req *http.Request)
ServeIndex serves index page
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is the type to be used to start HTTP server and run the analysis
func NewExporter ¶
NewExporter creates new Exporter
func (*Exporter) ServeHTTP ¶ added in v0.1.0
func (e *Exporter) ServeHTTP(w http.ResponseWriter, req *http.Request)
func (*Exporter) SetBasicAuth ¶ added in v0.6.0
SetBasicAuth sets Basic Auth credentials
func (*Exporter) SetIgnoreDirPaths ¶
SetIgnoreDirPaths sets paths to ignore
func (*Exporter) WriteToTextfile ¶ added in v0.3.0
WriteToTextfile writes the prometheus report to file
Click to show internal directories.
Click to hide internal directories.