Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afex/hystrix-go
/ functions
Functions
164 in github.com/afex/hystrix-go
⨍
Functions
164
◇
Types & classes
37
↓ 1 callers
Method
tryFallback
(ctx context.Context, err error)
hystrix/hystrix.go:284
↓ 1 callers
Method
unregister
(req *http.Request)
hystrix/eventstream.go:220
↓ 1 callers
Method
updateTimingMetric
(prefix string, i int64)
plugins/statsd_collector.go:142
Function
BenchmarkRollingNumberIncrement
(b *testing.B)
hystrix/rolling/rolling_test.go:39
Function
BenchmarkRollingNumberUpdateMax
(b *testing.B)
hystrix/rolling/rolling_test.go:49
Function
Configure
Configure applies settings for a set of circuits
hystrix/settings.go:51
Function
Do
Do runs your function in a synchronous manner, blocking until either your function succeeds or an error is returned, including hystrix circuit errors
hystrix/hystrix.go:202
Function
InitializeGraphiteCollector
InitializeGraphiteCollector creates the connection to the graphite server and should be called before any metrics are recorded.
plugins/graphite_aggregator.go:49
Method
Len
()
hystrix/rolling/rolling_timing.go:36
Method
Less
(i, j int)
hystrix/rolling/rolling_timing.go:38
Function
NewDatadogCollector
NewDatadogCollector creates a collector for a specific circuit with a "github.com/DataDog/datadog-go/statsd".(*Client). addr is in the format "<host>
plugins/datadog_collector.go:89
Function
NewGraphiteCollector
NewGraphiteCollector creates a collector for a specific circuit. The prefix given to this circuit will be {config.Prefix}.{circuit_name}.{metric}. Cir
plugins/graphite_aggregator.go:56
Method
Printf
Printf does nothing.
hystrix/logger.go:11
Method
Reset
Reset is a noop operation in this collector.
plugins/graphite_aggregator.go:109
Method
Reset
Reset is a noop operation in this collector.
plugins/datadog_collector.go:156
Method
Reset
Reset is a noop operation in this collector.
plugins/statsd_collector.go:173
Method
ServeHTTP
(rw http.ResponseWriter, req *http.Request)
hystrix/eventstream.go:43
Function
SetLogger
SetLogger configures the logger that will be used. This only applies to the hystrix package.
hystrix/settings.go:122
Method
Swap
(i, j int)
hystrix/rolling/rolling_timing.go:37
Function
TestActiveCount
(t *testing.T)
hystrix/pool_test.go:24
Function
TestAvg
(t *testing.T)
hystrix/rolling/rolling_test.go:25
Function
TestClientCancelEventStream
(t *testing.T)
hystrix/eventstream_test.go:181
Function
TestCloseCircuitAfterSuccess
(t *testing.T)
hystrix/hystrix_test.go:218
Function
TestConfigureConcurrency
(t *testing.T)
hystrix/settings_test.go:10
Function
TestConfigureRVT
(t *testing.T)
hystrix/settings_test.go:30
Function
TestConfigureTimeout
(t *testing.T)
hystrix/settings_test.go:20
Function
TestContextHandling
(t *testing.T)
hystrix/hystrix_test.go:392
Function
TestDoC
(t *testing.T)
hystrix/hystrix_test.go:495
Function
TestErrorPercent
(t *testing.T)
hystrix/metrics_test.go:26
Function
TestEventStream
(t *testing.T)
hystrix/eventstream_test.go:150
Function
TestFailAfterTimeout
(t *testing.T)
hystrix/hystrix_test.go:252
Function
TestFailedFallback
(t *testing.T)
hystrix/hystrix_test.go:201
Function
TestFallback
(t *testing.T)
hystrix/hystrix_test.go:39
Function
TestFallbackAfterRejected
(t *testing.T)
hystrix/hystrix_test.go:313
Function
TestForceOpenCircuit
(t *testing.T)
hystrix/hystrix_test.go:160
Function
TestGetCircuit
(t *testing.T)
hystrix/circuit_test.go:15
Function
TestGetCircuitSettings
(t *testing.T)
hystrix/settings_test.go:50
Function
TestMax
(t *testing.T)
hystrix/rolling/rolling_test.go:10
Function
TestMaxConcurrent
(t *testing.T)
hystrix/hystrix_test.go:123
Function
TestMultithreadedGetCircuit
(t *testing.T)
hystrix/circuit_test.go:36
Function
TestNilFallbackRunError
(t *testing.T)
hystrix/hystrix_test.go:186
Function
TestOrdinal
(t *testing.T)
hystrix/rolling/rolling_timing_test.go:10
Function
TestReportEventMultiThreaded
(t *testing.T)
hystrix/circuit_test.go:101
Function
TestReportEventOpenThenClose
(t *testing.T)
hystrix/circuit_test.go:74
Function
TestReturn
(t *testing.T)
hystrix/pool_test.go:10
Function
TestReturnTicket
(t *testing.T)
hystrix/hystrix_test.go:369
Function
TestReturnTicket_QuickCheck
(t *testing.T)
hystrix/hystrix_test.go:345
Function
TestSampleRate
(t *testing.T)
plugins/statsd_collector_test.go:9
Function
TestSleepWindowDefault
(t *testing.T)
hystrix/settings_test.go:40
Function
TestSlowFallbackOpenCircuit
(t *testing.T)
hystrix/hystrix_test.go:279
Function
TestSuccess
(t *testing.T)
hystrix/hystrix_test.go:14
Function
TestThreadPoolStream
(t *testing.T)
hystrix/eventstream_test.go:252
Function
TestTimeout
(t *testing.T)
hystrix/hystrix_test.go:70
Function
TestTimeoutEmptyFallback
(t *testing.T)
hystrix/hystrix_test.go:96
Method
Update
(r metricCollector.MetricResult)
plugins/graphite_aggregator.go:94
Method
Update
(r metricCollector.MetricResult)
plugins/datadog_collector.go:117
Method
Update
(r metricCollector.MetricResult)
plugins/statsd_collector.go:149
Method
Update
(r MetricResult)
hystrix/metric_collector/default_metric_collector.go:131
Function
handle
(w http.ResponseWriter, r *http.Request)
loadtest/service/main.go:77
Function
init
()
loadtest/service/main.go:35
Function
init
()
hystrix/circuit.go:28
Function
init
()
hystrix/settings.go:44
Function
main
()
loadtest/service/main.go:39
Function
newDefaultMetricCollector
(name string)
hystrix/metric_collector/default_metric_collector.go:35
← previous
101–164 of 164, ranked by callers