Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlushInterval time.Duration //interval to update prom metrics
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.