Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrometheusCollector ¶
func NewPrometheusCollector(namespace string, labels map[string]string) func(string) hystrix_metric.MetricCollector
NewPrometheusCollector returns wrapper function returning an implemented struct from MetricCollector.
Types ¶
type PrometheusCollector ¶
PrometheusCollector is collecting information that is made from hystrix-go.
func (*PrometheusCollector) Reset ¶
func (c *PrometheusCollector) Reset()
Reset is to reset information (not call method).
func (*PrometheusCollector) Update ¶
func (c *PrometheusCollector) Update(r hystrix_metric.MetricResult)
Update is to update information from hystrix-go at this time.
Click to show internal directories.
Click to hide internal directories.