MCPcopy Create free account

hub / github.com/afex/hystrix-go / functions

Functions164 in github.com/afex/hystrix-go

↓ 1 callersMethodtryFallback
(ctx context.Context, err error)
hystrix/hystrix.go:284
↓ 1 callersMethodunregister
(req *http.Request)
hystrix/eventstream.go:220
↓ 1 callersMethodupdateTimingMetric
(prefix string, i int64)
plugins/statsd_collector.go:142
FunctionBenchmarkRollingNumberIncrement
(b *testing.B)
hystrix/rolling/rolling_test.go:39
FunctionBenchmarkRollingNumberUpdateMax
(b *testing.B)
hystrix/rolling/rolling_test.go:49
FunctionConfigure
Configure applies settings for a set of circuits
hystrix/settings.go:51
FunctionDo
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
FunctionInitializeGraphiteCollector
InitializeGraphiteCollector creates the connection to the graphite server and should be called before any metrics are recorded.
plugins/graphite_aggregator.go:49
MethodLen
()
hystrix/rolling/rolling_timing.go:36
MethodLess
(i, j int)
hystrix/rolling/rolling_timing.go:38
FunctionNewDatadogCollector
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
FunctionNewGraphiteCollector
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
MethodPrintf
Printf does nothing.
hystrix/logger.go:11
MethodReset
Reset is a noop operation in this collector.
plugins/graphite_aggregator.go:109
MethodReset
Reset is a noop operation in this collector.
plugins/datadog_collector.go:156
MethodReset
Reset is a noop operation in this collector.
plugins/statsd_collector.go:173
MethodServeHTTP
(rw http.ResponseWriter, req *http.Request)
hystrix/eventstream.go:43
FunctionSetLogger
SetLogger configures the logger that will be used. This only applies to the hystrix package.
hystrix/settings.go:122
MethodSwap
(i, j int)
hystrix/rolling/rolling_timing.go:37
FunctionTestActiveCount
(t *testing.T)
hystrix/pool_test.go:24
FunctionTestAvg
(t *testing.T)
hystrix/rolling/rolling_test.go:25
FunctionTestClientCancelEventStream
(t *testing.T)
hystrix/eventstream_test.go:181
FunctionTestCloseCircuitAfterSuccess
(t *testing.T)
hystrix/hystrix_test.go:218
FunctionTestConfigureConcurrency
(t *testing.T)
hystrix/settings_test.go:10
FunctionTestConfigureRVT
(t *testing.T)
hystrix/settings_test.go:30
FunctionTestConfigureTimeout
(t *testing.T)
hystrix/settings_test.go:20
FunctionTestContextHandling
(t *testing.T)
hystrix/hystrix_test.go:392
FunctionTestDoC
(t *testing.T)
hystrix/hystrix_test.go:495
FunctionTestErrorPercent
(t *testing.T)
hystrix/metrics_test.go:26
FunctionTestEventStream
(t *testing.T)
hystrix/eventstream_test.go:150
FunctionTestFailAfterTimeout
(t *testing.T)
hystrix/hystrix_test.go:252
FunctionTestFailedFallback
(t *testing.T)
hystrix/hystrix_test.go:201
FunctionTestFallback
(t *testing.T)
hystrix/hystrix_test.go:39
FunctionTestFallbackAfterRejected
(t *testing.T)
hystrix/hystrix_test.go:313
FunctionTestForceOpenCircuit
(t *testing.T)
hystrix/hystrix_test.go:160
FunctionTestGetCircuit
(t *testing.T)
hystrix/circuit_test.go:15
FunctionTestGetCircuitSettings
(t *testing.T)
hystrix/settings_test.go:50
FunctionTestMax
(t *testing.T)
hystrix/rolling/rolling_test.go:10
FunctionTestMaxConcurrent
(t *testing.T)
hystrix/hystrix_test.go:123
FunctionTestMultithreadedGetCircuit
(t *testing.T)
hystrix/circuit_test.go:36
FunctionTestNilFallbackRunError
(t *testing.T)
hystrix/hystrix_test.go:186
FunctionTestOrdinal
(t *testing.T)
hystrix/rolling/rolling_timing_test.go:10
FunctionTestReportEventMultiThreaded
(t *testing.T)
hystrix/circuit_test.go:101
FunctionTestReportEventOpenThenClose
(t *testing.T)
hystrix/circuit_test.go:74
FunctionTestReturn
(t *testing.T)
hystrix/pool_test.go:10
FunctionTestReturnTicket
(t *testing.T)
hystrix/hystrix_test.go:369
FunctionTestReturnTicket_QuickCheck
(t *testing.T)
hystrix/hystrix_test.go:345
FunctionTestSampleRate
(t *testing.T)
plugins/statsd_collector_test.go:9
FunctionTestSleepWindowDefault
(t *testing.T)
hystrix/settings_test.go:40
FunctionTestSlowFallbackOpenCircuit
(t *testing.T)
hystrix/hystrix_test.go:279
FunctionTestSuccess
(t *testing.T)
hystrix/hystrix_test.go:14
FunctionTestThreadPoolStream
(t *testing.T)
hystrix/eventstream_test.go:252
FunctionTestTimeout
(t *testing.T)
hystrix/hystrix_test.go:70
FunctionTestTimeoutEmptyFallback
(t *testing.T)
hystrix/hystrix_test.go:96
MethodUpdate
(r metricCollector.MetricResult)
plugins/graphite_aggregator.go:94
MethodUpdate
(r metricCollector.MetricResult)
plugins/datadog_collector.go:117
MethodUpdate
(r metricCollector.MetricResult)
plugins/statsd_collector.go:149
MethodUpdate
(r MetricResult)
hystrix/metric_collector/default_metric_collector.go:131
Functionhandle
(w http.ResponseWriter, r *http.Request)
loadtest/service/main.go:77
Functioninit
()
loadtest/service/main.go:35
Functioninit
()
hystrix/circuit.go:28
Functioninit
()
hystrix/settings.go:44
Functionmain
()
loadtest/service/main.go:39
FunctionnewDefaultMetricCollector
(name string)
hystrix/metric_collector/default_metric_collector.go:35
← previous101–164 of 164, ranked by callers