handler

package
v0.0.0-...-a38c984 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeoutDuration  = 30 * time.Second
	DefaultTimeOffset       = 500 * time.Millisecond // To Allow For Processing Time
	PrometheusTimeoutHeader = "X-Prometheus-Scrape-Timeout-Seconds"
)

Variables

This section is empty.

Functions

func NewIndexHandler

func NewIndexHandler() http.Handler

func NewProbeHandler

func NewProbeHandler(credentialsFile string, apiKey string, parallel bool, factory collector.Factory, pushGatewayUrl string, pushGatewayJob string, categories []string) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL