prom

package
v0.5.0-beta5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 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 Instance

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

func New

func New(exportAddr string, exportPath string, option InstanceOption) *Instance

func (*Instance) CloseWithContext

func (instance *Instance) CloseWithContext(ctx context.Context) error

func (*Instance) Start

func (instance *Instance) Start()

type InstanceOption

type InstanceOption struct {
	Logger         *zap.Logger
	HealthReporter *health.StatusReporter
}

Jump to

Keyboard shortcuts

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