prometheus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePromCompressedRequest

func ParsePromCompressedRequest(r *http.Request) ([]byte, *handler.ParseError)

ParsePromCompressedRequest parses a snappy compressed request from Prometheus

Types

type RequestParams

type RequestParams struct {
	Timeout time.Duration
}

RequestParams are the arguments to a call

func ParseRequestParams

func ParseRequestParams(r *http.Request) (*RequestParams, error)

ParseRequestParams parses the input request parameters and provides useful defaults

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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