metrics

package
v0.0.0-...-3056823 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdLabel

func GetCmdLabel(request *pdpb.Request) string

GetCmdLabel gets the request command label name for metrics.

func PrometheusPushClient

func PrometheusPushClient(job, addr string, interval time.Duration)

PrometheusPushClient pushs metrics to Prometheus Pushgateway.

Types

This section is empty.

Jump to

Keyboard shortcuts

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