metricserver

package
v1.10.15 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_PORT = 2112
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricServer

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

func New

func (*MetricServer) GetMeter

func (m *MetricServer) GetMeter(scope string) metric.Meter

func (*MetricServer) Shutdown

func (m *MetricServer) Shutdown() error

func (*MetricServer) Start

func (m *MetricServer) Start()

type MetricServerConfiguration

type MetricServerConfiguration func(*MetricServer) error

func WithPort

func WithPort(Port int) MetricServerConfiguration

Jump to

Keyboard shortcuts

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