MCPcopy Create free account

hub / github.com/afex/hystrix-go / types & classes

Types & classes37 in github.com/afex/hystrix-go

StructCircuitBreaker
CircuitBreaker is created for each ExecutorPool to track whether requests should be attempted, or rejected if the Health of the circuit is too low.
hystrix/circuit.go:12
StructCircuitError
A CircuitError is an error which models various failure states of execution, such as the circuit being open or a timeout.
hystrix/hystrix.go:17
StructCommandConfig
CommandConfig is used to tune circuit settings at runtime
hystrix/settings.go:32
InterfaceDatadogClient
DatadogClient is the minimum interface needed by NewDatadogCollectorWithClient
plugins/datadog_collector.go:34
StructDatadogCollector
DatadogCollector fulfills the metricCollector interface allowing users to ship circuit stats to Datadog. This Collector, by default, uses github.com/
plugins/datadog_collector.go:61
StructDefaultMetricCollector
DefaultMetricCollector holds information about the circuit state. This implementation of MetricCollector is the canonical source of information about
hystrix/metric_collector/default_metric_collector.go:15
StructGraphiteCollector
GraphiteCollector fulfills the metricCollector interface allowing users to ship circuit stats to a graphite backend. To use users must call Initialize
plugins/graphite_aggregator.go:23
StructGraphiteCollectorConfig
GraphiteCollectorConfig provides configuration that the graphite client will need.
plugins/graphite_aggregator.go:38
InterfaceMetricCollector
MetricCollector represents the contract that all collectors must fulfill to gather circuit statistics. Implementations of this interface do not have t
hystrix/metric_collector/metric_collector.go:62
StructMetricResult
hystrix/metric_collector/metric_collector.go:42
StructNoopLogger
NoopLogger does not log anything.
hystrix/logger.go:8
StructNumber
Number tracks a numberBucket over a bounded number of time buckets. Currently the buckets are one second long and only the last 10 seconds are kept.
hystrix/rolling/rolling.go:10
StructSettings
hystrix/settings.go:23
StructStatsdCollector
StatsdCollector fulfills the metricCollector interface allowing users to ship circuit stats to a Statsd backend. To use users must call InitializeStat
plugins/statsd_collector.go:17
StructStatsdCollectorClient
plugins/statsd_collector.go:37
StructStatsdCollectorConfig
StatsdCollectorConfig provides configuration that the Statsd client will need.
plugins/statsd_collector.go:50
StructStreamHandler
StreamHandler publishes metrics for each command and each pool once a second to all connected HTTP client.
hystrix/eventstream.go:23
StructTiming
Timing maintains time Durations for each time bucket. The Durations are kept in an array to allow for a variety of statistics to be calculated from th
hystrix/rolling/rolling_timing.go:13
TypeAliasbyDuration
hystrix/rolling/rolling_timing.go:34
Structcommand
command models the state used for a single execution on a circuit. "hystrix command" is commonly used to describe the pairing of your run/fallback fun
hystrix/hystrix.go:27
StructcommandExecution
hystrix/metrics.go:11
StructeventStreamTestServer
hystrix/eventstream_test.go:16
StructexecutorPool
hystrix/pool.go:3
FuncTypefallbackFunc
func(error) error
hystrix/hystrix.go:11
FuncTypefallbackFuncC
func(context.Context, error) error
hystrix/hystrix.go:13
Interfacelogger
hystrix/logger.go:3
StructmetricCollectorRegistry
hystrix/metric_collector/metric_collector.go:17
StructmetricExchange
hystrix/metrics.go:18
StructnumberBucket
hystrix/rolling/rolling.go:15
StructpoolMetrics
hystrix/pool_metrics.go:9
StructpoolMetricsUpdate
hystrix/pool_metrics.go:18
FuncTyperunFunc
func() error
hystrix/hystrix.go:10
FuncTyperunFuncC
func(context.Context) error
hystrix/hystrix.go:12
StructstreamCmdLatency
hystrix/eventstream.go:291
StructstreamCmdMetric
hystrix/eventstream.go:240
StructstreamThreadPoolMetric
hystrix/eventstream.go:303
StructtimingBucket
hystrix/rolling/rolling_timing.go:21