prometheus

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonitorCommand

func MonitorCommand(cdc *wire.Codec) *cobra.Command

Types

type MetricsProvider

type MetricsProvider interface {
	Start(ctx app.Context)
}

type Monitor

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

func DefaultMonitor

func DefaultMonitor(ctx app.Context) *Monitor

func (*Monitor) AddMetricsProvider

func (m *Monitor) AddMetricsProvider(provider MetricsProvider) *Monitor

func (*Monitor) Start

func (m *Monitor) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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