reporter

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlushInterval time.Duration //interval to update prom metrics

Functions

func GetDesc

func GetDesc(name string) string

GetDesc retrieve metric doc

func GetPrometheusSinker

func GetPrometheusSinker()

GetPrometheusSinker get prometheus configurations

func ReportMetricsToPrometheus

func ReportMetricsToPrometheus(cb *hystrix.CircuitBreaker) error

ReportMetricsToPrometheus report metrics to prometheus registry, you can use GetSystemPrometheusRegistry to get prometheus registry. by default chassis will report system metrics to prometheus

Types

This section is empty.

Jump to

Keyboard shortcuts

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