noop

package
v0.0.0-...-7a5435a Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	ReqCounter    uint64
	SampleCounter uint64
	// contains filtered or unexported fields
}

func NewAdapter

func NewAdapter(port int) *Adapter

func (*Adapter) Handler

func (adapter *Adapter) Handler(rw http.ResponseWriter, req *http.Request)

Handler counts number of requests and samples

func (*Adapter) Start

func (adapter *Adapter) Start() error

Start starts no-op Prometheus adapter. This call will block go-routine

Jump to

Keyboard shortcuts

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