Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultObjectives = map[float64]float64{
	0.5:  0.05,
	0.9:  0.01,
	0.99: 0.001,
}

    DefaultObjectives defines default percentiles for Summary (50th, 90th, 99th percentile)

    Functions

    This section is empty.

    Types

    type Metrics

    type Metrics interface {
    	prometheus.Registerer
    	prometheus.Gatherer
    
    	RegisterGRPC(*grpc.Server)
    	GRPCServerInterceptors() []grpc.ServerOption
    	GRPCClientInterceptors() []grpc.DialOption
    	BulkRegister(...prometheus.Collector) error
    }

    func NewMetrics

    func NewMetrics(zone string) (Metrics, error)

    Directories

    Path Synopsis