Documentation ¶
Index ¶
Constants ¶
View Source
const ( CircuitState = "circuit_state" Attempts = "attempts" Errors = "errors" Successes = "successes" Failures = "failures" Rejects = "rejects" ShortCircuits = "short_circuits" Timeouts = "timeouts" FallbackSuccesses = "fallback_successes" FallbackFailures = "fallback_failures" ContextCanceled = "context_canceled" ContextDeadlineExceeded = "context_deadline_exceeded" TotalDuration = "total_duration" RunDuration = "run_duration" ConcurrencyInUse = "concurrency_in_use" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HystrixPrometheus ¶
type HystrixPrometheus struct {
// contains filtered or unexported fields
}
func Default ¶
func Default(gp *gp.GoPrometheus) *HystrixPrometheus
func New ¶
func New(gp *gp.GoPrometheus, config *Config) *HystrixPrometheus
func (*HystrixPrometheus) Middleware ¶
func (hp *HystrixPrometheus) Middleware(name string) metricCollector.MetricCollector
func (*HystrixPrometheus) Reset ¶
func (hpm *HystrixPrometheus) Reset()
func (*HystrixPrometheus) Update ¶
func (hp *HystrixPrometheus) Update(r metricCollector.MetricResult)
Click to show internal directories.
Click to hide internal directories.