metrics

package
v8.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuthenticator

type BasicAuthenticator struct {
	// contains filtered or unexported fields
}

func (BasicAuthenticator) ServeHTTP

func (b BasicAuthenticator) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Exporter

type Exporter struct {
	Namespace        string
	TenantCount      int
	AgentCount       int
	TargetCount      int
	StoreCount       int
	JobCount         int
	TaskCount        int
	ArchiveCount     int
	StorageUsedCount int64

	Username string
	Password string
	Realm    string
	// contains filtered or unexported fields
}

func New

func New(endpoint *Exporter) *Exporter

func (*Exporter) Handler

func (e *Exporter) Handler() http.Handler

func (*Exporter) Inform

func (e *Exporter) Inform(mbus *bus.Bus)

func (*Exporter) Watch

func (e *Exporter) Watch(queues ...string)

Jump to

Keyboard shortcuts

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