Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afex/hystrix-go
/ types & classes
Types & classes
37 in github.com/afex/hystrix-go
⨍
Functions
164
◇
Types & classes
37
Struct
CircuitBreaker
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
Struct
CircuitError
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
Struct
CommandConfig
CommandConfig is used to tune circuit settings at runtime
hystrix/settings.go:32
Interface
DatadogClient
DatadogClient is the minimum interface needed by NewDatadogCollectorWithClient
plugins/datadog_collector.go:34
Struct
DatadogCollector
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
Struct
DefaultMetricCollector
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
Struct
GraphiteCollector
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
Struct
GraphiteCollectorConfig
GraphiteCollectorConfig provides configuration that the graphite client will need.
plugins/graphite_aggregator.go:38
Interface
MetricCollector
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
Struct
MetricResult
hystrix/metric_collector/metric_collector.go:42
Struct
NoopLogger
NoopLogger does not log anything.
hystrix/logger.go:8
Struct
Number
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
Struct
Settings
hystrix/settings.go:23
Struct
StatsdCollector
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
Struct
StatsdCollectorClient
plugins/statsd_collector.go:37
Struct
StatsdCollectorConfig
StatsdCollectorConfig provides configuration that the Statsd client will need.
plugins/statsd_collector.go:50
Struct
StreamHandler
StreamHandler publishes metrics for each command and each pool once a second to all connected HTTP client.
hystrix/eventstream.go:23
Struct
Timing
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
TypeAlias
byDuration
hystrix/rolling/rolling_timing.go:34
Struct
command
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
Struct
commandExecution
hystrix/metrics.go:11
Struct
eventStreamTestServer
hystrix/eventstream_test.go:16
Struct
executorPool
hystrix/pool.go:3
FuncType
fallbackFunc
func(error) error
hystrix/hystrix.go:11
FuncType
fallbackFuncC
func(context.Context, error) error
hystrix/hystrix.go:13
Interface
logger
hystrix/logger.go:3
Struct
metricCollectorRegistry
hystrix/metric_collector/metric_collector.go:17
Struct
metricExchange
hystrix/metrics.go:18
Struct
numberBucket
hystrix/rolling/rolling.go:15
Struct
poolMetrics
hystrix/pool_metrics.go:9
Struct
poolMetricsUpdate
hystrix/pool_metrics.go:18
FuncType
runFunc
func() error
hystrix/hystrix.go:10
FuncType
runFuncC
func(context.Context) error
hystrix/hystrix.go:12
Struct
streamCmdLatency
hystrix/eventstream.go:291
Struct
streamCmdMetric
hystrix/eventstream.go:240
Struct
streamThreadPoolMetric
hystrix/eventstream.go:303
Struct
timingBucket
hystrix/rolling/rolling_timing.go:21